[wpt-sync] Sync PR 22085 - Update performance.measureMemory to the latest proposal
Categories
(Testing :: web-platform-tests, task, P4)
Tracking
(firefox76 fixed)
Tracking | Status | |
---|---|---|
firefox76 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22085 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22085
Details from upstream follow.
Ulan Degenbaev <ulan@chromium.org> wrote:
Update performance.measureMemory to the latest proposal
This changes the result format of the API to the latest version of
the proposal at https://github.com/WICG/performance-measure-memory.Specifically, per-origin attribution changed to per-frame attribution
with one caveat that cross-origin iframes are considered opaque and
iframes nested in cross-origin iframes do not appear in the result.The previous version of API:
{
bytes: 70MB,
breakdown: [
{bytes: 40MB, globals: 2, type: 'js', origins: ['foo.com']},
{bytes: 30*MB, globals: 1, type: 'js', origins: ['bar.com']}
]
}The current version of the API:
{
bytes: 70MB,
breakdown: [
{bytes: 40MB, type: 'window/js', attribution: ['foo.com']},
{bytes: 30*MB, type: 'window/js', attribution: ['bar.com']}
]
}Bug: 1049093
Change-Id: I3bbf07ad6e978b9b483561c06cedf6c7a135b7e7
Reviewed-on: https://chromium-review.googlesource.com/2087627
WPT-Export-Revision: 656d74a7458c8ca324197e1f9fc356913d69f1b1
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
CI Results
Ran 13 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 49 tests
Status Summary
Firefox
OK : 3
PASS: 46
FAIL: 3
Chrome
OK : 3
FAIL: 3
Safari
OK : 3
FAIL: 3
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
/measure-memory/measure-memory-same-origin-iframe.tentative.window.html
Well-formed result of performance.measureMemory with same-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
/measure-memory/measure-memory-cross-origin-iframe.tentative.window.html
Well-formed result of performance.measureMemory with cross-origin iframe.: FAIL (Chrome: FAIL, Safari: FAIL)
/measure-memory/measure-memory.tentative.window.html
Well-formed result of performance.measureMemory.: FAIL (Chrome: FAIL, Safari: FAIL)
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/667237060314
https://hg.mozilla.org/mozilla-central/rev/4450b64be049
Description
•