Closed Bug 984712 Opened 6 years ago Closed 6 years ago

Associate document with existing custom elements registry as specified.

Categories

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

defect
Not set

Tracking

()

RESOLVED FIXED
mozilla31

People

(Reporter: wchen, Assigned: wchen)

References

()

Details

Attachments

(1 file)

We currently don't associate the registry for new document instances.
Things changed in this patch:
- Converted Registry into a cycle collection class since it's now shared between documents.
- Updated DOMImplementation to associate registries as specified.
- Added a method on nsIDocument to use a registry from another document.
Attachment #8392637 - Flags: review?(mrbkap)
Comment on attachment 8392637 [details] [diff] [review]
Associate document with existing custom elements registry as specified.

Review of attachment 8392637 [details] [diff] [review]:
-----------------------------------------------------------------

Looks good.
Attachment #8392637 - Flags: review?(mrbkap) → review+
https://hg.mozilla.org/mozilla-central/rev/35dc75b1a5e3
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla31
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.