Commit Graph

39 Commits

Author SHA1 Message Date
Gaming4JC 45a4aaf7e0 Bug 1398401 - Add preference check for custom element setup.
Tag UXP Issue #1344
2020-01-26 15:50:26 -05:00
Gaming4JC 5222f6e9da Bug 1274159 - Part 2-2: Support HTMLConstructor WebIDL extended attribute for custom elements;
Tag UXP Issue #1344
2020-01-26 15:50:09 -05:00
Gaming4JC 244277a3fa Bug 1274159 - Part 2-1: Include the name of relevant interface in nsHTMLTagList.h;
Tag UXP Issue #1344
2020-01-26 15:50:09 -05:00
Matt A. Tobin e4c4c20e7e Update readme instructions for how to use the java html5 parser codegen makefile 2020-01-16 07:43:21 -05:00
Matt A. Tobin 927c386dd8 Regenerate nsHtml5*.cpp files from java htmlparser sources 2020-01-16 07:28:40 -05:00
Matt A. Tobin 635baac21a Update the html5 parser java codegen makefile to clean up snapshot javasrc 2020-01-16 07:22:22 -05:00
Matt A. Tobin 9dbbc6c08f Remove obsolete javasrc snapshot 2020-01-16 07:17:55 -05:00
Matt A. Tobin 72779c9dde Update java htmlparser copyright on code to be translated to cpp 2020-01-16 07:16:39 -05:00
Matt A. Tobin e93b373374 Fix an issue with the html5 tokenizer and tree builder (java htmlparser) 2020-01-15 22:07:59 -05:00
Matt A. Tobin 3da18fda02 Bug 1562033
Adjust tokenization of U+0000 (java htmlparser)
2020-01-15 18:10:14 -05:00
Matt A. Tobin ee1d953749 Bug 1347737 - Introduce a new non-heap-allocated type for holding nsStringBuffer* in the HTML parser. (java htmlparser) 2020-01-15 16:55:12 -05:00
Matt A. Tobin 984790c6fb Bug 1555523 (java htmlparser version) 2020-01-15 16:18:08 -05:00
Matt A. Tobin 6f27b4eb34 Bug 1322938 - Make the tree builder aware of <dialog>.
Tag #1343 | https://hg.mozilla.org/projects/htmlparser/rev/d9bdf700af247563fec9b07b52ede6bf61edd513
2020-01-15 15:30:54 -05:00
Matt A. Tobin 2ac58ecef8 Update the java codegen makefile for having the two libs in-tree and change a few target names so they aren't obnoxious 2020-01-15 14:59:35 -05:00
Matt A. Tobin 03fb2e2294 Add the java javaparser
https://github.com/javaparser/javaparser/
Invisible tag: javaparser-1.0.6
2020-01-15 14:58:11 -05:00
Matt A. Tobin 6168dbe21f Add java htmlparser sources that match the original 52-level state
https://hg.mozilla.org/projects/htmlparser/
Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d
2020-01-15 14:56:04 -05:00
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
Gaming4JC 2e3b937f4e Bug 1322938 - Basic implementation of HTMLDialogElement.
Tag #1343
2020-01-07 18:33:22 -05:00
wolfbeast f71108680b Issue #1118 - Part 6: Fix various tests that are no longer correct.
The behavior change of document.open() requires these tests to be
changed to account for the new spec behavior.
2019-12-22 23:48:40 +01:00
wolfbeast dacb3da00b Issue #1317 - Increase the XML nested depth limit to 2048.
- Converts from macro to static const for the limit.
- Uses a check against the declared type for the counter instead of
  a hard-coded one.

This resolves #1317.
2019-12-12 17:00:08 +01:00
Henri Sivonen 7bccd87695 Adjust tokenization of U+0000 2019-10-24 11:43:25 +02:00
wolfbeast 245bbebbc2 Issue #1255 - Port upstream fix from libexpat 2019-10-23 10:32:13 +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
trav90 d79c475021 Make nsScannerIterator a trivial type in order to use memset 2018-09-02 16:45:29 -05: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
wolfbeast 7d0c56c287 Restrict XML file recursion depth to 200.
This resolves #2.
2018-02-02 18:55:59 +01:00
Matt A. Tobin 5f8de423f1 Add m-esr52 at 52.6.0 2018-02-02 04:16:08 -05:00