[wpt-sync] Sync PR 22196 - Reveal only the URL at the frame open time in performance.measureMemory
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 22196 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22196
Details from upstream follow.
Ulan Degenbaev <ulan@chromium.org> wrote:
Reveal only the URL at the frame open time in performance.measureMemory
This changes the reporting in performance.measureMemory to reveal only
the URL at the frame open time for cross-origin (same-site) iframes and
thus prevents URL if the iframe navigates after loading.This is done by saving the first cross-origin URL loaded in LocalFrame
in LocalFrame::DidAttachDocument and using that URL for reporting.The patch also adds a new test for redirecting iframe and fixes
the existing tests to wait until child iframes are loaded.Bug:1049093
Change-Id: I0162efb82061f036450586dea0b191cacdce23f2Reviewed-on: https://chromium-review.googlesource.com/2098722
WPT-Export-Revision: 26bc554e7b6a8afcaa079b8c80dab37ee3aa16e0
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
Comment 5•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b125b93d3bb2
https://hg.mozilla.org/mozilla-central/rev/1d669ca911c7
Description
•