From 0636d878a69ff79796c4c1550cac10a6fa9daeb4 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 10 May 2018 12:31:01 +0200 Subject: Bug 1449548. --- browser/base/content/content.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'browser/base/content/content.js') 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; -- cgit v1.2.3