Open
Bug 1346040
Opened 8 years ago
Updated 2 years ago
StructuredCloneData lacks a move assignment operator
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: billm, Unassigned)
Details
This is kind of a confusing bug, but here's the gist of it:
1. The code in StructuredCloneData.h makes it look like there's a move assignment operator. However, you can't actually use it, because the default move assignment operator doesn't apply to this class. I think we should implement a move assignment operator ourselves that works. I don't see any reason why we couldn't.
2. The Copy method of StructuredCloneData should probably assert !mInitialized. Since it appends to things like PortIdentifiers(), it will add to the existing data rather than replacing it.
Reporter | ||
Comment 1•8 years ago
|
||
This came up in bug 777600.
Updated•8 years ago
|
Priority: -- → P3
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•