Commit Graph

9 Commits

Author SHA1 Message Date
win7-7 7c5a0db237 Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser.
An innerHTML setter profile shows about 10% of the time being spent under nsHtml5HtmlAttributes::clear, mostly deleting nsStrings.
2019-07-05 21:58:21 +03:00
win7-7 bf1e5431f0 use memcmp for nsIAtom Equals to improve performance parser/html
issue MoonchildProductions#1113 Use memcmp and not slower string Equals in nsHtml5Portability::localEqualsBuffer
2019-05-25 18:04:02 +03:00
win7-7 a371a69a73 make HTML parser to use faster atomization in main thread 2019-05-24 14:05:09 +03:00
Gaming4JC 4ed4303dd1 backport m-c 1510114: Fix Use-After-Free in the HTML5 Parser
Fixes #1076
2019-05-04 18:42:29 -04:00
adeshkp 2370b6a532 Fix constructor in nsHtml5AtomTable.cpp
Follow up to 2bc00ef to fix build bustage
2018-08-04 11:17:54 +00:00
adeshkp 2bc00efe7b Improve nsHtml5AtomTable performance (#693)
* cpp change
* h change
2018-08-04 10:52:42 +02:00
Matt A. Tobin 7d9e2a1084 Add a check to prevent a crash when CSP directives are used with chrome content
Chrome content uses System Principle and this kind of speculative preloading of CSP just won't work.
2018-06-02 09:44:18 -04:00
trav90 3bb7b8e11e Disable -Wimplicit-fallthrough in parser/html
GCC 7 supports the clang option -Wimplicit-fallthrough.
2018-03-04 15:27:53 -06:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00