Closed Bug 2092492 Opened 6 days ago Closed 5 days ago

Only clear union data in `ErrorResult` when there's an error

Categories

(Core :: DOM: Core & HTML, task)

task

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

(Reporter: jjaschke, Assigned: jjaschke)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

This is a micro optimization for sp3.

Blocks: speedometer3

Destroying or assigning to a successful ErrorResult called out of line into
SuppressException and ClearUnionData, which have nothing to do in that case.

Assignee: nobody → jjaschke
Status: NEW → ASSIGNED
Pushed by jjaschke@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/89971487440b https://hg.mozilla.org/integration/autoland/rev/34460eae57cd Only call ErrorResult::ClearUnionData when the result is a failure. r=dom-core-reviewers,smaug
Status: ASSIGNED → RESOLVED
Closed: 5 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: