Closed
Bug 973560
Opened 10 years ago
Closed 9 years ago
Mutt test 'testController/testExpectedEvents.js' fails under xvfb with 'TypeError: callback is not a function'
Categories
(Testing Graveyard :: Mozmill, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: whimboo, Unassigned, Mentored)
References
()
Details
(Whiteboard: [lang=js])
Running Mozmill under xvfb on Linux on display 99 always causes the following test to fail: $ DISPLAY=0:99 time mozmill -b /mozilla/bin/nightly/firefox -t mutt/mutt/tests/js/testController/testExpectedEvents.js Failure: ERROR | Test Failure | { "exception": { "message": "MozMillElement.mouseEvent() contextmenu event fired", "lineNumber": 24, "name": "Error", "fileName": "resource://mozmill/stdlib/EventUtils.js" } } TEST-UNEXPECTED-FAIL | /mozilla/code/mozmill/mutt/mutt/tests/js/testController/testExpectedEvents.js | test TEST-END | /mozilla/code/mozmill/mutt/mutt/tests/js/testController/testExpectedEvents.js | finished in 207ms CRITICAL | Framework Failure | { "message": "[JavaScript Error: \"MozMillElement.mouseEvent() contextmenu event target \" {file: \"resource://mozmill/stdlib/EventUtils.js\" line: 24}]" } !!! error running onStopped callback: TypeError: callback is not a function
Reporter | ||
Comment 1•10 years ago
|
||
The code fails here: https://github.com/mozilla/mozmill/blob/hotfix-2.0/mozmill/mozmill/extension/resource/stdlib/EventUtils.js#L22
Updated•10 years ago
|
Whiteboard: [mentor=whimboo][lang=js] → [mentor=whimboo][lang=js][good first bug]
Reporter | ||
Comment 2•10 years ago
|
||
Not sure why this should be a good first bug. Please ask the owners of a component before you do those changes. Thanks.
Whiteboard: [mentor=whimboo][lang=js][good first bug] → [mentor=whimboo][lang=js]
Comment 3•10 years ago
|
||
I see this occasionally, usually when a test has failed for some other reason and hasn't done its final cleanup. As far as I can tell, it's coming from httpd.js (we have several copies in the tree; see http://dxr.mozilla.org/mozilla-central/search?q=%22error+running+onStopped+callback%22&case=true). When xpcshell is shutting down, the socket in use by httpd.js is automatically closed, and httpd.js gets the shutdown notification. httpd.js tries to call back to a listener waiting for the async shutdown, but in this case nobody has called httpserver.stop(aCallback), so there is nothing to call.
Assignee | ||
Updated•10 years ago
|
Mentor: hskupin
Whiteboard: [mentor=whimboo][lang=js] → [lang=js]
Reporter | ||
Comment 4•9 years ago
|
||
Mozmill will reach its end of life soon. We are currently working on getting all the tests for Firefox ported to Marionette. For status updates please see bug 1080766.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
Assignee | ||
Updated•8 years ago
|
Product: Testing → Testing Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•