Closed
Bug 1348200
Opened 8 years ago
Closed 8 years ago
Imagebitmap extensions tests are impossible to run locally
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: bzbarsky, Assigned: kaku)
References
Details
Attachments
(3 files)
Running this:
mach mochitest dom/canvas/test/test_imagebitmap_extensions.html
fails because the test never manages to load the video. It fails to load because it gets a 404.
The problem, I suspect, is that this test lists neither the sjs it's loading nor the video it asks the sjs to read in support_files. And then they're not present in the objdir and things go haywire...
Flags: needinfo?(kaku)
... but probably breaks other things
Attachment #8848388 -
Attachment is patch: true
Attachment #8848388 -
Attachment mime type: text/x-patch → text/plain
(Actually, this patch might be right. But I really didn't look closely.)
Comment 3•8 years ago
|
||
ping?
Assignee | ||
Comment 4•8 years ago
|
||
The problem happens not only to the Imagebitmap extensions tests, but also to the Imagebitmap tests.
(In reply to David Baron :dbaron: ⌚️UTC+8 from comment #1)
> Created attachment 8848388 [details] [diff] [review]
> hack that allows running
> dom/canvas/test/test_imagebitmap_extensions_on_worker.html
>
> ... but probably breaks other things
I think the patch is jut right and does not break any other thing. I will then extend it to fix both Imagebitmap tests and Imagebitmap extensions tests.
Flags: needinfo?(kaku)
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Assignee | ||
Comment 7•8 years ago
|
||
Comment 8•8 years ago
|
||
mozreview-review |
Comment on attachment 8856419 [details]
Bug 1348200 P1 - prepare resources;
https://reviewboard.mozilla.org/r/128376/#review130860
Attachment #8856419 -
Flags: review?(dbaron) → review+
Comment 9•8 years ago
|
||
mozreview-review |
Comment on attachment 8856420 [details]
Bug 1348200 P2 - use resources in dom/canvas/test;
https://reviewboard.mozilla.org/r/128378/#review130862
Attachment #8856420 -
Flags: review?(dbaron) → review+
Did you test that all of the imagebitmap tests now work correctly when run on their own, with these patches?
Flags: needinfo?(kaku)
Assignee | ||
Comment 11•8 years ago
|
||
(In reply to David Baron :dbaron: ⌚️UTC+8 from comment #10)
> Did you test that all of the imagebitmap tests now work correctly when run
> on their own, with these patches?
Yes, I tested all the test_imagebitmap*.html files separately with a clean rebuild, they all work well.
Thanks for your review.
Flags: needinfo?(kaku)
Comment 12•8 years ago
|
||
Pushed by tkuo@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b1ab45dd987c
P1 - prepare resources; r=dbaron
https://hg.mozilla.org/integration/autoland/rev/0a82045b1563
P2 - use resources in dom/canvas/test; r=dbaron
Updated•8 years ago
|
Assignee: nobody → kaku
Comment 13•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b1ab45dd987c
https://hg.mozilla.org/mozilla-central/rev/0a82045b1563
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•