Commit graph

75 commits

Author SHA1 Message Date
WPT Sync Bot
ad8638dd6e Update web-platform-tests to revision e9e85e67994df01673a8eb55c47d1b6f5eb6c18a 2020-08-13 10:52:34 +00:00
WPT Sync Bot
714a3cfe1e Update web-platform-tests to revision 14f4f8e2c8ec5868a7c50fe647555cd966ba08a3 2020-08-11 10:55:40 +00:00
WPT Sync Bot
f1ca6b4be4 Update web-platform-tests to revision ad99a9e949c6006cc0f609501de77a0edb1e593a 2020-08-05 10:31:54 +00:00
WPT Sync Bot
1a3fdf7a13 Update web-platform-tests to revision e91d7d8c9a1f14438e44000dcd05ce6e658e4ae5 2020-07-11 10:36:48 +00:00
WPT Sync Bot
fa6a725a86 Update web-platform-tests to revision cb40575e1a57892476f3e326355674d492dedbd2 2020-06-27 10:37:34 +00:00
WPT Sync Bot
b24cb329fb Update web-platform-tests to revision 388763aee0d14246a2f8ebb24176424cc1983820 2020-06-24 10:26:28 +00:00
WPT Sync Bot
260441296f Update web-platform-tests to revision 401d9618fcda9dfbeac49b8055df98386f6118f1 2020-06-23 10:49:25 +00:00
CYBAI
0c938b3d75 Test imports under more than 3 levels in different modules 2020-06-23 10:02:05 +09:00
WPT Sync Bot
1b463fce85 Update web-platform-tests to revision 5c34fc630374b9eb0559139a486ff1a2e4247c4f 2020-05-28 11:23:41 +00:00
WPT Sync Bot
96553cb7e2 Update web-platform-tests to revision ae1e2d51f38e208f3d07a97b5d82f9ca0dda2c94 2020-05-14 11:21:00 +00:00
WPT Sync Bot
fb0507d174 Update web-platform-tests to revision a49081e46a18e439defbd77d18cc5e261d68b215 2020-05-12 11:19:00 +00:00
WPT Sync Bot
909e31e110 Update web-platform-tests to revision dfe0b490c6018fd36379f4c7726f9f6a37728838 2020-05-01 11:11:41 +00:00
WPT Sync Bot
77e26e71da Update web-platform-tests to revision 84f93271efe15a4e37fed477a2ad364f8659a0f8 2020-04-23 11:17:32 +00:00
WPT Sync Bot
7da408021a Update web-platform-tests to revision 5254eba7f17d10211b56c0d1958649bca29e8985 2020-04-07 10:45:43 +00:00
WPT Sync Bot
bd54acb29d Update web-platform-tests to revision 7d24adef541b2e836f2b2f9534ce3f0e078f5782 2020-03-18 11:05:52 +00:00
WPT Sync Bot
57fbf23022 Update web-platform-tests to revision 4cec5596c806088cd8f1781bdaab1d10abb72394 2020-03-11 13:28:16 +00:00
WPT Sync Bot
7e7c8873e4 Update web-platform-tests to revision ac16628eb7eb601957382053011363d2bcf8ce44 2020-02-17 11:33:33 +00:00
WPT Sync Bot
d2429e5077 Update web-platform-tests to revision 074719e3660000659cd074b8a59de69bd9b90cd7 2020-01-29 14:38:18 +00:00
WPT Sync Bot
0dae9ef764 Update web-platform-tests to revision 6fbd872e9ac5fe60e32946bc9b318be6eeada123 2019-12-14 10:59:49 +00:00
WPT Sync Bot
e613cfd108 Update web-platform-tests to revision 0ed072539aa45d3a5a67c9164b243d27873f257c 2019-12-13 11:03:54 +00:00
WPT Sync Bot
9c6bf785bd Update web-platform-tests to revision cbd8c8ca929bc1aea71087be3b826cf1ee189a52 2019-10-28 14:07:02 +00:00
WPT Sync Bot
555167ffdb Update web-platform-tests to revision 3564c21f260aeb6862ceaa56bee9c39b74db3440 2019-10-03 13:25:50 +00:00
WPT Sync Bot
d38b1c8241 Update web-platform-tests to revision 786fc058fd83cbf002be3a35100ab2a3b1f98d58 2019-09-20 14:30:34 +00:00
WPT Sync Bot
ba0f5f096a Update web-platform-tests to revision a3a4442b04c37155f81c4ad4ae9c06339f76ce14 2019-09-19 13:22:29 +00:00
WPT Sync Bot
c413a1139e Update web-platform-tests to revision 2660fc486f7027c913863d48a8843942f0c0365e 2019-09-12 15:00:14 +00:00
WPT Sync Bot
482fda3a78 Update web-platform-tests to revision 33c263fb308d1c3f6ac6d2590d7292317262819d 2019-08-23 13:55:23 +00:00
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
Gregory Terzian
571beec179 clean-up navigation
security: check target and source origin before executing JS url

implement replacement-enabled flag as a HistoryEntryReplacement enum

add source origin string on loaddata

add LoadOrigin

iframe: remove optional load-data

auxiliaries: add load-data into info

constellation: remove url from Pipeline::new

check load origin: link to whatwg issue

switch loadorigin toplevel to constellation
2019-07-18 12:03:45 +08:00
WPT Sync Bot
4499a0fbb6 Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc 2019-07-11 14:32:39 +00:00
WPT Sync Bot
a41065a1f4 Update web-platform-tests to revision 887d08e63a19b14acf3217df77f12c121a792fed 2019-06-18 14:07:33 +00:00
WPT Sync Bot
5e5eccabf8 Update web-platform-tests to revision e426a6933a05bf144eba06a1d4c47ba876a4e2d1 2019-05-22 14:00:10 +00:00
WPT Sync Bot
7cb8ac2fe2 Update web-platform-tests to revision d4f8820261cce3f9ee37353b6d76d247cb12a972 2019-03-30 23:51:59 -04:00
WPT Sync Bot
93d826f7ba Update web-platform-tests to revision 122a4672fa0dc554a6e7528fa3487fd907c792ee 2019-03-23 23:57:08 -04:00
WPT Sync Bot
05db47be0f Update web-platform-tests to revision 345300fad3945a5f1441fb2b2001109ca48f36e8 2019-02-08 22:35:01 -05:00
WPT Sync Bot
0bc27d4696 Update web-platform-tests to revision 71e901cf4534417abfabe4d77a317817f5cc09db 2019-01-03 21:56:54 -05:00
WPT Sync Bot
3b6ddd885a Update web-platform-tests to revision 4052654d786236b493d2df3cb80b9d3d1d0a8354 2018-12-12 22:53:27 -05:00
WPT Sync Bot
a44e48301c Update web-platform-tests to revision 912d5081b62d6e6a2f847935c82722e31cca7a1f 2018-12-10 23:19:57 -05:00
WPT Sync Bot
642f3cb541 Update web-platform-tests to revision a8fb1792cbfab3ed59401775da76fb6c15d9f2e2 2018-11-23 15:48:00 -05:00
WPT Sync Bot
ff06f1d031 Update web-platform-tests to revision 6856483bcc86322198f10e0c42385a7f9127eb66 2018-11-14 22:29:47 -05:00
WPT Sync Bot
4a942c982f Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9 2018-11-01 23:02:46 -04:00
WPT Sync Bot
7295abcc2a Update web-platform-tests to revision 36634cbcf3253dfe8d220990a27ad4eeebf8ec2f 2018-09-27 23:48:13 -04:00
WPT Sync Bot
141a52794b Update web-platform-tests to revision 8f8ff0e2a61f2a24996404921fe853cb1fd9b432 2018-09-17 22:59:59 -04:00
WPT Sync Bot
560e025ce7 Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560 2018-09-06 22:40:10 -04:00
WPT Sync Bot
0d3d7c36ab Update web-platform-tests to revision 04bc9c5667911cce7361ee33244dfc8d7ed61212 2018-09-03 22:46:44 -04:00
WPT Sync Bot
280c87822d Update web-platform-tests to revision 50d6ee076e94273080d9f3b69be0bf4eeae156d3 2018-08-22 23:24:36 -04:00
WPT Sync Bot
775b784f79 Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d 2018-07-18 22:07:44 +00:00
WPT Sync Bot
8c46b67f8e Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7 2018-06-22 22:44:39 -04:00
WPT Sync Bot
b322aa3943 Update web-platform-tests to revision de3ae39cb59880a8245431e7f09817a2a4dad1a3 2018-06-15 23:11:48 -04:00
WPT Sync Bot
83e2dc11b0 Update web-platform-tests to revision ee82278e15570e573d87fb80179ff8231b6db61a 2018-06-03 22:45:23 -04:00
WPT Sync Bot
24183668c4 Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee 2018-05-18 23:55:46 -04:00