[wpt-sync] Sync PR 40904 - Make source of performance entry weakly reference DomWindow object
Categories
(Core :: DOM: Performance, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 40904 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/40904
Details from upstream follow.
Hao Liu <haoliuk@chromium.org> wrote:
Make source of performance entry weakly reference DomWindow object
Currently the source of a performance entry keeps a member pointer to
to the corresponding DomWindow object which keeps it alive. This causes
memory usage issue.This CL is to make the source weakly reference the DomWindow object so
it can be GC'ed.Bug: 1458831
Change-Id: Ia3c5cb00302b76af41cc3d024a146df45647f2f4
Reviewed-on: https://chromium-review.googlesource.com/4666321
WPT-Export-Revision: 6921608a19d923c6068b7e37ced5daaca2a09d8c
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 1•1 year ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=98ad02ff41421fe5929b8365285a1995efae794b
Assignee | ||
Comment 2•1 year ago
|
||
CI Results
Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests and 1 subtests
Status Summary
Firefox
TIMEOUT
: 1
ERROR
: 1
Chrome
OK
: 1
PASS
: 1
Safari
TIMEOUT
: 1
ERROR
: 1
Links
Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base
Details
New Tests That Don't Pass
- /performance-timeline/tentative/performance-entry-source-deleted-frame.html [wpt.fyi]:
ERROR
(Chrome:OK
, Safari:ERROR
)- PerformanceEntry source is null when the window it points to is removed.:
TIMEOUT
(Chrome:PASS
, Safari:TIMEOUT
)
- PerformanceEntry source is null when the window it points to is removed.:
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/7842d0e1c019 [wpt PR 40904] - Make source of performance entry weakly reference DomWindow object, a=testonly https://hg.mozilla.org/integration/autoland/rev/d9029f2bbbb2 [wpt PR 40904] - Update wpt metadata, a=testonly
Comment 4•1 year ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7842d0e1c019
https://hg.mozilla.org/mozilla-central/rev/d9029f2bbbb2
Description
•