summaryrefslogtreecommitdiffstats
path: root/browser/base/content/content.js
diff options
context:
space:
mode:
authorjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 00:22:01 +0200
committerjanekptacijarabaci <janekptacijarabaci@seznam.cz>2018-05-01 00:22:01 +0200
commitcc4036a9cd56d504667c07fe215e61b22ab0e1f4 (patch)
tree5c7dea17ce684c1cce57011ef487370c22d0e677 /browser/base/content/content.js
parent855f11d8f6789bcf10442f8e426bfc1f66bf834d (diff)
downloadUXP-cc4036a9cd56d504667c07fe215e61b22ab0e1f4.tar
UXP-cc4036a9cd56d504667c07fe215e61b22ab0e1f4.tar.gz
UXP-cc4036a9cd56d504667c07fe215e61b22ab0e1f4.tar.lz
UXP-cc4036a9cd56d504667c07fe215e61b22ab0e1f4.tar.xz
UXP-cc4036a9cd56d504667c07fe215e61b22ab0e1f4.zip
Bug 1344706 - Do not reuse originPrincipal as triggeringPrincipal within utilityOverlay.js
Diffstat (limited to 'browser/base/content/content.js')
-rw-r--r--browser/base/content/content.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/browser/base/content/content.js b/browser/base/content/content.js
index 2298d29c7..46e9b45d6 100644
--- a/browser/base/content/content.js
+++ b/browser/base/content/content.js
@@ -522,6 +522,7 @@ var ClickEventHandler = {
} catch (e) {}
}
json.originPrincipal = ownerDoc.nodePrincipal;
+ json.triggeringPrincipal = ownerDoc.nodePrincipal;
sendAsyncMessage("Content:Click", json);
return;