Closed Bug 1198831 Opened 9 years ago Closed 9 years ago

JavaScript error: chrome://browser/content/tabbrowser.xml, line 4207: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener]

Categories

(Firefox :: Tabbed Browser, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 43
Tracking Status
firefox43 --- fixed

People

(Reporter: BenWa, Assigned: ttaubert)

Details

Attachments

(1 file)

I hit a leak when trying to land bug 1186662. This can be reproduced using: ./mach mochitest --e10s browser/base/content/test/general/browser_tab_drag_drop_perwindow.js You get: JavaScript error: chrome://browser/content/tabbrowser.xml, line 4207: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebProgress.removeProgressListener] This was coding my code afterwards to not run. For now I'm working around this by having my code run after this is thrown but we need to fix this properly.
Flags: needinfo?(jaws)
Assignee: nobody → ttaubert
Status: NEW → ASSIGNED
Flags: needinfo?(jaws)
Comment on attachment 8655483 [details] [diff] [review] 0001-Bug-1198831-Fix-browser_tab_drag_drop_perwindow.js-l.patch Review of attachment 8655483 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/tabbrowser.xml @@ +2472,5 @@ > > + let ourBrowser = this.getBrowserForTab(aOurTab); > + let otherBrowser = aOtherTab.linkedBrowser; > + > + // Can only swap docshells between browsers in the same process. How does this work when `dom.ipc.processCount` is greater than 1? The tabs won't necessarily be in the same process.
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #2) > > + // Can only swap docshells between browsers in the same process. > > How does this work when `dom.ipc.processCount` is greater than 1? The tabs > won't necessarily be in the same process. Hmm, that comment is misleading, I see. We can't swap frameLoaders when one is in the UI process and one is in a content process. With bug 918634 fixed we should be able to swap between two different content processes though.
Comment on attachment 8655483 [details] [diff] [review] 0001-Bug-1198831-Fix-browser_tab_drag_drop_perwindow.js-l.patch Review of attachment 8655483 [details] [diff] [review]: ----------------------------------------------------------------- ::: browser/base/content/tabbrowser.xml @@ +2472,5 @@ > > + let ourBrowser = this.getBrowserForTab(aOurTab); > + let otherBrowser = aOtherTab.linkedBrowser; > + > + // Can only swap docshells between browsers in the same process. r+ with this comment changed to: // Can't swap between chrome and content processes.
Attachment #8655483 - Flags: review?(jaws) → review+
(In reply to Jared Wein [:jaws] (please needinfo? me) from comment #4) > r+ with this comment changed to: > // Can't swap between chrome and content processes. Will do, thanks!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → Firefox 43
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: