Convert all XUL plain mochitests to chrome mochitests
Categories
(Testing :: Mochitest, task)
Tracking
(firefox69 fixed)
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: bdahl, Assigned: bdahl)
References
Details
Attachments
(1 file, 1 obsolete file)
Similar to bug 1557371:
Two benefits:
-
Align test setup with shipping Firefox - We don't allow content privilege XUL in shipping versions of Firefox, so having the tests be chrome would be more realistic to our use case.
-
Support the XUL to XHTML migration. These files will soon become XHTML files, but will still need to load XUL elements, so they'll need to be marked as chrome privileged to continue working.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 1•6 years ago
|
||
Two benefits:
-
Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case. -
Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.
Assignee | ||
Comment 2•6 years ago
|
||
Two benefits:
-
Align test setup with shipping Firefox - We don't allow content
privilege XUL in shipping versions of Firefox, so having the tests be
chrome would be more realistic to our use case. -
Support the XUL to XHTML migration. These files will soon become XHTML
files, but will still need to load XUL elements, so they'll need to be
marked as chrome privileged to continue working.
Assignee | ||
Comment 3•6 years ago
|
||
I had a few failures that I thought were from another patch, but it was actually this patch causing the issue:
- test_focusrings.xul - was using innerHTML which was being sanitized now that it's run in chrome, I've changed it to use a doc fragment instead.
- test_bug486990.xul - relied on content priv behavior of disabling/enabling context menus. I've converted the text to XHTML and left it as a plain mochitest. Eventually we'll need to update this test if we turn off all XUL in content priv, but I'd like to punt on that for now.
- test_bug465448.xul - missed some path updates
Comment 6•6 years ago
|
||
Backed out changeset 7a0ba8a3de05 for mochitest-chrome failures.
Backout link: https://hg.mozilla.org/integration/autoland/rev/006079193c25dd1626f148fb54372e7f451068dc
Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=testfailed%2Cbusted%2Cexception&revision=7a0ba8a3de0562b4a39038007eef55d30f2952d5&selectedJob=253643037
Failure log:
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Looks like my second push to phabricator didn't update my initial phabricator review and I pushed the wrong one.
Comment 9•6 years ago
|
||
bugherder |
Description
•