summaryrefslogtreecommitdiffstats
path: root/browser/base/content/content.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-10 12:31:01 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-10 12:31:01 +0200
commit0636d878a69ff79796c4c1550cac10a6fa9daeb4 (patch)
treea2e05c18fe304604d2e8282cbfa71bb56516c3b8 /browser/base/content/content.js
parent04b3d5178c893bfb794c0053e559133f413250e7 (diff)
downloadUXP-0636d878a69ff79796c4c1550cac10a6fa9daeb4.tar
UXP-0636d878a69ff79796c4c1550cac10a6fa9daeb4.tar.gz
UXP-0636d878a69ff79796c4c1550cac10a6fa9daeb4.tar.lz
UXP-0636d878a69ff79796c4c1550cac10a6fa9daeb4.tar.xz
UXP-0636d878a69ff79796c4c1550cac10a6fa9daeb4.zip
Bug 1449548.
Diffstat (limited to 'browser/base/content/content.js')
-rw-r--r--browser/base/content/content.js4
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;