Commit graph

39986 commits

Author SHA1 Message Date
Patrick Shaughnessy
036e8dabe2 Labels are a live list in tree order 2020-01-06 10:39:36 -05:00
bors-servo
0d142bea9a
Auto merge of #25433 - servo-wpt-sync:wpt_update_05-01-2020, r=servo-wpt-sync
Sync WPT with upstream (05-01-2020)

Automated downstream sync of changes from upstream as of 05-01-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-01-05 10:24:00 -05:00
WPT Sync Bot
db5824faf8 Update web-platform-tests to revision 52ad8a87fb72bcf6950c20cced0d87f34e26dc81 2020-01-05 10:58:13 +00:00
bors-servo
afa1b85766
Auto merge of #25426 - kunalmohan:25149-EventOrigin, r=jdm
Remove `origin` parameter from `Worker::handle_message`

<!-- Please describe your changes on the following line: -->
Test in  `workers/interfaces/DedicatedWorkerGlobalScope/postMessage/message-event.html` was failing because worker.onmessage was seeing non-empty event.origin. Removing `origin` parameter from `Worker::handle_message` and sending `None` to `MessageEvent::dispatch_jsval` solves the issue.

r?@jdm

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

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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-01-03 21:42:13 -05:00
bors-servo
de50b4142b
Auto merge of #25417 - servo:profile, r=jdm,Manishearth
mach: automatically use the 'minimal' rustup profile + rustc-dev component

Fixes https://github.com/servo/servo/issues/25401
Fixes https://github.com/servo/servo/issues/25402
2020-01-03 19:08:08 -05:00
bors-servo
2488213d18
Auto merge of #25414 - pshaughn:activeparserabort, r=jdm
Add "active parser was aborted boolean" to Document

Aborting the document now definitely prevents a subsequent document.open from working, per spec as seen in #24458.

---
<!-- 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 #24458 and fix #21279

<!-- Either: -->
- [X] There are tests for these changes (currently intermittent in #21279, this will make them deterministically pass)

<!-- 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-01-03 17:45:45 -05:00
bors-servo
33bea4a089
Auto merge of #25409 - pshaughn:nomenubutton, r=jdm
Remove "menu" from legal button types

Just cleanup from a spec change, passing a WPT test for it.

---
<!-- 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 #25382

<!-- Either: -->
- [X] There are tests for these changes OR

<!-- 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-01-03 17:11:32 -05:00
Kunal Mohan
0692a26bcc
Remove origin parameter from Worker::handle_message 2020-01-04 02:22:43 +05:30
bors-servo
7d986a2eb1
Auto merge of #25397 - teapotd:input-cloning-steps, r=jdm
Implement HTMLInputElement cloning steps

This change adds missing [cloning steps for input elements](https://html.spec.whatwg.org/multipage/#the-input-element%3Aconcept-node-clone-ext).

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25385
- [X] There are tests for these changes
2020-01-03 14:40:09 -05:00
bors-servo
77db7ea0ee
Auto merge of #25393 - teapotd:option-constructor, r=jdm
Implement HTMLOptionElement named constructor

This change implements `Option` named constructor for `HTMLOptionElement`.

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #25380
- [X] There are tests for these changes
2020-01-03 14:23:21 -05:00
bors-servo
2134bb15b7
Auto merge of #25399 - larsbergstrom:easier_vs2017_install, r=jdm
Add chocolatey steps for easier VS017 install

<!-- Please describe your changes on the following line: -->
Easier install steps for getting Visual Studio 2017 Community installed on your machine.

Thanks to https://github.com/microsoft/windows-dev-box-setup-scripts/blob/master/dev_app_desktop_cplusplus.ps1 for the steps, which I shamelessly borrowed from their MIT-licensed base.

---

- [ ] There are tests for these changes OR
- [x ] These changes do not require tests because readme only

<!-- 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/25399)
<!-- Reviewable:end -->
2020-01-03 09:14:58 -05:00
teapotd
155f69ce48 Implement HTMLOptionElement named constructor 2020-01-03 14:45:31 +01:00
bors-servo
ce7b3af906
Auto merge of #25416 - servo-wpt-sync:wpt_update_02-01-2020, r=jdm
Sync WPT with upstream (02-01-2020)

Automated downstream sync of changes from upstream as of 02-01-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-01-03 07:02:31 -05:00
bors-servo
171b543a8a
Auto merge of #25410 - pshaughn:ceupgrade, r=jdm
Implement CustomElementRegistry.upgrade

<!-- Please describe your changes on the following line: -->
An additional small change will be needed if whatwg/html#5126 lands, which will pass an infinite recursion test this is currently failing in custom-elements/upgrading.html (right now the test is asking for behavior that isn't in the spec).
The remaining test in custom-elements/custom-element-registry/upgrade.html is because it needs shadow DOM.

---
<!-- 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 #24989

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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-01-03 02:57:01 -05:00
bors-servo
3892d85fe0
Auto merge of #25407 - pshaughn:radiocase, r=jdm
Radio button grouping is now case-sensitive

Just catching up with a spec update, as explained in #25389

---
<!-- 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 #25389

<!-- Either: -->
- [X] There are tests for these changes
<!-- 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-01-02 23:56:36 -05:00
bors-servo
d47f0ad1f6
Auto merge of #25364 - kunalmohan:22912-MediaTracks, r=jdm
Add `track_list` member to AudioTrack, VideoTrack, TextTrack structs

Add member to the track structs pointing at their associated tracklist
and update it when the track is added or removed from a tracklist.

r?@jdm

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

<!-- Either: -->
- [X] There are tests for these changes

<!-- 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-01-02 21:34:24 -05:00
bors-servo
097a91112e
Auto merge of #25358 - pshaughn:looser_header_validation, r=jdm
Header values no longer have to be ASCII or UTF-8

<!-- Please describe your changes on the following line: -->
This passes some failed tests related to header validity when handling ByteStrings outside the printable ASCII range. A few failures remain because the HeaderValue class is stricter than WHATWG/WPT, disallowing various control-code bytes that the spec and tests expect to be allowed.

---
<!-- 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 some of the test cases described in #24903

<!-- Either: -->
- [X] There are tests for these changes OR

<!-- 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-01-02 21:05:08 -05:00
Josh Matthews
8c7a20ac86
Remove intermittent failure. 2020-01-02 18:08:35 -05:00
bors-servo
1e0f2e59b7
Auto merge of #25418 - servo:rustup, r=jdm
Fix some warnings in future Rust nightlies
2020-01-02 17:42:43 -05:00
Simon Sapin
8fc072a375 Don’t run ensure_bootstrapped when rustup is not used at all.
Linux WPT tasks on our CI don’t have rustup installed.
2020-01-02 19:25:01 +01:00
Simon Sapin
fdcc7653f2 Fix some warnings in future Rust nightlies 2020-01-02 19:22:03 +01:00
Simon Sapin
1d3fdc471e Fix Python 3 support in mach’s ensure_bootstrapped 2020-01-02 17:02:12 +01:00
Simon Sapin
895cf695c4 Fix a Python 3 warning
```
/home/simon/projects/servo/python/servo/testing_commands.py:301:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if err is not 0:
```
2020-01-02 16:44:17 +01:00
Patrick Shaughnessy
3bd30afcf3 Just the code, no metadata for now 2020-01-02 10:23:44 -05:00
Simon Sapin
56895198f4 Add timing for Android CI bootstrap 2020-01-02 16:11:20 +01:00
Simon Sapin
f93c03cda3 Install rust-docs rustup component in ./mach doc 2020-01-02 15:48:11 +01:00
Simon Sapin
1110cac184 mach + rustup: use the minimal profile and install rustc-dev 2020-01-02 15:48:11 +01:00
Simon Sapin
6f70a9c1de mach: always call ensure_bootstrapped before call_rustup_run 2020-01-02 15:30:33 +01:00
Simon Sapin
e96bcea669 mach: explicitly install the toolchain and target in ensure_bootstrapped 2020-01-02 15:30:33 +01:00
Simon Sapin
855601ebb4 mach: check rustup version in ensure_bootstrapped() 2020-01-02 15:30:33 +01:00
Simon Sapin
d4da65d149 mach: on Windows, opt into MSVC target for all uses of rust_toolchain() 2020-01-02 15:30:33 +01:00
Simon Sapin
e56e49e98f mach: run rustup target add in ensure_bootstrapped 2020-01-02 15:30:33 +01:00
Simon Sapin
cef92a2050 Mach: rename default_toolchain to rust_toolchain 2020-01-02 14:20:18 +01:00
WPT Sync Bot
ca3784874c Update web-platform-tests to revision 112ad5ca55d55f6da2ccc7468e6dcc91b4e5d223 2020-01-02 10:57:36 +00:00
bors-servo
7281336116
Auto merge of #25343 - Manishearth:autoraf, r=jdm
Do not wait for rAF to be requested in render loop

Servo-side of https://github.com/servo/webxr/pull/114

r? @jdm
2020-01-02 03:30:56 -05:00
Manish Goregaokar
666ee5ceff Kick the raf loop in inline sessions 2020-01-02 13:56:16 +05:30
bors-servo
106a0185f4
Auto merge of #25411 - servo-wpt-sync:wpt_update_01-01-2020, r=servo-wpt-sync
Sync WPT with upstream (01-01-2020)

Automated downstream sync of changes from upstream as of 01-01-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-01-01 22:40:42 -05:00
Patrick Shaughnessy
065bcee371 CustomElementRegistry.upgrade works by current spec 2020-01-01 22:23:44 -05:00
WPT Sync Bot
c2ea949ad5 Update web-platform-tests to revision fda9fa30b9c18f3689f09384c0d4f104c6e6fd4d 2020-01-01 11:08:11 +00:00
bors-servo
45cc558297
Auto merge of #25408 - pshaughn:wasmcase, r=jdm
Now using eq_ignore_case on WASM mimetype, per #25317

I have no idea how this would be tested.

---
<!-- 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 #25317

<!-- 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. -->
2019-12-31 23:58:59 -05:00
Patrick Shaughnessy
3da1251488 No more menu button 2019-12-31 20:03:30 -05:00
Patrick Shaughnessy
1506643f9a Now using eq_ignore_case on WASM mimetype, per #25317 2019-12-31 18:26:45 -05:00
Patrick Shaughnessy
b20881639e Radio button grouping is now case-sensitive 2019-12-31 17:57:59 -05:00
bors-servo
90acd1adc3
Auto merge of #25406 - servo-wpt-sync:wpt_update_31-12-2019, r=servo-wpt-sync
Sync WPT with upstream (31-12-2019)

Automated downstream sync of changes from upstream as of 31-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-12-31 07:36:37 -05:00
WPT Sync Bot
dacb7e9002 Update web-platform-tests to revision 74efe51f1faaa2bf3ff91c10f05a4ad9615a1553 2019-12-31 10:57:09 +00:00
Manish Goregaokar
01f27e9c69 Do not wait for rAF to be requested in render loop 2019-12-29 00:01:35 -08:00
bors-servo
267ce462d8
Auto merge of #25400 - servo-wpt-sync:wpt_update_28-12-2019, r=servo-wpt-sync
Sync WPT with upstream (28-12-2019)

Automated downstream sync of changes from upstream as of 28-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-12-28 08:06:22 -05:00
WPT Sync Bot
53226b4df1 Update web-platform-tests to revision 070df683f5a7999245622eec274974903c3560c2 2019-12-28 11:03:15 +00:00
Lars Bergstrom
bd650b0ec3 Add chocolatey steps for easier VS017 install 2019-12-27 16:52:03 -06:00
bors-servo
a0c99d2327
Auto merge of #25398 - servo-wpt-sync:wpt_update_27-12-2019, r=servo-wpt-sync
Sync WPT with upstream (27-12-2019)

Automated downstream sync of changes from upstream as of 27-12-2019.
[no-wpt-sync]
r? @servo-wpt-sync
2019-12-27 08:53:57 -05:00