summaryrefslogtreecommitdiffstats
path: root/browser/base/content/content.js
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-05-12 11:12:17 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-05-12 11:12:17 +0200
commit0264de4c3b0f74fb35ac13f2726e7f926d705ea5 (patch)
tree431280b4b1e4bdce9c84f9f8609c2e3e4271649a /browser/base/content/content.js
parent99fe0b710994a063ba0d7408c61fb8e8a1463b9f (diff)
parent0636d878a69ff79796c4c1550cac10a6fa9daeb4 (diff)
downloadUXP-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.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;