Closed Bug 1620017 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 22085 - Update performance.measureMemory to the latest proposal

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox76 fixed)

RESOLVED FIXED
mozilla76
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: 40
MB, 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: 40
MB, 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

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)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/667237060314 [wpt PR 22085] - Update performance.measureMemory to the latest proposal, a=testonly https://hg.mozilla.org/integration/autoland/rev/4450b64be049 [wpt PR 22085] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla76
You need to log in before you can comment on or make changes to this bug.