Commit graph

114 commits

Author SHA1 Message Date
Russell Cousineau
2440e0f98a set referrer in window.load_url
- this conforms to follow-hyperlinks spec step 13
- this conforms to window-open spec step 14.3
- replace uses of `referrer_url` with `referrer`
- in Request class, change "no-referrer" to ""
- set websocket fetch referrer to "no-referrer"
2019-04-19 16:50:38 -07:00
WPT Sync Bot
c5c325d8bb Update web-platform-tests to revision e3cf1284464a4a3e46fd15e4138f8e32c6cecdd8 2019-04-19 00:12:29 -04:00
WPT Sync Bot
39f4d8b931 Update web-platform-tests to revision 20424e735a5e6ac7a474ae35d86c714272aea0e8 2019-04-18 00:23:21 -04:00
WPT Sync Bot
93d826f7ba Update web-platform-tests to revision 122a4672fa0dc554a6e7528fa3487fd907c792ee 2019-03-23 23:57:08 -04:00
WPT Sync Bot
372e03fe64 Update web-platform-tests to revision 0f31ab1b094596062154092307bb9ff8e6122533 2019-01-15 22:08:50 -05:00
WPT Sync Bot
b0862d9cc1 Update web-platform-tests to revision ac4274136e9a034628a3a469890c8e37babbc902 2018-12-14 21:54:18 -05:00
WPT Sync Bot
73a776843f Update web-platform-tests to revision de9a09ab7f605aed6a4b53ed96427412bab76463 2018-12-01 22:55:47 -05:00
bors-servo
34c40f34bf
Auto merge of #22282 - servo-wpt-sync:wpt_update_27-11-2018, r=jdm
Sync WPT with upstream (27-11-2018)

Automated downstream sync of changes from upstream as of 27-11-2018.
[no-wpt-sync]

<!-- 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/22282)
<!-- Reviewable:end -->
2018-11-28 15:44:33 -05:00
WPT Sync Bot
5c371dd958 Update web-platform-tests to revision 9c2bea6dac36e36ba1f489d10c2be42160d8f34f 2018-11-27 23:18:10 -05:00
George Roman
73f11d69ea Change Response's statusText default value from 'Ok' to an empty string 2018-11-27 19:26:40 +02:00
Josh Matthews
651a6990d0 Update expectations. 2018-11-23 16:33:47 -05:00
ddh
26007fddd3 refactored performance timing to align with updated spec
refactoring with ResourceFetchMetadata

implemented deprecated window.timing functionality

created ResourceTimingListener trait

fixed w3c links in navigation timing

updated include.ini to run resource timing tests on ci
2018-11-20 16:21:32 +00:00
WPT Sync Bot
1d0624b343 Update web-platform-tests to revision 04cd5eb8e5c47e4fe341f2fb541d39fa2346f464 2018-11-16 22:24:36 -05:00
WPT Sync Bot
4a942c982f Update web-platform-tests to revision fb15e14b52049f952612623ee0d7fb7a620a57c9 2018-11-01 23:02:46 -04:00
Bastien Orivel
024b40b39d Update hyper to 0.12 2018-11-01 19:17:36 +01:00
CYBAI
fd833207d4 Label as ERROR due to ReadableStream not implemented yet
This should be fixed when #21482 is done.
2018-10-18 22:12:21 +08:00
CYBAI
9039a5cc71 Update test cases 2018-10-18 19:13:23 +08:00
WPT Sync Bot
8ea5658199 Update web-platform-tests to revision 50ff4f970fd8592a9f436d4e86e7d572de143260 2018-09-20 22:44:37 -04:00
WPT Sync Bot
6c901de216 Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae 2018-09-02 13:22:16 +00:00
WPT Sync Bot
394aced19f Update web-platform-tests to revision ab64b78a8f6777a1d95d8d1d4bba9ccdbecf94ea 2018-08-26 23:02:58 -04:00
WPT Sync Bot
280c87822d Update web-platform-tests to revision 50d6ee076e94273080d9f3b69be0bf4eeae156d3 2018-08-22 23:24:36 -04:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
WPT Sync Bot
8edc7686ef Update web-platform-tests to revision 2dda7b8c10c7566fa6167a32b09c85d51baf2a85 2018-08-16 22:42:22 -04:00
WPT Sync Bot
defee2aae0 Update web-platform-tests to revision b382ac7192087da0a7439902e20be76ab7587ee8 2018-08-10 23:07:02 -04:00
WPT Sync Bot
8423a90871 Update web-platform-tests to revision 848ceffad26e92d47ffe790ed8b650906b2c2343 2018-08-10 14:45:43 -04:00
WPT Sync Bot
a5af9a106a Update web-platform-tests to revision 3f9178031eec5374c9a7d5709a7e11ba4a1955ed 2018-07-22 22:39:46 -04:00
Connor Brewster
61442cce4b Track hash changes in session history
Notify history changed on pushState and scroll to frag
2018-07-21 12:38:51 -06:00
WPT Sync Bot
775b784f79 Update web-platform-tests to revision 60220357131c65146444da1f54624d5b54d0975d 2018-07-18 22:07:44 +00:00
bors-servo
a69c117da2
Auto merge of #21187 - tigercosmos:fetch, r=jdm
Make fetch() API use same-origin credentials by default

<!-- 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: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #21146 (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/21187)
<!-- Reviewable:end -->
2018-07-16 22:46:30 -04:00
tigercosmos
af3741ab26 Make fetch() API use same-origin credentials by default 2018-07-17 10:28:24 +08:00
WPT Sync Bot
4787b28da3 Update web-platform-tests to revision 7a6f5673ff5d146ca5c09c6a1b42b7706cfee328 2018-06-28 22:43:00 -04:00
WPT Sync Bot
8c46b67f8e Update web-platform-tests to revision 4333a1d2f109795547fc5e22ebfc8481fa649de7 2018-06-22 22:44:39 -04:00
WPT Sync Bot
a3df7c3a3c Update web-platform-tests to revision c0fbd59769588391d78838086bd02ad394301655 2018-06-05 22:49:16 -04:00
WPT Sync Bot
8f98acd0e7 Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64 2018-05-29 23:08:06 -04:00
WPT Sync Bot
24183668c4 Update web-platform-tests to revision 81962ac8802223d038b188b6f9cb88a0a9c5beee 2018-05-18 23:55:46 -04:00
WPT Sync Bot
816185f094 Update web-platform-tests to revision ea14651f262003177d0ba5819bd2806a1327b12a 2018-04-30 23:01:48 -04:00
WPT Sync Bot
84b40513c3 Update web-platform-tests to revision 4f397167b4ed552a02201c92d363cfaecfe2c7f0 2018-04-27 17:36:30 +02:00
WPT Sync Bot
7d1071a6a4 Update web-platform-tests to revision 5084587f6b05bf99ad09e7844be66dcc61070cdf 2018-04-26 10:56:37 +02:00
WPT Sync Bot
e891345f26 Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee 2018-04-23 23:10:53 -04:00
WPT Sync Bot
09b1413275 Update web-platform-tests to revision fc33be9acfbf8e883fd9683c527aab22d842542b 2018-03-30 23:11:51 -04:00
Nupur Baghel
3f06ccb1ac updated the test files due to typed array support 2018-03-29 11:29:26 +05:30
Nupur Baghel
2009c4e481 typed array support for XMLHttpRequest's send API 2018-03-29 11:10:00 +05:30
bors-servo
25dcd0ecfd
Auto merge of #20450 - ysimonson:fix-13464, r=jdm
Properly rethrow any exceptions from parsing JSON in Body mixin's `Json()`

This fixes #13464 by rethrowing exceptions from parsing JSON.

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #__ (github issue number if applicable).
- [X] There are tests for these changes

<!-- 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/20450)
<!-- Reviewable:end -->
2018-03-27 22:44:32 -04:00
Yusuf Simonson
d8e5b558f4 Properly rethrow any exceptions from parsing JSON in Body mixin's Json() 2018-03-27 10:20:59 +08:00
WPT Sync Bot
395556b779 Update web-platform-tests to revision d04a8fc02b85bd32799691759c8c05ead07cd939 2018-03-25 23:24:11 -04:00
bors-servo
23b2f42a36
Auto merge of #20406 - kwonoj:feat-fetch-body-arraybuffer, r=jdm
feat(fetch): accept arraybuffer in consume_body

<!-- Please describe your changes on the following line: -->
Related to https://github.com/servo/servo/issues/20346.

I realized I am not sufficiently knowledgeable about codebases and have high confidence this PR is not ready to be accepted. Raising it as PR early to possibly ask some suggestions around codebases.

If this PR seems unrecoverable by code review, please feel freely close and unassign me from issue 🙏

This PR tries to implement #20346, updating `Body` idl and implements corresponding implementation in `body.rs` for `fetch`. Criteria for changes may includes

- does `run_array_buffer_data_algorithm` implementation is legit for allocating arraybuffer? (probably not)
- does `run_array_buffer_data_algorithm` implementation is acceptable for handling error, by naively returning `Error::JSFailed`?
- there are some number of wpt test started to PASS with this PR. Is this legit side effect, or something incorrect by current implementation?
- etcs, vice versa

---
<!-- 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 #20346 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____
- wpt test has changed in PR, need to be reviewed.

<!-- 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/20406)
<!-- Reviewable:end -->
2018-03-24 13:46:20 -04:00
OJ Kwon
80304a133f
test(wpt): update fetch test metadata 2018-03-24 08:57:33 -07:00
WPT Sync Bot
2b35c55ac7 Update web-platform-tests to revision d04a8fc02b85bd32799691759c8c05ead07cd939 2018-03-23 22:48:00 -04:00
WPT Sync Bot
6b4026ce2f Update web-platform-tests to revision 26e8a76d7fbea0721468e791a325444ac9939a4f 2018-03-21 22:47:14 -04:00
WPT Sync Bot
db5631a086 Update web-platform-tests to revision e87f38097902e16348d4e17f4fe3bc2d0112bff1 2018-03-17 23:34:27 -04:00