Closed Bug 1147035 Opened 10 years ago Closed 10 years ago

DeveloperToolbar.jsm uses gBrowser.contentDocument and gBrowser.contentWindow, which doesn't exist in e10s browsers

Categories

(DevTools :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(e10sm6+, firefox40 fixed)

RESOLVED FIXED
Firefox 40
Tracking Status
e10s m6+ ---
firefox40 --- fixed

People

(Reporter: mconley, Assigned: mconley)

References

Details

Attachments

(1 file)

Bug 1144149 will add contentDocumentAsCPOW and contentWindowAsCPOW shortcuts to gBrowser. When that happens, DeveloperToolbar.jsm should be updated to use that instead.
tracking-e10s: --- → ?
Assignee: nobody → mconley
Depends on: 1149262
Comment on attachment 8585646 [details] [diff] [review] Make DeveloperToolbar.jsm use the gBrowser.contentDocumentAsCPOW shortcut. r=? Review of attachment 8585646 [details] [diff] [review]: ----------------------------------------------------------------- Not even sure what this stuff does, I just know that in the remote browser case, gBrowser.contentDocument is very much null.
Attachment #8585646 - Flags: review?(past)
Comment on attachment 8585646 [details] [diff] [review] Make DeveloperToolbar.jsm use the gBrowser.contentDocumentAsCPOW shortcut. r=? Review of attachment 8585646 [details] [diff] [review]: ----------------------------------------------------------------- Thank you!
Attachment #8585646 - Flags: review?(past) → review+
No problem - thanks for the fast review! https://hg.mozilla.org/integration/fx-team/rev/1152f5ef0bc1
Whiteboard: [fixed-in-fx-team]
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 40
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: