1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-17 05:48:50 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Henri Sivonen 0e80c15692 Adjust tokenization of U+0000 2019-10-25 12:00:25 +08:00
wolfbeast d794c3d762 Issue #1255 - Port upstream fix from libexpat 2019-10-25 12:00:12 +08:00
wolfbeast 26b079c59f 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-06 23:49:46 +08:00
wolfbeast 01f0d00864 Belatedly fix html5 parser attribution for files not covered by the MPL. 2019-09-06 23:49:44 +08:00
wolfbeast 03208b757b Fix an issue with the html5 tokenizer and tree builder. 2019-09-06 23:49:42 +08:00
win7-7 e6f376f5ef 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-10 06:26:08 +08:00
Henri Sivonen 80fc56fb93 Bug 1555523. 2019-07-22 19:45:08 +08:00
win7-7 1be77e0f3f 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-08 20:28:54 +08:00
win7-7 10e41a57b5 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-31 07:19:11 +08:00
win7-7 888381215b make HTML parser to use faster atomization in main thread 2019-05-31 07:17:55 +08:00
Gaming4JC 6aaf25cc5b backport m-c 1510114: Fix Use-After-Free in the HTML5 Parser
Fixes #1076
2019-05-11 06:21:24 +08:00
trav90 36607675b2 Make nsScannerIterator a trivial type in order to use memset 2019-02-16 00:12:55 +08:00
adeshkp e4eb8532f5 Fix constructor in nsHtml5AtomTable.cpp
Follow up to 2bc00ef to fix build bustage
2019-02-16 00:10:41 +08:00
wolfbeast 860f212b0b re-apply "Improve nsHtml5AtomTable performance (#693)" (#695)"
This reverts commit ca87455cc5880897c8b921077819988feede90bd.
2019-02-16 00:10:40 +08:00
Moonchild 78d56eefec Revert "Improve nsHtml5AtomTable performance (#693)" (#695)
This reverts commit 2bc00efe7bb826d683257264471878c05757f2bb.
2019-02-16 00:10:38 +08:00
adeshkp f460a50971 Improve nsHtml5AtomTable performance (#693)
* cpp change
* h change
2019-02-16 00:10:37 +08:00
NTD 53005879e6 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.
2019-02-16 00:00:13 +08:00
trav90 c47b155157 Disable -Wimplicit-fallthrough in parser/html
GCC 7 supports the clang option -Wimplicit-fallthrough.
2019-02-15 23:35:53 +08:00
wolfbeast 141ff75e6a Restrict XML file recursion depth to 200.
This resolves #2.
2019-02-14 14:28:20 +08:00
roytam1 dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00