servo/tests/wpt/web-platform-tests/html
bors-servo 2dfbbd0ca2
Auto merge of #23368 - gterzian:clean_up_navigation, r=asajeffrey
Clean-up navigation

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

1. Navigation as a result of following a hyperlink should be done in a task: https://html.spec.whatwg.org/multipage/links.html#following-hyperlinks:dom-manipulation-task-source
2. The javascript url navigation should also be done in a task: https://html.spec.whatwg.org/multipage/browsing-the-web.html#navigating-across-documents:dom-manipulation-task-source
3. In `window.load_url`, it seems there is no need to send a message to the script-thread(the entirety of `load_url` should instead be done in a task when appropriate), so we can just do that last part "sync" by calling a method on the script, which will send a message to the constellation(for the parallel navigation steps), or queue task(for the JS navigation), as appropriate.
4. Separate the "normal" navigation flow from the handling of "navigate an iframe" message from constellation, since doing everything in one method as was previously done with `handle_navigate`, is confusing.

---
<!-- 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 #___ (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/23368)
<!-- Reviewable:end -->
2019-07-18 14:22:03 -04:00
..
browsers Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
cross-origin Update web-platform-tests to revision e1942ace5be3a3962f204e630e9969acd70e3952 2019-06-13 14:01:23 +00:00
cross-origin-opener Update web-platform-tests to revision 3cb5a99e5521936fb8819de8aaba806050b84184 2019-06-23 14:05:43 +00:00
dom Update web-platform-tests to revision 9919d0f04266001686c09d47ff6e25c98b48d91f 2019-07-12 14:57:29 +00:00
editing Update web-platform-tests to revision 488f0f02d28b33060a091e3961e6849abe97bc4c 2019-06-05 14:40:06 +00:00
iana Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d 2018-07-18 22:07:44 +00:00
infrastructure Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
interaction/focus Update web-platform-tests to revision d3cf77a7b8c20c678b725238eaa8a72eca3787ae 2019-04-26 01:35:21 -04:00
obsolete Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d 2018-07-18 22:07:44 +00:00
rendering Update web-platform-tests to revision 719721f655102bcd24d45eba91339eb2d7dbc591 2019-07-14 14:52:54 +00:00
resources Update web-platform-tests to revision 58eb04cecbbec2e18531ab440225e38944a9c444 2017-04-22 14:17:10 +02:00
semantics Auto merge of #23368 - gterzian:clean_up_navigation, r=asajeffrey 2019-07-18 14:22:03 -04:00
syntax Update web-platform-tests to revision 63459a30a61cda53c8c8ab4dc645b142cd2f85ea 2019-07-16 14:33:08 +00:00
the-xhtml-syntax/parsing-xhtml-documents Update web-platform-tests to revision 63459a30a61cda53c8c8ab4dc645b142cd2f85ea 2019-07-16 14:33:08 +00:00
tools Update web-platform-tests to revision 66f38302334f162d363afcf4a1792d895072f3ef 2018-06-13 23:18:12 -04:00
user-activation Update web-platform-tests to revision c0a3e93389bdcc9e8ad12d3988e4568d48b78c9d 2019-06-29 14:17:20 +00:00
webappapis Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
META.yml Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae 2018-09-02 13:22:16 +00:00
README.md Update web-platform-tests to revision 8a2ceb5f18911302b7a5c1cd2791f4ab50ad4326 2017-10-12 12:36:21 -04:00

HTML

This directory contains tests for HTML.

Sub-directory names should be based on the URL of the corresponding part of the multipage-version specification. For example, The URL of "8.3 Base64 utility methods" is https://html.spec.whatwg.org/multipage/webappapis.html#atob. So the directory in WPT is webappapis/atob/.

For historical reasons, parts of HTML have their own directories: