Closed Bug 1449827 Opened 7 years ago Closed 7 years ago

Improve atom handling in nsTreeSanitizer

Categories

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

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla61
Tracking Status
firefox61 --- fixed

People

(Reporter: n.nethercote, Assigned: n.nethercote)

References

Details

Attachments

(3 files)

Once bug 1449395 lands, we can convert all the &nsGkAtoms::foo occurrences in nsTreeSanitizer to nsGkAtoms::foo, as described in bug 1449787 comment 1.
Comment on attachment 8963453 [details] Bug 1449827 - Use `nsStaticAtom* const` instead of `nsStaticAtom** const` in nsTreeSanitizer. https://reviewboard.mozilla.org/r/232370/#review237800 Wow. It looks like we're getting close to making interned HTML element and attribute names in the parser POD! Thanks.
Attachment #8963453 - Flags: review?(hsivonen) → review+
Comment on attachment 8963454 [details] Bug 1449827 - Introduce a typedef `AtomsTable` within nsTreeSanitizer. https://reviewboard.mozilla.org/r/232372/#review237802
Attachment #8963454 - Flags: review?(hsivonen) → review+
Attachment #8963455 - Flags: review?(hsivonen) → review+
Assignee: nobody → n.nethercote
https://hg.mozilla.org/integration/mozilla-inbound/rev/6ad039952ae647a8d01167c6d1ca35883e96a477 Bug 1449827 - Use `nsStaticAtom* const` instead of `nsStaticAtom** const` in nsTreeSanitizer. r=hsivonen https://hg.mozilla.org/integration/mozilla-inbound/rev/4e54be07d824fe3c4a257d316ee85eee4f653f83 Bug 1449827 - Introduce a typedef `AtomsTable` within nsTreeSanitizer. r=hsivonen https://hg.mozilla.org/integration/mozilla-inbound/rev/db3a89f85df2edd667a9503cc148e4e0721b3482 Bug 1449827 - Optimize static atom use in nsTreeSanitizer. r=hsivonen
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: