summaryrefslogtreecommitdiff
path: root/base/content/tab-content.js
diff options
context:
space:
mode:
authorGaming4JC <g4jc@bulletmail.org>2018-10-20 19:09:40 -0400
committerGaming4JC <g4jc@bulletmail.org>2018-10-20 19:09:40 -0400
commitc4cbed0a687d22dece072f02a3d3cfbde1e85a70 (patch)
treedce9fa2683aaadbfe4f9eada3c99922d613ca9a7 /base/content/tab-content.js
parent89fdeb9a9dda2574263c7b447a8af113c515d8b0 (diff)
downloadiceweasel-uxp-4aeaff7680a671d387f6bd6fe2cbd94d8679178e.tar.gz
Remove some additonal Contextual Identity referencesv2.2
Diffstat (limited to 'base/content/tab-content.js')
-rw-r--r--base/content/tab-content.js27
1 files changed, 0 insertions, 27 deletions
diff --git a/base/content/tab-content.js b/base/content/tab-content.js
index 6d053dd..5a06c31 100644
--- a/base/content/tab-content.js
+++ b/base/content/tab-content.js
@@ -889,33 +889,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();
-
#ifdef MOZ_WEBEXTENSIONS
ExtensionContent.init(this);
addEventListener("unload", () => {