Closed Bug 1693059 Opened 4 years ago Closed 4 years ago

PerformanceObserver::Disconnect should clear the option list

Categories

(Core :: Performance: General, defect)

defect

Tracking

()

RESOLVED FIXED
88 Branch
Performance Impact none
Tracking Status
firefox88 --- fixed

People

(Reporter: sefeng211, Assigned: sefeng211)

Details

Attachments

(1 file)

The po-disconnect test has been failing because we don't clear the option list in disconnect, so the second observe still has the the first option persisted.

We should clear it per spec

Per spec, disconnect should clear its option list, such that
doing a observe->disconnect->observe will not be reusing
the same options from the first observe.

Spec: https://w3c.github.io/performance-timeline/#disconnect-method

Pushed by sefeng@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/20be18171ce7 Make PerformanceObserver::Disconnect clears its option list r=smaug
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
Performance Impact: --- → -
Whiteboard: [qf-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: