testing/mochitest/chrome/test_sanityEventUtils.xhtml fails with --headless, passes without
Categories
(Testing :: Mochitest, defect)
Tracking
(firefox85 fixed)
Tracking | Status | |
---|---|---|
firefox85 | --- | fixed |
People
(Reporter: hexagonrecursion, Assigned: hexagonrecursion)
Details
Attachments
(1 file)
Headless
./mach test --headless testing/mochitest/chrome/test_sanityEventUtils.xhtml
Overall Summary
===============
mochitest-chrome
~~~~~~~~~~~~~~~~
Ran 2 checks (1 subtests, 1 tests)
Expected results: 1
Unexpected results: 1
subtest: 1 (1 fail)
Unexpected Results
------------------
testing/mochitest/chrome/test_sanityEventUtils.xhtml
FAIL uncaught exception - NS_ERROR_XPC_GS_RETURNED_FAILURE: ServiceManager::GetService returned failure code: at synthesizeDrop@chrome://mochikit/content/tests/SimpleTest/EventUtils.js:2753:56
test@chrome://mochitests/content/chrome/testing/mochitest/chrome/test_sanityEventUtils.xhtml:109:16
simpletestOnerror@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:2112:18
Not headless
./mach test testing/mochitest/chrome/test_sanityEventUtils.xhtml
Overall Summary
===============
mochitest-chrome
~~~~~~~~~~~~~~~~
Ran 19 checks (18 subtests, 1 tests)
Expected results: 19
Unexpected results: 0
OK
Assignee | ||
Comment 1•4 years ago
|
||
Based on the above stack trace this is the failing line:
var ds = _EU_Cc["@mozilla.org/widget/dragservice;1"].getService(
_EU_Ci.nsIDragService
);
Assignee | ||
Comment 2•4 years ago
|
||
What I found out so far
-
The headless mode uses a separate "widget backend" located in widget/headless.
-
There are 3 backends that have nsDragService.h
widget/cocoa/nsDragService.h
widget/gtk/nsDragService.h
widget/windows/nsDragService.h -
There is currently no widget/headless/nsDragService.h
Assignee | ||
Comment 3•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Comment 4•4 years ago
|
||
I added a patch to mark this test as failing in the headless mode. After it lands (if it does) I should be removed as an assignee because I currently have no plans of implementing nsDragService for the headless mode.
Comment 5•4 years ago
|
||
I think we can let the bug resolve itself after this lands since this test doesn't make sense to run in headless mode anyway.
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/bd6a5134912f Mark testing/mochitest/chrome/test_sanityEventUtils.xhtml as failing in the headless mode r=ahal DONTBUILD
Comment 7•4 years ago
|
||
bugherder |
Description
•