Closed Bug 1239640 Opened 8 years ago Closed 7 years ago

Fix e10s test for context-menu

Categories

(Add-on SDK Graveyard :: General, defect)

defect
Not set
normal

Tracking

(e10s+)

RESOLVED INCOMPLETE
Tracking Status
e10s + ---

People

(Reporter: rpl, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: triaged)

STR:
- run mochitest on test-context-menu.js with the e10s flag:

     ./mach mochitest addon-sdk/source/test/test-context-menu.js --e10s

Expected result:
- the test file is able to complete its run when e10s is enabled

Actual result:
- test-context-menu.js fails to complete on e10s, and it gets stuck on the following test case:

TEST-START | jetpack-package/addon-sdk/source/test/test-context-menu.js.testPredicateContextSelectionInPage
More Background info:

"testPredicateContextSelectionInPage" calls an helper function called "test.showMenu", which should open the context menu and then it should call the callback parameter, but it never calls the callback and the test gets stuck.

Side notes:

- the above test case seems to use CPOWs to query document elements in the page and then select them.
- the test gets stuck on a testing helper which is used in other test cases from the same file,
  so probably there are other tests that will timeout and
  that are currently hidden by this one.
Blocks: e10s-tests
tracking-e10s: --- → +
Blocks: 1232643
Luca has these - so marking triaged to not see in triage each week =]
Whiteboard: triaged
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.