Closed
Bug 1051783
Opened 11 years ago
Closed 11 years ago
OS X 10.6 mochitest-4 jobs contain "test_pointerlock-api.html | uncaught exception - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendMouseEvent] at specialpowersAPI.js:150"
Categories
(Core :: XPConnect, defect)
Tracking
()
RESOLVED
FIXED
mozilla34
People
(Reporter: emorley, Assigned: martijn.martijn)
References
()
Details
(Keywords: intermittent-failure)
Attachments
(1 file, 2 obsolete files)
1.33 KB,
patch
|
enndeakin
:
review+
|
Details | Diff | Splinter Review |
I've just noticed that there are failures within OS X 10.6 mochitest-4 jobs that are not turning the run orange.
This bug is for fixing the failures; I'll file another for fixing the harness to report this as a failure (likely another structured logging regression).
The failures started in:
https://tbpl.mozilla.org/?tree=Mozilla-Inbound&rev=c682a6b343ba&jobname=snow.*mochitest-4
https://tbpl.mozilla.org/php/getParsedLog.php?id=44078966&tree=Mozilla-Inbound
22:10:56 INFO - [POINTERLOCK] Starting file_retargetMouseEvents.html
22:10:56 INFO - [974] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/events/ContentEventHandler.cpp, line 110
22:10:56 INFO - [974] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/events/ContentEventHandler.cpp, line 110
22:10:56 INFO - [974] WARNING: Should have pointer locked element, but didn't.: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/events/EventStateManager.cpp, line 3638
22:10:56 INFO - [974] WARNING: Should have pointer locked element, but didn't.: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/events/EventStateManager.cpp, line 3638
22:10:56 INFO - 476 INFO TEST-UNEXPECTED-FAIL | /tests/dom/tests/mochitest/pointerlock/test_pointerlock-api.html | uncaught exception - NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendMouseEvent] at chrome://specialpowers/content/specialpowersAPI.js:150
22:10:56 INFO - JavaScript error: chrome://specialpowers/content/specialpowersAPI.js, line 150: NS_ERROR_FAILURE: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindowUtils.sendMouseEvent]
22:10:57 INFO - [974] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /builds/slave/m-in-osx64-d-00000000000000000/build/dom/events/ContentEventHandler.cpp, line 110
22:10:57 INFO - [POINTERLOCK] Finishing file_retargetMouseEvents.html
Marking with the intermittent-failure keyword so this shows up on TBPL (though it occurs on every 10.6 run, not just intermittently).
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(bobbyholley)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 3•11 years ago
|
||
Is this 10.6-only? If so, I don't think it's worth investigating. The regressing change (bug 1038844) is a change to the test harness only, so it's not likely that anything broke in the code we ship. Let's just disable the test on 10.6.
Flags: needinfo?(bobbyholley)
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 17•11 years ago
|
||
Another case where sendMouseEvent seems buggy on MacOSX 10.6 is bug 928678.
Comment hidden (Legacy TBPL/Treeherder Robot) |
Assignee | ||
Comment 19•11 years ago
|
||
It turns out that Lion and Mountain Lion also were already disabled for this test.
Attachment #8474401 -
Flags: review?(bobbyholley)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → martijn.martijn
Assignee | ||
Comment 20•11 years ago
|
||
I can reproduce this error also locally on my MacOS X 10.9.5 machine.
Assignee | ||
Updated•11 years ago
|
Attachment #8474401 -
Flags: review?(bobbyholley)
Assignee | ||
Comment 21•11 years ago
|
||
This skips the subtest that is causing this failure, this seems like a better interim solution for now.
Even better would be, to fix the failure, of course.
Attachment #8474401 -
Attachment is obsolete: true
Attachment #8474603 -
Flags: review?(bobbyholley)
Comment 22•11 years ago
|
||
This test is doing:
synthesizeMouseAtCenter(child, {type: "click"}, window);
yet 'click' isn't a real mouse event, it's a dom event fired as the result of a mousedown and mouseup. You can fix that line by doing:
synthesizeMouseAtCenter(child, {}, window);
which fires a mousedown event and mouseup and will generate the click event the test is expecting.
Assignee | ||
Comment 23•11 years ago
|
||
Thanks Neil, that makes the test indeed work.
Attachment #8474603 -
Attachment is obsolete: true
Attachment #8474603 -
Flags: review?(bobbyholley)
Attachment #8474611 -
Flags: review?(enndeakin)
Updated•11 years ago
|
Attachment #8474611 -
Flags: review?(enndeakin) → review+
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 24•11 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Comment hidden (Legacy TBPL/Treeherder Robot) |
Reporter | ||
Comment 26•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla34
Comment hidden (Legacy TBPL/Treeherder Robot) |
Comment 28•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/b0b83df25858
https://hg.mozilla.org/releases/mozilla-beta/rev/90b5e0b87666
https://hg.mozilla.org/releases/mozilla-esr31/rev/b13a138bd40a
https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/450e53add6a1
status-b2g-v1.4:
--- → fixed
status-b2g-v2.0:
--- → fixed
status-b2g-v2.1:
--- → fixed
status-firefox32:
--- → fixed
status-firefox33:
--- → fixed
status-firefox34:
--- → fixed
status-firefox-esr24:
--- → unaffected
status-firefox-esr31:
--- → fixed
Comment 29•11 years ago
|
||
Copy/paste error on Aurora. The proper rev was:
https://hg.mozilla.org/releases/mozilla-aurora/rev/610ce6c690f9
I had to back this out of b2g30 for adding an assertion: https://hg.mozilla.org/releases/mozilla-b2g30_v1_4/rev/4c2562fa8455
https://tbpl.mozilla.org/php/getParsedLog.php?id=46303736&tree=Mozilla-B2g30-v1.4
Flags: needinfo?(martijn.martijn)
Assignee | ||
Comment 31•11 years ago
|
||
Sorry, I didn't think of assertions this could have caused (I should have done a tryserver with this test fix first).
This is the assertion in question:
15:53:27 INFO - [989] ###!!! ASSERTION: Some mouse button down events are nested?: '!aDocument || !mMouseDownEventHandlingDocument', file /builds/slave/m-b30_14-osx64-d-0000000000000/build/dom/base/nsFocusManager.h, line 83
I don't think it's worth the effort to get this test working for b2g30. I mean, it was broken anyway. What do you think Neil?
Flags: needinfo?(martijn.martijn) → needinfo?(enndeakin)
Comment 32•11 years ago
|
||
I don't know what that error is, but bug 976673 removed that assertion.
Flags: needinfo?(enndeakin)
Same assert on ESR31 and Beta:
https://hg.mozilla.org/releases/mozilla-esr31/rev/033aafb7c2b2
https://hg.mozilla.org/releases/mozilla-beta/rev/ec5427a8e674
Comment 34•11 years ago
|
||
Definitely not worth spending any effort on IMO. Let's just wontfix the branches it fails on and get on with life.
You need to log in
before you can comment on or make changes to this bug.
Description
•