Commit Graph

17 Commits

Author SHA1 Message Date
wolfbeast aa2ac8dded Reinstate the java->c++ source, generator code + documentation.
We've kept the java source up-to-date until its removal, so there should
be very little additional java mangling needed to have it back up to
speed and usable again.

This reverts commit c6446f1126.
2020-01-13 09:32:00 +01:00
Gaming4JC 25e85f99ce Bug 1322938 - Make the HTML tree builder aware of <dialog>.
Original patch by :hsivonen
Tag #1343
2020-01-07 18:33:24 -05:00
Henri Sivonen 7bccd87695 Adjust tokenization of U+0000 2019-10-24 11:43:25 +02:00
wolfbeast c6446f1126 Remove HTML5 parser java docs and generation code.
java->C++ automated translation is not something we want to deal with
now or in the future.
2019-09-04 16:33:37 +02:00
wolfbeast abc6b2f3aa Belatedly fix html5 parser attribution for files not covered by the MPL. 2019-09-04 15:28:21 +02:00
wolfbeast 0ce08b418d Fix an issue with the html5 tokenizer and tree builder. 2019-09-04 15:27:40 +02:00
win7-7 deae241f5e Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups along with it (1445670 and 1373780 part 2 and 3)
2019-08-08 16:44:51 +03:00
Henri Sivonen c364377072 Bug 1555523. 2019-07-20 15:23:12 +02:00
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