summaryrefslogtreecommitdiffstats
path: root/application/basilisk/base/content/tab-content.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2019-03-18 20:51:28 -0400
committerGaming4JC <g4jc@bulletmail.org>2019-03-18 20:51:28 -0400
commit1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d (patch)
tree0b09fca9ed0c1bfe73346ae1ac1a3ac68210d614 /application/basilisk/base/content/tab-content.js
parentd0b4eb41bb6ac08171c164187bf33e03c58d4749 (diff)
downloadUXP-1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d.tar
UXP-1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d.tar.gz
UXP-1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d.tar.lz
UXP-1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d.tar.xz
UXP-1f5194b5f1deb0f36b36ed886d94ce5f8b62ca9d.zip
Issue #756 - Remove Contextual Identity from Basilisk
Diffstat (limited to 'application/basilisk/base/content/tab-content.js')
-rw-r--r--application/basilisk/base/content/tab-content.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/application/basilisk/base/content/tab-content.js b/application/basilisk/base/content/tab-content.js
index 7441b2140..35ef8ceb2 100644
--- a/application/basilisk/base/content/tab-content.js
+++ b/application/basilisk/base/content/tab-content.js
@@ -886,33 +886,6 @@ var RefreshBlocker = {
RefreshBlocker.init();
-var UserContextIdNotifier = {
- init() {
- addEventListener("DOMWindowCreated", this);
- },
-
- uninit() {
- removeEventListener("DOMWindowCreated", this);
- },
-
- handleEvent(aEvent) {
- // When the window is created, we want to inform the tabbrowser about
- // the userContextId in use in order to update the UI correctly.
- // Just because we cannot change the userContextId from an active docShell,
- // we don't need to check DOMContentLoaded again.
- this.uninit();
-
- // We use the docShell because content.document can have been loaded before
- // setting the originAttributes.
- let loadContext = docShell.QueryInterface(Ci.nsILoadContext);
- let userContextId = loadContext.originAttributes.userContextId;
-
- sendAsyncMessage("Browser:WindowCreated", { userContextId });
- }
-};
-
-UserContextIdNotifier.init();
-
addMessageListener("AllowScriptsToClose", () => {
content.QueryInterface(Ci.nsIInterfaceRequestor)
.getInterface(Ci.nsIDOMWindowUtils)