Switch performance test recordFrames from drawWindow to drawSnapshot
Categories
(Firefox :: General, task)
Tracking
()
Fission Milestone | Future |
People
(Reporter: smacleod, Unassigned)
References
(Blocks 1 open bug)
Details
CanvasRenderingContext2D.drawWindow() is synchronous and won't work with fission, so head.js[1] should be updated to use the asynchronous drawSnapshot[2]
Comment 1•3 years ago
|
||
For what it's worth, the tests in browser/base/content/test/performance all are designed to exercise and measure the performance of the browser UI, and not any of the content area. Cross-origin page loads are not a thing we should run into with any of those tests.
Reporter | ||
Comment 2•3 years ago
|
||
(In reply to Mike Conley (:mconley) (:⚙️) from comment #1)
For what it's worth, the tests in browser/base/content/test/performance all are designed to exercise and measure the performance of the browser UI, and not any of the content area. Cross-origin page loads are not a thing we should run into with any of those tests.
In that case this is most likely fine in the short term and should block Bug 1680359 instead. Thanks!
Comment 3•3 years ago
|
||
Do these performance tests use OOP frames? If not, then switching from drawWindow() to drawSnapshot() doesn't need to block shipping Fission MVP. We don't necessarily need to replace all uses of drawWindow() or remove the drawWindow() function itself for Fission MVP.
Comment 4•3 years ago
|
||
I filed bug 1682545 specifically for removing the method, as that seems like a better thing to block if we still need sync properties of drawWindow() for perf tests.
Updated•3 years ago
|
Description
•