Have some mochitest or wpt tests to ensure getting a correct precision when a page is Cross Origin Isolated
Categories
(Core :: DOM: Core & HTML, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: tt, Assigned: tt)
References
Details
Attachments
(2 files)
See https://phabricator.services.mozilla.com/D63293?id=235976#inline-388555. I quote (2) here:
"Make sure that when a page is Cross Origin Isolated, you are getting the correct (higher) precision. This would be a mochitest or a browser-chrome test and probably can be built by taking the existing precision tests and duplicating them (ew :( ) into a test that correctly sets the headers to get it isolated. (and then editing the tests.)"
And, another quote from Tom Ritter's suggestion:
"We are affecting much more than that single API, so we have a slurry of tests, including
https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/mochitest/test_reduce_time_precision.html <- specifically includes performance.now
https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html
https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/browser/file_workerPerformance.js
https://searchfox.org/mozilla-central/source/dom/performance/tests/test_performance_navigation_timing.html"
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Assignee | ||
Comment 2•4 years ago
|
||
Assignee | ||
Comment 3•4 years ago
|
||
I will check https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html and https://searchfox.org/mozilla-central/source/dom/performance/tests/test_performance_navigation_timing.html.
D78898 should cover the others in comment 0.
Comment 5•4 years ago
|
||
bugherder |
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to Tom Tung [:tt, :ttung] from comment #3)
I will check https://searchfox.org/mozilla-central/source/browser/components/resistfingerprinting/test/mochitest/test_animation_api.html and https://searchfox.org/mozilla-central/source/dom/performance/tests/test_performance_navigation_timing.html.
D78898 should cover the others in comment 0.
Hmm, it seems that things in dom/performance/tests/test_performance_navigation_timing.html
should be covered by browser/components/resistfingerprinting/test/browser/browser_performanceAPI.js
D79475 should cover test_animation_api.html
Assignee | ||
Comment 8•4 years ago
|
||
remove the flag since we can close this ticket once D79475 is landed.
Assignee | ||
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Comment 11•4 years ago
|
||
bugherder |
Description
•