Closed
Bug 1261158
Opened 10 years ago
Closed 10 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•10 years ago
|
||
This one was relatively easy
| Assignee | ||
Comment 2•10 years ago
|
||
Little bit harder, but SpecialPowers.wrap to the rescue!
| Assignee | ||
Comment 3•10 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•10 years ago
|
||
| Assignee | ||
Comment 5•10 years ago
|
||
| Assignee | ||
Comment 6•10 years ago
|
||
| Assignee | ||
Comment 7•10 years ago
|
||
| Assignee | ||
Comment 8•10 years ago
|
||
| Assignee | ||
Comment 9•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
status-firefox46:
--- → wontfix
status-firefox47:
--- → affected
| Assignee | ||
Comment 10•10 years ago
|
||
| Assignee | ||
Updated•10 years ago
|
Attachment #8737175 -
Attachment is patch: true
| Assignee | ||
Comment 11•10 years ago
|
||
| Assignee | ||
Comment 12•10 years ago
|
||
| Assignee | ||
Comment 13•10 years ago
|
||
| Assignee | ||
Comment 14•10 years ago
|
||
| Assignee | ||
Comment 15•10 years ago
|
||
| Assignee | ||
Comment 16•10 years ago
|
||
Surprisingly, embedding XUL into these tests works just fine.
| Assignee | ||
Comment 17•10 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•10 years ago
|
||
| Assignee | ||
Comment 19•10 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•10 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•10 years ago
|
||
Attachment #8736913 -
Attachment is obsolete: true
Attachment #8737754 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 22•10 years ago
|
||
Attachment #8736914 -
Attachment is obsolete: true
Attachment #8737755 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 23•10 years ago
|
||
Attachment #8736924 -
Attachment is obsolete: true
Attachment #8737757 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 24•10 years ago
|
||
Attachment #8736925 -
Attachment is obsolete: true
Attachment #8737758 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 25•10 years ago
|
||
Attachment #8736941 -
Attachment is obsolete: true
Attachment #8737759 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 26•10 years ago
|
||
Attachment #8736942 -
Attachment is obsolete: true
Attachment #8737760 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 27•10 years ago
|
||
Attachment #8736943 -
Attachment is obsolete: true
Attachment #8737761 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 28•10 years ago
|
||
Attachment #8736944 -
Attachment is obsolete: true
Attachment #8737762 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 29•10 years ago
|
||
Attachment #8737175 -
Attachment is obsolete: true
Attachment #8737763 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 30•10 years ago
|
||
Attachment #8737176 -
Attachment is obsolete: true
Attachment #8737764 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 31•10 years ago
|
||
Attachment #8737177 -
Attachment is obsolete: true
Attachment #8737766 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 32•10 years ago
|
||
Attachment #8737178 -
Attachment is obsolete: true
Attachment #8737767 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 33•10 years ago
|
||
Attachment #8737179 -
Attachment is obsolete: true
Attachment #8737768 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 34•10 years ago
|
||
Attachment #8737180 -
Attachment is obsolete: true
Attachment #8737769 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 35•10 years ago
|
||
Attachment #8737181 -
Attachment is obsolete: true
Attachment #8737770 -
Flags: review?(tnikkel)
| Assignee | ||
Comment 36•10 years ago
|
||
Attachment #8737182 -
Attachment is obsolete: true
Attachment #8737771 -
Flags: review?(tnikkel)
Updated•10 years ago
|
Attachment #8737754 -
Flags: review?(tnikkel) → review+
Comment 37•10 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•10 years ago
|
Attachment #8737757 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737758 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737759 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737760 -
Flags: review?(tnikkel) → review+
| Assignee | ||
Comment 38•10 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•10 years ago
|
Attachment #8737761 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737762 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737763 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737764 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737766 -
Flags: review?(tnikkel) → review+
Comment 39•10 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•10 years ago
|
Attachment #8737767 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737768 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737769 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737770 -
Flags: review?(tnikkel) → review+
Updated•10 years ago
|
Attachment #8737771 -
Flags: review?(tnikkel) → review+
Comment 40•10 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•10 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•10 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: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla48
Comment 43•10 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•10 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•7 years ago
|
Product: Core → Core Graveyard
Updated•7 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•