Commit graph

9347 commits

Author SHA1 Message Date
WPT Sync Bot
fd709f9362 Update web-platform-tests to revision 95b19d0b902505286b705a71fe44fc8aa8fb608e 2021-01-03 10:54:25 +00:00
bors-servo
4d1641bf9b
Auto merge of #28006 - andreubotella:document-charset-bom, r=jdm
Fix `document.characterSet` not reflecting byte order marks.

The process of decoding the network byte stream to Unicode is backed by an instance of `encoding_rs::Decoder`, which will switch the encoding it uses if it finds a BOM in the byte stream. However, this change in encoding is not communicated back to the caller and so `document.characterSet` gives the wrong result. This change fixes that.

See whatwg/html#5359 and whatwg/encoding#203 for the spec-level backing for this change.

---
<!-- 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 #28005 (GitHub issue number if applicable)

<!-- Either: -->
- [X] 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. -->
2021-01-01 13:51:19 -05:00
WPT Sync Bot
21ff3d329a Update web-platform-tests to revision dbc7edfaa96e559b9aa34a9c898a1ad54d877b58 2021-01-01 10:54:38 +00:00
Andreu Botella
cd34f156f6 Fix document.characterSet not reflecting byte order marks.
The process of decoding the network byte stream to Unicode is backed by
an instance of `encoding_rs::Decoder`, which will switch the encoding it
uses if it finds a BOM in the byte stream. However, this change in
encoding is not communicated back to the caller and so
`document.characterSet` gives the wrong result. This change fixes that.

See whatwg/html#5359 and whatwg/encoding#203 for the spec-level backing
for this change.

Signed-off-by: Andreu Botella <abb@randomunok.com>
2020-12-31 13:43:33 +01:00
WPT Sync Bot
d13f3f47ed Update web-platform-tests to revision e7ab50584f431b0f67e17f33bc80ac368236fa00 2020-12-31 10:40:28 +00:00
WPT Sync Bot
d36d2d0fd5 Update web-platform-tests to revision 821a1ef63f08a7329175513b6c2eb00bb8b0152e 2020-12-29 11:01:34 +00:00
WPT Sync Bot
63e4de4132 Update web-platform-tests to revision 9c26c9eb197c1beeca8947c1195d9ca57decf20b 2020-12-28 11:01:43 +00:00
Josh Matthews
b665b9c34b
Remove intermittent failure. 2020-12-24 12:30:25 -05:00
Josh Matthews
21d2ddb58c
Remove intermittent timeout. 2020-12-24 10:30:08 -05:00
WPT Sync Bot
b960606d13 Update web-platform-tests to revision 2ccf303ec934a8adfc613c2a73395a31956ec817 2020-12-24 10:58:38 +00:00
WPT Sync Bot
c0df267756 Update web-platform-tests to revision 1c5816e523d00ad3854082245a52f09f7bdb0ff5 2020-12-23 10:29:12 +00:00
Josh Matthews
aec48b7cf8
Add 2020 timeout. 2020-12-22 10:58:43 -05:00
Josh Matthews
745eee8cb4
Add 2020 failures. 2020-12-22 09:50:14 -05:00
WPT Sync Bot
fbdfe2527b Update web-platform-tests to revision 9a1a27e665e531a65b28f4f589ae3cb66381da5f 2020-12-22 10:55:56 +00:00
WPT Sync Bot
a95d667e3b Update web-platform-tests to revision c00d2d2789528c5b1e009a6348ec7bd020322804 2020-12-21 10:41:53 +00:00
WPT Sync Bot
467cd5d41b Update web-platform-tests to revision 132850c9a27382ba1bf1ad4c4ee4ed9d4f69666b 2020-12-20 10:47:26 +00:00
WPT Sync Bot
f8d7dc71d4 Update web-platform-tests to revision 96bc64e830a61d73988c35ebd8b80719efefebf9 2020-12-19 10:56:51 +00:00
WPT Sync Bot
1599557991 Update web-platform-tests to revision 43dc4d2ac8f531153bdabfe45e6975a97e286862 2020-12-18 10:45:00 +00:00
WPT Sync Bot
b60f782258 Update web-platform-tests to revision 14e5eb0fbe4ed1c9c6ca6d980b3c71434fd1bcad 2020-12-17 10:43:37 +00:00
WPT Sync Bot
fe2a1a9e9d Update web-platform-tests to revision 48e3fd2f4d41fa00640d27738bdda07db95594cc 2020-12-16 11:01:01 +00:00
Josh Matthews
03d978fea2
Remove 2020 failure. 2020-12-15 07:36:40 -05:00
Josh Matthews
22d1588a00
Remove 2020 failure. 2020-12-15 07:36:24 -05:00
WPT Sync Bot
11a9f36057 Update web-platform-tests to revision d9591651df411fe105c176a498ab0cb0c58819fa 2020-12-15 11:02:46 +00:00
WPT Sync Bot
22bdac8d90 Update web-platform-tests to revision afd7ac5566c611165f3822c20e1a557a4970a252 2020-12-14 10:57:02 +00:00
Josh Matthews
afb6d890c9 Update 2020 test expectations. 2020-12-12 16:55:27 -05:00
WPT Sync Bot
c5424d579d Update web-platform-tests to revision 90a1381e3736eca4700c1b08fee8f313fea20593 2020-12-12 11:06:03 +00:00
Josh Matthews
c9cf1add91
Remove intermittent failure. 2020-12-11 11:32:55 -05:00
WPT Sync Bot
c67c5d4fb8 Update web-platform-tests to revision 6ea3164d34a632b16b857d7474985b93acd8de11 2020-12-11 10:42:45 +00:00
Josh Matthews
71dc69adee
Remove intermittent timeout. 2020-12-10 12:35:23 -05:00
WPT Sync Bot
7ae94b8030 Update web-platform-tests to revision 2b4f117a8fc636fc316b3864763db6b28e8a42bc 2020-12-10 10:49:16 +00:00
WPT Sync Bot
f3f98098f9 Update web-platform-tests to revision 009fb035613e9b4027125e8f30d60f4f1f502f65 2020-12-09 10:35:05 +00:00
Josh Matthews
6eacb9cbcd
Re-add 2020 failure. 2020-12-08 08:58:16 -05:00
Josh Matthews
b6cfa0ab89
Re-add 2020 failure. 2020-12-08 08:57:33 -05:00
WPT Sync Bot
fa3a407699 Update web-platform-tests to revision 431d16dc58b4e276add7d569cce302d8d246b299 2020-12-08 11:02:40 +00:00
WPT Sync Bot
9b5b9c9d00 Update web-platform-tests to revision 904342abe802f8b37446b0faca83be7afeccf3d1 2020-12-07 10:44:04 +00:00
WPT Sync Bot
b505991695 Update web-platform-tests to revision b464d69274950c7707855c0b29729d58b9a8d492 2020-12-05 11:00:15 +00:00
bors-servo
93c31df551
Auto merge of #27866 - lyuyuan:master, r=jdm
Implement referrerPolicy for HTMLScriptElement and HTMLLinkElement

<!-- Please describe your changes on the following line: -->
* Added referrerPolicy attribute in webidl files
* Implemented getters and setters for the new attribute
---
<!-- 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 #26454 (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. -->
2020-12-04 14:17:43 -05:00
WPT Sync Bot
5abb5fe693 Update web-platform-tests to revision 35450a5d2eb710e579c1554872247fa3eae7b5e9 2020-12-04 10:54:26 +00:00
WPT Sync Bot
6764feaa1e Update web-platform-tests to revision 4ac59dc8fb85817b4cf8fc801b524ed74743d2c1 2020-12-03 10:36:08 +00:00
WPT Sync Bot
48add2991a Update web-platform-tests to revision 2f95271debcba3e26e7294beeee4fa5a2ecfbfa0 2020-12-02 11:14:00 +00:00
WPT Sync Bot
6e75c491e4 Update web-platform-tests to revision 77f3f1533681dedef98a4c94c2abdb562d097002 2020-12-01 11:03:24 +00:00
YUAN LYU
a999850b24 Implement referrerPolicy for HTMLLinkElement and HTMLScriptElement 2020-12-01 00:37:16 -05:00
WPT Sync Bot
e59153d749 Update web-platform-tests to revision c27db3f1743ef9f3634f181a84f687da6260a395 2020-11-30 10:19:12 +00:00
WPT Sync Bot
33c2bfef75 Update web-platform-tests to revision 73c6ad369cbd5572ceaedfed98e4672ef1f42dd0 2020-11-28 11:01:37 +00:00
WPT Sync Bot
808edd90a4 Update web-platform-tests to revision fcb3495f6321b32f607cabcbe0e63a918f48d348 2020-11-27 10:41:42 +00:00
WPT Sync Bot
137bc05b6d Update web-platform-tests to revision 7726454dad3c91effded7b894ce5b1f62a2fced2 2020-11-26 10:45:56 +00:00
Jonathan Kingston
80902ee716 Update test expected outcomes 2020-11-25 18:58:19 +00:00
Jonathan Kingston
35eaf65974 Moving bluetooth tests to https. 2020-11-25 18:30:50 +00:00
Jonathan Kingston
0e1479cc84 Add creation url and Secure Contexts 2020-11-25 18:30:50 +00:00
WPT Sync Bot
d6361c0290 Update web-platform-tests to revision 93b6866ff28c52876dce145702c42511150c04bc 2020-11-25 10:57:43 +00:00