Open Bug 1354015 Opened 8 years ago Updated 2 years ago

DOM wrapper collection is observable with proto mutation

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

People

(Reporter: jandem, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Attached file Testcase (deleted) —
I realized this when looking at bug 1353928. The attached testcase sometimes prints (may require a few reloads to see the buggy behavior): Proto: undefined Proto: [object HTMLDivElementPrototype] It should print: Proto: undefined Proto: undefined
Hmm, I thought we had special code to preserve wrappers when __proto__ was set. But perhaps I'm thinking ancient pre-Paris-bindings world.
I thought we had a bug about this too, but I can't find it... But yes, we don't really have a way to hook into proto mutation right now. :(
Depends on: 1353928
Please let me know if we need an owner for this sooner than "someday".
Priority: -- → P3
Component: DOM → DOM: Core & HTML
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: