Commit message (Collapse) | Author | Age | Lines | |
---|---|---|---|---|
* | Issue #618 - Implement async attribute for inline module scripts. (uplift) | Moonchild | 2020-08-30 | -1/+1 |
| | | | | | | | | | | This commit does several things: - Moves the pref check from ScriptLoader to ns[I]Document so it can be called on the document. - Changes the atrribute freezing function to a better name that takes the document as a parameter. - Sets the proper async/defer attributes on HTML script elements based on keywords and whether they are module scripts or not. | |||
* | Issue #618 - (async, preload) Correctly pass info about async/defer to parser. | Moonchild | 2020-08-30 | -12/+38 |
| | | | | | | This makes sure we don't block body-referred sub-resources by head-referenced defer and async scripts. This is important for all script loads, not just modules, but is added here because it was run into while implementing modules. | |||
* | Issue #1603 - Part 1: Reorganize ScriptLoader/ScriptElement | Moonchild | 2020-07-10 | -5/+5 |
| | | | | | | - Moves scripting parts of DOM into 'dom/script' - Renames nsScript{Loader/Element} to Script{Loader/Element} - Adjusts all callers | |||
* | [Parser] Move setting context to null to the correct location. | Henri Sivonen | 2020-04-14 | -4/+4 |
| | ||||
* | Update readme instructions for how to use the java html5 parser codegen makefile | Matt A. Tobin | 2020-01-16 | -18/+13 |
| | ||||
* | Regenerate nsHtml5*.cpp files from java htmlparser sources | Matt A. Tobin | 2020-01-16 | -132/+100 |
| | ||||
* | Update the html5 parser java codegen makefile to clean up snapshot javasrc | Matt A. Tobin | 2020-01-16 | -1/+4 |
| | ||||
* | Remove obsolete javasrc snapshot | Matt A. Tobin | 2020-01-16 | -20001/+0 |
| | ||||
* | Update java htmlparser copyright on code to be translated to cpp | Matt A. Tobin | 2020-01-16 | -0/+20 |
| | ||||
* | Fix an issue with the html5 tokenizer and tree builder (java htmlparser) | Matt A. Tobin | 2020-01-15 | -18/+35 |
| | ||||
* | Bug 1562033 | Matt A. Tobin | 2020-01-15 | -11/+1 |
| | | | | Adjust tokenization of U+0000 (java htmlparser) | |||
* | Bug 1347737 - Introduce a new non-heap-allocated type for holding ↵ | Matt A. Tobin | 2020-01-15 | -33/+38 |
| | | | | nsStringBuffer* in the HTML parser. (java htmlparser) | |||
* | Bug 1555523 (java htmlparser version) | Matt A. Tobin | 2020-01-15 | -6/+3 |
| | ||||
* | Bug 1322938 - Make the tree builder aware of <dialog>. | Matt A. Tobin | 2020-01-15 | -43/+46 |
| | | | | Tag #1343 | https://hg.mozilla.org/projects/htmlparser/rev/d9bdf700af247563fec9b07b52ede6bf61edd513 | |||
* | Update the java codegen makefile for having the two libs in-tree and change ↵ | Matt A. Tobin | 2020-01-15 | -24/+6 |
| | | | | a few target names so they aren't obnoxious | |||
* | Add the java javaparser | Matt A. Tobin | 2020-01-15 | -0/+28525 |
| | | | | | https://github.com/javaparser/javaparser/ Invisible tag: javaparser-1.0.6 | |||
* | Add java htmlparser sources that match the original 52-level state | Matt A. Tobin | 2020-01-15 | -0/+62553 |
| | | | | | https://hg.mozilla.org/projects/htmlparser/ Commit: abe62ab2a9b69ccb3b5d8a231ec1ae11154c571d | |||
* | Reinstate the java->c++ source, generator code + documentation. | wolfbeast | 2020-01-13 | -0/+20210 |
| | | | | | | | | 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 c6446f1126232935c85397aac493113dd38496cd. | |||
* | Bug 1322938 - Make the HTML tree builder aware of <dialog>. | Gaming4JC | 2020-01-07 | -221/+227 |
| | | | | | Original patch by :hsivonen Tag #1343 | |||
* | Adjust tokenization of U+0000 | Henri Sivonen | 2019-10-24 | -13/+2 |
| | ||||
* | Remove HTML5 parser java docs and generation code. | wolfbeast | 2019-09-04 | -20210/+0 |
| | | | | | java->C++ automated translation is not something we want to deal with now or in the future. | |||
* | Belatedly fix html5 parser attribution for files not covered by the MPL. | wolfbeast | 2019-09-04 | -0/+17 |
| | ||||
* | Fix an issue with the html5 tokenizer and tree builder. | wolfbeast | 2019-09-04 | -39/+103 |
| | ||||
* | Convert dom/base/nsImageLoadingContent.cpp to use AsyncOpen2 and followups ↵ | win7-7 | 2019-08-08 | -2/+3 |
| | | | | | | 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) | |||
* | Bug 1555523. | Henri Sivonen | 2019-07-20 | -11/+5 |
| | ||||
* | Introduce a new non-heap-allocated type for holding nsStringBuffer* in the ↵ | win7-7 | 2019-07-05 | -358/+719 |
| | | | | | | HTML parser. An innerHTML setter profile shows about 10% of the time being spent under nsHtml5HtmlAttributes::clear, mostly deleting nsStrings. | |||
* | use memcmp for nsIAtom Equals to improve performance parser/html | win7-7 | 2019-05-25 | -1/+1 |
| | | | issue MoonchildProductions#1113 Use memcmp and not slower string Equals in nsHtml5Portability::localEqualsBuffer | |||
* | make HTML parser to use faster atomization in main thread | win7-7 | 2019-05-24 | -1/+1 |
| | ||||
* | backport m-c 1510114: Fix Use-After-Free in the HTML5 Parser | Gaming4JC | 2019-05-04 | -5/+12 |
| | | | | Fixes #1076 | |||
* | Fix constructor in nsHtml5AtomTable.cpp | adeshkp | 2018-08-04 | -4/+1 |
| | | | Follow up to 2bc00ef to fix build bustage | |||
* | Improve nsHtml5AtomTable performance (#693) | adeshkp | 2018-08-04 | -0/+20 |
| | | | | | * cpp change * h change | |||
* | Add a check to prevent a crash when CSP directives are used with chrome content | Matt A. Tobin | 2018-06-02 | -1/+6 |
| | | | | Chrome content uses System Principle and this kind of speculative preloading of CSP just won't work. | |||
* | Disable -Wimplicit-fallthrough in parser/html | trav90 | 2018-03-04 | -4/+3 |
| | | | | GCC 7 supports the clang option -Wimplicit-fallthrough. | |||
* | Add m-esr52 at 52.6.0 | Matt A. Tobin | 2018-02-02 | -0/+55240 |