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)

defect
Not set
normal

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)
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.)
ping?
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)
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)
(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)
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
Assignee: nobody → kaku
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: