Change reference case for viewBox-synthesized-in-img-001.tentative.html to not use `<embed>` elements
Categories
(Core :: SVG, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox139 | --- | fixed |
People
(Reporter: dholbert, Assigned: dholbert)
References
Details
Attachments
(1 file)
See bug 1960606 comment 3 - there seems to be some overhead associated with all the <embed> elements that we're dynamically generating in https://searchfox.org/mozilla-central/rev/60108fa975e0bfa63f3372258030e372414fd0d2/testing/web-platform/tests/svg/coordinate-systems/viewBox-synthesized-in-img-001-ref.html , and that makes the test take on the order of 10-20 seconds on some platforms.
Filing this bug to switch to just using regular HTML for the mockup rather than <embed>-with-subdocuments, to avoid that wasted time and intermitent test-timeouts from this making us occasionally overstep the time limit.
Assignee | ||
Comment 1•1 month ago
|
||
In a perfect world, it's nice to compare <img> against analogous <embed>
elements and assert that the rendering should match. However, as discussed in
https://bugzilla.mozilla.org/show_bug.cgi?id=1960606#c3 , there's substantial
overhead involved with setting up all of the embed documents. We can make the
test dramatically faster by expressing the expected-rendering using divs,
so that's what this patch does.
Updated•1 month ago
|
Assignee | ||
Comment 2•1 month ago
|
||
Here are logs to show that this drops us from ~16 s to ~1 on Android
Log without this patch:
https://treeherder.mozilla.org/logviewer?job_id=504324732&repo=try&lineNumber=12118
TEST-PASS | /svg/coordinate-systems/viewBox-synthesized-in-img-001.tentative.html | took 16521ms
Log with this patch:
https://treeherder.mozilla.org/logviewer?job_id=504499291&repo=try&lineNumber=12138
TEST-PASS | /svg/coordinate-systems/viewBox-synthesized-in-img-001.tentative.html | took 887ms
Comment 4•1 month ago
|
||
bugherder |
Assignee | ||
Updated•29 days ago
|
Updated•28 days ago
|
Updated•20 days ago
|
Description
•