Closed
Bug 1100664
Opened 10 years ago
Closed 9 years ago
Fix browser_minimize.js to not try to access content docshells sync (because e10s)
Categories
(Firefox :: Tabbed Browser, defect)
Firefox
Tabbed Browser
Tracking
()
RESOLVED
FIXED
Firefox 44
People
(Reporter: Gijs, Assigned: tracy)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
1.98 KB,
patch
|
jimm
:
review+
|
Details | Diff | Splinter Review |
This test was written for bug 648045, which needs to ensure that selected content docshells are marked inactive when the browser is minimized.
Understandably, it tries to use gBrowser.docShell, which is really gBrowser.mCurrentBrowser.docShell, which doesn't work in e10s. Predictable sadness ensues.
Flags: qe-verify-
Flags: in-testsuite+
Flags: firefox-backlog+
Reporter | ||
Updated•10 years ago
|
Summary: Fix browser_minimize.js to not try to access content docshells sync → Fix browser_minimize.js to not try to access content docshells sync (because e10s)
Reporter | ||
Comment 1•10 years ago
|
||
browser_tabs_isActive.js has the same issue:
function tabIsActive(tab) {
let browser = tab.linkedBrowser;
return browser.docShell.isActive;
}
which breaks because of the same reasons.
Summary: Fix browser_minimize.js to not try to access content docshells sync (because e10s) → Fix browser_minimize.js and browser_tabs_isActive.js to not try to access content docshells sync (because e10s)
Assignee | ||
Comment 3•9 years ago
|
||
I'll take a look at fixing this test case.
Assignee: nobody → twalker
Assignee | ||
Comment 4•9 years ago
|
||
Patch attached for updating browser/base/content/test/general/browser_minimize.js. Try run, https://treeherder.mozilla.org/#/jobs?repo=try&revision=8df11165a6ac, passed.
Note: /browser/base/content/test/general/browser_tabs_isActive.js was updated in bug 1199765 when jim added e10s support for querying of active state.
Attachment #8670208 -
Flags: review?(jmathies)
Updated•9 years ago
|
Attachment #8670208 -
Flags: review?(jmathies) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Summary: Fix browser_minimize.js and browser_tabs_isActive.js to not try to access content docshells sync (because e10s) → Fix browser_minimize.js to not try to access content docshells sync (because e10s)
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 44
Assignee | ||
Comment 7•9 years ago
|
||
Jim and I both failed to remove skip-if = e10s in the browser.ini for browser_minimize.js and browser_tabs_isActive.js
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 8•9 years ago
|
||
attaching a patch to enable the test cases
try run https://treeherder.mozilla.org/#/jobs?repo=try&revision=6116c237e0ba passed
Attachment #8671976 -
Flags: review?(jmathies)
Comment 9•9 years ago
|
||
Comment on attachment 8671976 [details] [diff] [review]
browser-ini.patch
thanks!
Attachment #8671976 -
Flags: review?(jmathies) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
Assignee | ||
Updated•9 years ago
|
Attachment #8670208 -
Attachment is obsolete: true
Comment 10•9 years ago
|
||
Keywords: checkin-needed
Comment 11•9 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•