Closed Bug 1368182 Opened 8 years ago Closed 8 years ago

Port non-e10s compatible parts of states/test_visibility.html

Categories

(Core :: Disability Access APIs, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: eeejay, Assigned: eeejay)

References

Details

Attachments

(1 file, 1 obsolete file)

The current test opens a couple of tabs, we can't do that from mochitests with e10s turned on.
MozReview-Commit-ID: 7AJraBDrPJX
Attachment #8871941 - Flags: review?(surkov.alexander)
Depends on: 1368103
MozReview-Commit-ID: 7AJraBDrPJX
Attachment #8871964 - Flags: review?(surkov.alexander)
Attachment #8871941 - Attachment is obsolete: true
Attachment #8871941 - Flags: review?(surkov.alexander)
Comment on attachment 8871964 [details] [diff] [review] Port non-e10s compatible parts of states/test_visibility.html to browser test. r?surkov Review of attachment 8871964 [details] [diff] [review]: ----------------------------------------------------------------- ::: accessible/tests/browser/states/browser_test_visibility.js @@ +30,5 @@ > + // first item is scrolled off now (testcase for bug 768786) > + let firstLi = getAcc("li_first"); > + testStates(firstLi, STATE_OFFSCREEN, 0, STATE_INVISIBLE); > + > + let newTab = await BrowserTestUtils.openNewForegroundTab(gBrowser); it'd be nice to move comment "// Accessibles in background tab should have offscreen state and no // invisible state." too ::: accessible/tests/mochitest/states/test_visibility.html @@ -16,3 @@ > src="../states.js"></script> > <script type="application/javascript" > src="../events.js"></script> no event.js should be required @@ -16,5 @@ > src="../states.js"></script> > <script type="application/javascript" > src="../events.js"></script> > <script type="application/javascript" > src="../browser.js"></script> and browser.js I suppose
Attachment #8871964 - Flags: review?(surkov.alexander) → review+
Pushed by eisaacson@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/e2cf349598c8 Port non-e10s compatible parts of states/test_visibility.html to browser test. r=surkov
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: