Auto merge of #21111 - gterzian:implement_document_load_cancellation, r=jdm

Implement document load cancellation

<!-- Please describe your changes on the following line: -->

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #19309 fix #21114 fix #21113 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- 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/21111)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-07-29 11:14:29 -04:00 committed by GitHub
commit 076198fe80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 195 additions and 104 deletions

View file

@ -1,5 +0,0 @@
[eventsource-request-cancellation.htm]
type: testharness
[EventSource: request cancellation]
expected: FAIL

View file

@ -1,3 +1,4 @@
[010.html]
type: testharness
expected: TIMEOUT
[Link with onclick form submit to javascript url with delayed document.write and href navigation ]
expected: FAIL

View file

@ -1,7 +1,4 @@
[window-properties.https.html]
[Window method: stop]
expected: FAIL
[Window method: focus]
expected: FAIL

View file

@ -1,3 +0,0 @@
[script-onerror-insertion-point-2.html]
type: testharness
expected: TIMEOUT

View file

@ -1,8 +1,3 @@
[aborted-parser.window.html]
expected: TIMEOUT
[document.open() after parser is aborted]
expected: TIMEOUT
[async document.open() after parser is aborted]
expected: TIMEOUT
expected: FAIL

View file

@ -4,7 +4,7 @@
[webtiming-resolution.any.worker.html]
expected: TIMEOUT
[Verifies the resolution of performance.now() is at least 20 microseconds.]
expected: FAIL
expected: FAIL
[Verifies the resolution of entry.startTime is at least 20 microseconds.]
expected: TIMEOUT