aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/servoparser
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade to html5ever 0.16Simon Sapin2017-05-023-313/+214
|
* Properly coalesce whitespace when given a reference child (fixes #15979)Anthony Ramine2017-03-171-1/+6
|
* Properly handle annotation-xml integration points (fixes #15980)Anthony Ramine2017-03-161-0/+11
|
* Implement the form owner conceptMukilan Thiyagarajan2017-03-151-8/+32
|
* Make #[dom_struct] a proc_macro attributeAnthony Ramine2017-02-241-0/+1
|
* Add ImmutableOrigin to allow for serializing originsConnor Brewster2017-02-221-1/+1
|
* Auto merge of #15303 - nox:open-your-heart-to-eternal-dimension, r=jdmbors-servo2017-02-031-15/+100
|\ | | | | | | | | | | | | | | Implement document.open and document.close <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15303) <!-- Reviewable:end -->
| * Implement document.open and document.close (fixes #14591)Anthony Ramine2017-02-031-15/+100
| |
* | Auto merge of #15285 - simartin:issue_15017, r=noxbors-servo2017-02-031-10/+17
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #15017: Properly handle and report network errors on page loads. <!-- Please describe your changes on the following line: --> This patch fixes how network errors are handled during page loads: they would not be reported and cause crashes before, and do not anymore. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15017 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15285) <!-- Reviewable:end -->
| * Issue #15017: Properly handle and report network errors on page loads.Simon Martin2017-01-281-10/+17
| |
* | Allow windows to share browsing contexts.Alan Jeffrey2017-01-281-2/+2
| |
* | The constellation notifies the script thread about documents becoming ↵Alan Jeffrey2017-01-271-0/+2
|/ | | | inactive, active and fully active.
* Kill ServoParser::pipelineAnthony Ramine2017-01-271-26/+4
|
* Reformat dom::servoparserAnthony Ramine2017-01-251-61/+56
|
* Simplify processing of deferred scriptsAnthony Ramine2017-01-201-2/+1
| | | | | It is now done on-demand when a deferred script finished loading, and when the page source finished loading.
* Mark the page source as loaded only after parsing is doneAnthony Ramine2017-01-193-5/+21
|
* Reorder some steps in ServoParser::finishAnthony Ramine2017-01-171-6/+6
|
* Remove ScriptThread::parsing_completeAnthony Ramine2017-01-171-6/+18
|
* Store parser's current line when script elements are created.karenher2017-01-112-2/+9
| | | | | | Use the newly stored line as the starting line number when evaluating JS. This ensures that inline scripts will report errors with meaningful line numbers.
* Introduce PendingScriptAnthony Ramine2017-01-111-3/+3
| | | | | This moves scripts' loading results in Document, instead of maintaining them behind a DOMRefCell in each HTMLScriptElement.
* Introduce Document::has_pending_parsing_blocking_scriptAnthony Ramine2017-01-111-2/+2
|
* Unify text insertion when parsing HTML and XMLAnthony Ramine2017-01-103-29/+26
|
* Properly insert text in document when parsingAnthony Ramine2017-01-072-5/+19
| | | | | | | If the last child of a node is a Text child and we are inserting text in that node, we need to append it to that Text child. Doing that means that HTMLStyleElement::children_changed gets called less frequently, but that's not a problem during parsing thanks to the pop hook.
* Update xml5ever to 0.3.0Anthony Ramine2017-01-071-2/+7
|
* Pass the Document's origin to its constructor.Ms2ger2016-12-231-0/+1
| | | | CC #10963.
* Expose Quirks Mode information in the style shared context r=emilioJulien Wajsberg2016-12-171-0/+6
|
* Removed util.Alan Jeffrey2016-12-141-1/+1
|
* Remove HeapGCValueAnthony Ramine2016-12-121-2/+2
| | | | | | It could be used to have mutable JSVal fields without GC barriers. With the removal of that trait, MutHeap and MutNullableHeap can respectively be replaced by MutJS and MutNullableJS.
* Mark JSTraceable and its method as unsafeAnthony Ramine2016-12-062-6/+8
|
* Make Element::prefix return an Option<&DOMString>Anthony Ramine2016-12-011-1/+1
|
* Refactor fragment parsingAnthony Ramine2016-12-011-11/+25
|
* Implement document.write (fixes #3704)Anthony Ramine2016-11-281-87/+140
| | | | This is a bit crude because of some missing utility methods on BufferQueue.
* Rewrite how parser handles script schedulingAnthony Ramine2016-11-261-10/+36
|
* Make ServoParser::pending_input hold onto a BufferQueueAnthony Ramine2016-11-183-66/+55
|
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-173-10/+10
|
* Reorganise ServoParserAnthony Ramine2016-11-143-253/+263
| | | | | | Free-standing fonctions parse_html and friends are now static methods on ServoParser, and the HTML and XML tokenizers have been moved to private submodules.
* Update html5ever to 0.10.1Anthony Ramine2016-11-103-14/+12
|
* Update to string-cache 0.3Simon Sapin2016-11-033-8/+8
|
* Update html5ever to 0.8Anthony Ramine2016-11-032-17/+54
|
* Use fetch in ScriptThread.Ms2ger2016-11-021-6/+16
| | | | | I did not find the prose that defines the creation of the request in the HTML standard (if it exists).
* Bump html5ever to 0.5.5Anthony Ramine2016-10-171-1/+1
|
* switch to using DOMRefCell<VeqDeque<String>> for ServoParser::pending_inputGregory2016-10-161-4/+5
|
* Remove intrinsic Root::r()Anthony Ramine2016-10-112-8/+7
|
* Merge script::parse and script::dom::servoparserAnthony Ramine2016-10-113-0/+938