Files under browser/components/preferences use gBrowser.contentDocument and gBrowser.contentWindow, which doesn't exist in e10s browsers

RESOLVED WORKSFORME

Status

()

P5
normal
RESOLVED WORKSFORME
3 years ago
5 months ago

People

(Reporter: mconley, Unassigned)

Tracking

(Blocks: 2 bugs)

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

Firefox Tracking Flags

(e10slater)

Details

(Reporter)

Description

3 years ago
Bug 1144149 will add contentDocumentAsCPOW and contentWindowAsCPOW shortcuts to gBrowser.

The files under browser/components/preferences 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:

browser/components/preferences/in-content/tests/browser_basic_rebuild_fonts_test.js
browser/components/preferences/in-content/tests/browser_bug1018066_resetScrollPosition.js
browser/components/preferences/in-content/tests/browser_bug1020245_openPreferences_to_paneContent.js
browser/components/preferences/in-content/tests/browser_connection.js
browser/components/preferences/in-content/tests/browser_connection_bug388287.js
browser/components/preferences/in-content/tests/browser_proxy_backup.js
browser/components/preferences/in-content/tests/browser_sanitizeOnShutdown_prefLocked.js
browser/components/preferences/in-content/tests/head.js
browser/components/preferences/tests/browser_chunk_permissions.js
browser/components/preferences/tests/browser_permissions.js
(Reporter)

Updated

3 years ago
tracking-e10s: ? → later
Priority: -- → P5

Updated

5 months ago
Status: NEW → RESOLVED
Last Resolved: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.