Closed
Bug 1261158
Opened 8 years ago
Closed 8 years ago
Convert image/test/mochitest/chrome.ini mochitests to something other than mochitest-chrome where appropriate
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
FIXED
mozilla48
People
(Reporter: kats, Assigned: kats)
References
(Blocks 1 open bug)
Details
Attachments
(16 files, 16 obsolete files)
The tests in image/test/mochitest/chrome.ini generally look like they should run in both the parent and child process in an e10s environment. However, they are currently chrome mochitests, and so the never really run in the child process. We should convert them to mochitest-plain or browser-chrome tests instead.
Assignee | ||
Comment 1•8 years ago
|
||
This one was relatively easy
Assignee | ||
Comment 2•8 years ago
|
||
Little bit harder, but SpecialPowers.wrap to the rescue!
Assignee | ||
Comment 3•8 years ago
|
||
test_animation.html and test_animation2.html are disabled, so I left those alone. test_background_image_anim.html and test_bullet_animation.html were easy to convert. test_bug415761.html seems a bit harder, since it does some stuff with file copying, and I'm not sure how that will work with http:// URIs instead of chrome:// URIs. It's probably easier to convert it to a reftest instead.
Assignee | ||
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
Assignee | ||
Comment 6•8 years ago
|
||
Assignee | ||
Comment 7•8 years ago
|
||
Assignee | ||
Comment 8•8 years ago
|
||
Assignee | ||
Comment 9•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
status-firefox46:
--- → wontfix
status-firefox47:
--- → affected
Assignee | ||
Comment 10•8 years ago
|
||
Assignee | ||
Updated•8 years ago
|
Attachment #8737175 -
Attachment is patch: true
Assignee | ||
Comment 11•8 years ago
|
||
Assignee | ||
Comment 12•8 years ago
|
||
Assignee | ||
Comment 13•8 years ago
|
||
Assignee | ||
Comment 14•8 years ago
|
||
Assignee | ||
Comment 15•8 years ago
|
||
Assignee | ||
Comment 16•8 years ago
|
||
Surprisingly, embedding XUL into these tests works just fine.
Assignee | ||
Comment 17•8 years ago
|
||
In this one I removed a load event listener from the main test file because the helper file (the one that is window.open'd) already has a onload=".." that does the same thing. This was causing the test to get run twice, and fail with a "finish() was called twice" error.
Assignee | ||
Comment 18•8 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4068af45fe9
Assignee | ||
Comment 19•8 years ago
|
||
I can repro the test_xultree_animation failure when I run that test in isolation - somehow there is a JS error in textbox.xml which causes the code at [1] to call finish() again. This happens during shutdown *after* the test is done running. I'm investigating. [1] http://mxr.mozilla.org/mozilla-central/source/testing/mochitest/tests/SimpleTest/SimpleTest.js?rev=b78ed68af2fb#1587
Assignee | ||
Comment 20•8 years ago
|
||
With the patch on bug 1261509 (which is needed to make test_xultree_animation.xhtml pass) the try push is green: https://treeherder.mozilla.org/#/jobs?repo=try&revision=170818a31237&group_state=expanded. I also updated the patches to remove some of my requestFlakyTimeout additions since they turned out to be unneccessary.
Assignee | ||
Comment 21•8 years ago
|
||
Attachment #8736913 -
Attachment is obsolete: true
Attachment #8737754 -
Flags: review?(tnikkel)
Assignee | ||
Comment 22•8 years ago
|
||
Attachment #8736914 -
Attachment is obsolete: true
Attachment #8737755 -
Flags: review?(tnikkel)
Assignee | ||
Comment 23•8 years ago
|
||
Attachment #8736924 -
Attachment is obsolete: true
Attachment #8737757 -
Flags: review?(tnikkel)
Assignee | ||
Comment 24•8 years ago
|
||
Attachment #8736925 -
Attachment is obsolete: true
Attachment #8737758 -
Flags: review?(tnikkel)
Assignee | ||
Comment 25•8 years ago
|
||
Attachment #8736941 -
Attachment is obsolete: true
Attachment #8737759 -
Flags: review?(tnikkel)
Assignee | ||
Comment 26•8 years ago
|
||
Attachment #8736942 -
Attachment is obsolete: true
Attachment #8737760 -
Flags: review?(tnikkel)
Assignee | ||
Comment 27•8 years ago
|
||
Attachment #8736943 -
Attachment is obsolete: true
Attachment #8737761 -
Flags: review?(tnikkel)
Assignee | ||
Comment 28•8 years ago
|
||
Attachment #8736944 -
Attachment is obsolete: true
Attachment #8737762 -
Flags: review?(tnikkel)
Assignee | ||
Comment 29•8 years ago
|
||
Attachment #8737175 -
Attachment is obsolete: true
Attachment #8737763 -
Flags: review?(tnikkel)
Assignee | ||
Comment 30•8 years ago
|
||
Attachment #8737176 -
Attachment is obsolete: true
Attachment #8737764 -
Flags: review?(tnikkel)
Assignee | ||
Comment 31•8 years ago
|
||
Attachment #8737177 -
Attachment is obsolete: true
Attachment #8737766 -
Flags: review?(tnikkel)
Assignee | ||
Comment 32•8 years ago
|
||
Attachment #8737178 -
Attachment is obsolete: true
Attachment #8737767 -
Flags: review?(tnikkel)
Assignee | ||
Comment 33•8 years ago
|
||
Attachment #8737179 -
Attachment is obsolete: true
Attachment #8737768 -
Flags: review?(tnikkel)
Assignee | ||
Comment 34•8 years ago
|
||
Attachment #8737180 -
Attachment is obsolete: true
Attachment #8737769 -
Flags: review?(tnikkel)
Assignee | ||
Comment 35•8 years ago
|
||
Attachment #8737181 -
Attachment is obsolete: true
Attachment #8737770 -
Flags: review?(tnikkel)
Assignee | ||
Comment 36•8 years ago
|
||
Attachment #8737182 -
Attachment is obsolete: true
Attachment #8737771 -
Flags: review?(tnikkel)
Updated•8 years ago
|
Attachment #8737754 -
Flags: review?(tnikkel) → review+
Comment 37•8 years ago
|
||
Comment on attachment 8737755 [details] [diff] [review] Part 2 - Convert test_animSVGImage2.html >+[test_animSVGImage2.html] >+skip-if = buildapp == 'b2g' || os == 'android' I'm curious, why do we need to skip on b2g and android?
Attachment #8737755 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737757 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737758 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737759 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737760 -
Flags: review?(tnikkel) → review+
Assignee | ||
Comment 38•8 years ago
|
||
(In reply to Timothy Nikkel (:tnikkel) from comment #37) > I'm curious, why do we need to skip on b2g and android? Well in the chrome.ini it has the skip-if in the DEFAULT section at the top of the file, so I carried it over into mochitest.ini. I suspect chrome mochitests are generally disabled on Fennec/B2G because their architecture is so different. We could probably enable these tests for Fennec at least as plain mochitests, but I didn't want to do that as part of this bug because it's expanding the scope. We can do that as a follow-up if you want.
Updated•8 years ago
|
Attachment #8737761 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737762 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737763 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737764 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737766 -
Flags: review?(tnikkel) → review+
Comment 39•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #38) > Well in the chrome.ini it has the skip-if in the DEFAULT section at the top > of the file, so I carried it over into mochitest.ini. Oh, I didn't see that.
Updated•8 years ago
|
Attachment #8737767 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737768 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737769 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737770 -
Flags: review?(tnikkel) → review+
Updated•8 years ago
|
Attachment #8737771 -
Flags: review?(tnikkel) → review+
Comment 40•8 years ago
|
||
(In reply to Kartikaya Gupta (email:kats@mozilla.com) from comment #3) > test_animation.html and test_animation2.html are disabled, so I left those > alone. I did a try push with all disabled imagelib tests re-enabled. These two didn't fail, same with test_undisplayed_iframe.html. I'm triggering a bunch more jobs to see if they fail intermittently.
Comment 41•8 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ff0145cecf4 https://hg.mozilla.org/integration/mozilla-inbound/rev/a7e599be4a03 https://hg.mozilla.org/integration/mozilla-inbound/rev/a3da4bfcf9cc https://hg.mozilla.org/integration/mozilla-inbound/rev/bb3da962e9a1 https://hg.mozilla.org/integration/mozilla-inbound/rev/1efd3457c427 https://hg.mozilla.org/integration/mozilla-inbound/rev/8f047928cb92 https://hg.mozilla.org/integration/mozilla-inbound/rev/9609b68d0358 https://hg.mozilla.org/integration/mozilla-inbound/rev/134a4dbaad4b https://hg.mozilla.org/integration/mozilla-inbound/rev/916c6799c2bb https://hg.mozilla.org/integration/mozilla-inbound/rev/ae6093a8aeaf https://hg.mozilla.org/integration/mozilla-inbound/rev/67dacff9db6e https://hg.mozilla.org/integration/mozilla-inbound/rev/cdfe660df0e6 https://hg.mozilla.org/integration/mozilla-inbound/rev/c1b4e8a0d9e1 https://hg.mozilla.org/integration/mozilla-inbound/rev/46746eac69d5 https://hg.mozilla.org/integration/mozilla-inbound/rev/3911b874e8d1 https://hg.mozilla.org/integration/mozilla-inbound/rev/73b3beeddb7b
Comment 42•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6ff0145cecf4 https://hg.mozilla.org/mozilla-central/rev/a7e599be4a03 https://hg.mozilla.org/mozilla-central/rev/a3da4bfcf9cc https://hg.mozilla.org/mozilla-central/rev/bb3da962e9a1 https://hg.mozilla.org/mozilla-central/rev/1efd3457c427 https://hg.mozilla.org/mozilla-central/rev/8f047928cb92 https://hg.mozilla.org/mozilla-central/rev/9609b68d0358 https://hg.mozilla.org/mozilla-central/rev/134a4dbaad4b https://hg.mozilla.org/mozilla-central/rev/916c6799c2bb https://hg.mozilla.org/mozilla-central/rev/ae6093a8aeaf https://hg.mozilla.org/mozilla-central/rev/67dacff9db6e https://hg.mozilla.org/mozilla-central/rev/cdfe660df0e6 https://hg.mozilla.org/mozilla-central/rev/c1b4e8a0d9e1 https://hg.mozilla.org/mozilla-central/rev/46746eac69d5 https://hg.mozilla.org/mozilla-central/rev/3911b874e8d1 https://hg.mozilla.org/mozilla-central/rev/73b3beeddb7b
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 43•8 years ago
|
||
Re-enabled the three disabled mochitest-chrome tests in bug 1262269. They will need to be converted too, I'll do that in another bug.
Assignee | ||
Comment 44•8 years ago
|
||
Thanks! I also uplifted these patches to aurora since the e10s folks prefer that any e10s-related test changes be uplifted to 47 as well. https://hg.mozilla.org/releases/mozilla-aurora/pushloghtml?changeset=f5f4bbaf8f02
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•