Closed Bug 1355769 Opened 7 years ago Closed 7 years ago

Don't allocate nsHtml5ElementName when processing a non-interned element name

Categories

(Core :: DOM: HTML Parser, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: hsivonen, Assigned: hsivonen)

References

Details

Attachments

(2 files)

Recycle one nsHtml5ElementName per tokenizer.
Blocks: 1355779
Attachment #8857415 - Flags: review?(wchen)
Comment on attachment 8857415 [details]
Bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name.

https://reviewboard.mozilla.org/r/129408/#review132748
Attachment #8857415 - Flags: review?(wchen) → review+
Attachment #8859037 - Flags: review?(wchen)
Attachment #8859037 - Flags: review?(wchen) → review+
Pushed by hsivonen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2fb25a7ade12
Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen
https://hg.mozilla.org/projects/htmlparser/rev/272425678688157879d1ad94a665632df3b77d30
Mozilla bug 1355769 - Avoid malloc for nsHtml5ElementName when processing a non-interned element name. r=wchen.
https://hg.mozilla.org/mozilla-central/rev/2fb25a7ade12
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: