diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 11:12:17 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-05-12 11:12:17 +0200 |
commit | 0264de4c3b0f74fb35ac13f2726e7f926d705ea5 (patch) | |
tree | 431280b4b1e4bdce9c84f9f8609c2e3e4271649a /browser/base/content/content.js | |
parent | 99fe0b710994a063ba0d7408c61fb8e8a1463b9f (diff) | |
parent | 0636d878a69ff79796c4c1550cac10a6fa9daeb4 (diff) | |
download | UXP-0264de4c3b0f74fb35ac13f2726e7f926d705ea5.tar UXP-0264de4c3b0f74fb35ac13f2726e7f926d705ea5.tar.gz UXP-0264de4c3b0f74fb35ac13f2726e7f926d705ea5.tar.lz UXP-0264de4c3b0f74fb35ac13f2726e7f926d705ea5.tar.xz UXP-0264de4c3b0f74fb35ac13f2726e7f926d705ea5.zip |
Merge branch 'ported-upstream'
Diffstat (limited to 'browser/base/content/content.js')
-rw-r--r-- | browser/base/content/content.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/browser/base/content/content.js b/browser/base/content/content.js index 46e9b45d6..496e0d111 100644 --- a/browser/base/content/content.js +++ b/browser/base/content/content.js @@ -896,6 +896,7 @@ var LightWeightThemeWebInstallListener = { case "InstallBrowserTheme": { sendAsyncMessage("LightWeightThemeWebInstaller:Install", { baseURI: event.target.baseURI, + principal: event.target.nodePrincipal, themeData: event.target.getAttribute("data-browsertheme"), }); break; @@ -903,6 +904,7 @@ var LightWeightThemeWebInstallListener = { case "PreviewBrowserTheme": { sendAsyncMessage("LightWeightThemeWebInstaller:Preview", { baseURI: event.target.baseURI, + principal: event.target.nodePrincipal, themeData: event.target.getAttribute("data-browsertheme"), }); this._previewWindow = event.target.ownerGlobal; @@ -917,7 +919,7 @@ var LightWeightThemeWebInstallListener = { case "ResetBrowserThemePreview": { if (this._previewWindow) { sendAsyncMessage("LightWeightThemeWebInstaller:ResetPreview", - {baseURI: event.target.baseURI}); + {principal: event.target.nodePrincipal}); this._resetPreviewWindow(); } break; |