Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Commit

Permalink
Bug 1126018 - [e10s] Add shim for window._content (r=mconley)
Browse files Browse the repository at this point in the history
  • Loading branch information
bill-mccloskey committed Jan 29, 2015
1 parent 63f21d7 commit 2bed324
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toolkit/components/addoncompat/RemoteAddonsParent.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -789,7 +789,10 @@ TabBrowserElementInterposition.getters.contentDocument = function(addon, target)
let ChromeWindowInterposition = new Interposition("ChromeWindowInterposition",
EventTargetInterposition);

ChromeWindowInterposition.getters.content = function(addon, target) {
// _content is for older add-ons like pinboard and all-in-one gestures
// that should be using content instead.
ChromeWindowInterposition.getters.content =
ChromeWindowInterposition.getters._content = function(addon, target) {
let browser = target.gBrowser.selectedBrowser;
if (!browser.contentWindowAsCPOW) {
return makeDummyContentWindow(browser);
Expand Down

0 comments on commit 2bed324

Please sign in to comment.