Closed Bug 1842058 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 40904 - Make source of performance entry weakly reference DomWindow object

Categories

(Core :: DOM: Performance, task, P4)

task

Tracking

()

RESOLVED FIXED
117 Branch
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

Component: web-platform-tests → DOM: Performance
Product: Testing → Core

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

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
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 117 Branch
You need to log in before you can comment on or make changes to this bug.