Files under docshell/test use gBrowser.contentDocument and gBrowser.contentWindow, which doesn't exist in e10s browsers

NEW
Unassigned

Status

()

Core
Document Navigation
P5
normal
3 years ago
2 years ago

People

(Reporter: mconley, Unassigned)

Tracking

(Blocks: 2 bugs)

Trunk
x86
Mac OS X
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(e10slater)

Details

Bug 1144149 will add contentDocumentAsCPOW and contentWindowAsCPOW shortcuts to gBrowser.

The files under docshell/test/browser should be updated to use those instead.

Note that as all instances are tests, Mochitest will take advantage of the add-on shims, and will get gBrowser.contentWindow and gBrowser.contentDocument as expected. We should just migrate them over eventually before we start dialing back the shims.

Files using gBrowser.contentDocument or gBrowser.contentWindow:

docshell/test/browser/browser_bug134911.js
docshell/test/browser/browser_bug234628-1.js
docshell/test/browser/browser_bug234628-10.js
docshell/test/browser/browser_bug234628-11.js
docshell/test/browser/browser_bug234628-2.js
docshell/test/browser/browser_bug234628-3.js
docshell/test/browser/browser_bug234628-4.js
docshell/test/browser/browser_bug234628-5.js
docshell/test/browser/browser_bug234628-6.js
docshell/test/browser/browser_bug234628-7.js
docshell/test/browser/browser_bug234628-8.js
docshell/test/browser/browser_bug234628-9.js
docshell/test/browser/browser_bug852909.js
docshell/test/browser/browser_bug92473.js
More under docshell/test/chrome:

docshell/test/chrome/bug215405_window.xul
docshell/test/chrome/bug364461_window.xul
Summary: Files under docshell/test/browser use gBrowser.contentDocument and gBrowser.contentWindow, which doesn't exist in e10s browsers → Files under docshell/test use gBrowser.contentDocument and gBrowser.contentWindow, which doesn't exist in e10s browsers
tracking-e10s: ? → later
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.