Closed Bug 1734320 Opened 3 years ago Closed 3 years ago

Expose structuredClone in Sandbox

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: nchevobbe, Assigned: evilpie)

References

Details

Attachments

(1 file)

The DevTools team is interested by the possibility structuredClone is offering (e.g. Bug 1734166), so we might want to expose the function in Sandbox

I tried to do it quickly, but it's not as straightforward as I thought.
Tom, if that doesn't takes too long and if you do have some time to do it, could you look into this please?

Flags: needinfo?(evilpies)

Turns out this a bit more work than I expected, but de-duplicating this code between Window and Worker is nice.

Flags: needinfo?(evilpies)
Assignee: nobody → evilpies
Attachment #9244518 - Attachment description: WIP: Bug 1734320 - Expose structuredClone in Sandbox → Bug 1734320 - Expose structuredClone in Sandbox. r?smaug
Pushed by evilpies@gmail.com: https://hg.mozilla.org/integration/autoland/rev/8ad879d71dc3 Expose structuredClone in Sandbox. r=smaug
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch

Thanks a lot Tom!

Blocks: 1753860
Component: DOM: postMessage → XPConnect
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: