Closed Bug 1889236 Opened 2 years ago Closed 2 years ago

Use TryClone in QueryHandler::ResolvedCallback()

Categories

(Core :: DOM: Content Processes, task)

task

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: mccr8, Assigned: mccr8)

Details

Attachments

(1 file)

QueryHandler::ResolvedCallback() could use TryClone() to simplify the code a bit. This removes a call to InitScope(JS::StructuredCloneScope::DifferentProcess) but DifferentProcess is the default so I think that's unnecessary.

Assignee: nobody → continuation

This is cleaner. It loses the InitScope(), but DifferentProcess
is the default so I don't think that matters.

Pushed by amccreight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/be242bcd2d14 Use TryClone in QueryHandler::ResolvedCallback(). r=nika
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: