Open Bug 1631461 Opened 5 years ago Updated 4 years ago

dom::Sequence should not be copy-constructible/copy-assignable

Categories

(Core :: DOM: Bindings (WebIDL), defect, P2)

defect

Tracking

()

People

(Reporter: sg, Unassigned)

References

Details

dom::Sequence is a FallibleTArray, but its copy constructor and assignment operator used to mask failures. Bug 1628692 made them infallible. It would be more consistent though if they were not copy-constructible/assignable, but fallible operations were used instead. In particular, Codegen.py needs to be updated to do this. Probably, move operations could be used in some cases instead of copy operations.

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.