Closed
Bug 1030357
Opened 11 years ago
Closed 10 years ago
Enable devtools/projecteditor tests with e10s
Categories
(DevTools Graveyard :: WebIDE, defect)
DevTools Graveyard
WebIDE
Tracking
(e10s+, firefox39 fixed)
RESOLVED
FIXED
Firefox 39
People
(Reporter: bgrins, Assigned: bgrins)
References
Details
(Whiteboard: [status:planned][e10s-m6])
Attachments
(2 files)
|
670 bytes,
patch
|
harth
:
review+
bgrins
:
checkin+
|
Details | Diff | Splinter Review |
|
724 bytes,
patch
|
ejpbruel
:
review+
|
Details | Diff | Splinter Review |
Looks like all of the tests are currently failing when running mach mochitest-devtools --e10s browser/devtools/projecteditor/:
0:18.89 TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/projecteditor/test/browser_projecteditor_app_options.js | uncaught exception - NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFocusManager.getFocusedElementForWindow] at chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js:1528
0:18.89 Stack trace:
0:18.89 JS frame :: chrome://mochikit/content/tests/SimpleTest/SimpleTest.js :: simpletestOnerror :: line 1345
0:18.89 JS frame :: chrome://mochikit/content/mochitest-e10s-utils.js :: e10s_init/< :: line 74
0:18.89 native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0
0:18.89 JavaScript error: chrome://mochikit/content/tests/SimpleTest/specialpowersAPI.js, line 1528: NS_ERROR_ILLEGAL_VALUE: Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIFocusManager.getFocusedElementForWindow]
Updated•11 years ago
|
tracking-e10s:
--- → +
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → bgrinstead
Status: NEW → ASSIGNED
Whiteboard: [status:planned]
| Assignee | ||
Comment 1•11 years ago
|
||
Current failures can be seen at https://tbpl.mozilla.org/?tree=Holly (for example: https://tbpl.mozilla.org/php/getParsedLog.php?id=46490101&tree=Holly&full=1)
| Assignee | ||
Comment 2•11 years ago
|
||
Just skips the tests for now, since they are failing on Holly. Pushed to try: https://tbpl.mozilla.org/?tree=Try&rev=ab1842664b62
Attachment #8479329 -
Flags: review?(fayearthur)
Updated•11 years ago
|
Attachment #8479329 -
Flags: review?(fayearthur) → review+
| Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed,
leave-open
Comment 3•11 years ago
|
||
Keywords: checkin-needed
Whiteboard: [status:planned] → [status:planned][fixed-in-fx-team]
Comment 4•11 years ago
|
||
Whiteboard: [status:planned][fixed-in-fx-team] → [status:planned]
| Assignee | ||
Updated•11 years ago
|
Attachment #8479329 -
Flags: checkin+
Comment 5•11 years ago
|
||
Moving DevTools test bugs to e10s milestone M7 (i.e. not blocking e10s merge to Aurora).
Updated•11 years ago
|
Whiteboard: [status:planned] → [status:planned][e10s-m7]
Updated•11 years ago
|
Whiteboard: [status:planned][e10s-m7] → [status:planned][e10s-m6]
| Assignee | ||
Comment 7•11 years ago
|
||
(In reply to Eddy Bruel [:ejpbruel] from comment #6)
> Hi Brian. What's the status on this bug?
The project editor works fine within the Web IDE when e10s is enabled, but unfortunately the tests are trickier to update than I was hoping.
Basically, in all the tests right now we end up passing a CPOW iframe into the ProjectEditor constructor: https://dxr.mozilla.org/mozilla-central/source/browser/devtools/projecteditor/test/head.js#117. It seems this is causing issues with detecting the load event on that object. To move this object into a frame script it seems like we would need to change all of this interfacing with the projecteditor object in the test suite to use some kind of message passing: https://dxr.mozilla.org/mozilla-central/search?q=path%3Abrowser%2Fdevtools%2Fprojecteditor%2Ftest+%22projecteditor.%22&redirect=true.
I hope I'm missing something obvious that would allow us to work around this, or at least to pass this object back and forth in with the frame script - but it's not JSON serializable (it has DOM nodes attached, for instance).
Flags: needinfo?(bgrinstead)
| Assignee | ||
Comment 8•11 years ago
|
||
Maybe we could change this to load the projecteditor URL to load into a toolbox like Patrick is doing with many of the shared/ tests in Bug 1034512.
| Assignee | ||
Comment 9•10 years ago
|
||
Oddly, this started working locally today when I ran it and try confirms: https://treeherder.mozilla.org/#/jobs?repo=try&revision=587048a4e34c
Attachment #8574174 -
Flags: review?(ejpbruel)
Comment 10•10 years ago
|
||
Comment on attachment 8574174 [details] [diff] [review]
enable-projecteditor-e10s.patch
Review of attachment 8574174 [details] [diff] [review]:
-----------------------------------------------------------------
I don't know why these tests suddenly started working. Most likely this is due recent change to the platform.
Since everything looks ok on try, I see no reason not to land these.
Attachment #8574174 -
Flags: review?(ejpbruel) → review+
| Assignee | ||
Updated•10 years ago
|
Keywords: leave-open → checkin-needed
Comment 11•10 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [status:planned][e10s-m6] → [status:planned][e10s-m6][fixed-in-fx-team]
Comment 12•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [status:planned][e10s-m6][fixed-in-fx-team] → [status:planned][e10s-m6]
Target Milestone: --- → Firefox 39
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•