Commit graph

8771 commits

Author SHA1 Message Date
WPT Sync Bot
3a48586f85 Update web-platform-tests to revision f283c90ff58ce6b758525ba9ef8f7885d466730f 2019-08-27 14:28:42 +00:00
bors-servo
2d9e170157
Auto merge of #24046 - Eijebong:fix-open-for-spec, r=jdm
Update Window::open and document::open parameters to match the spec

Fixes #24012

<!-- 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/24046)
<!-- Reviewable:end -->
2019-08-26 16:19:53 -04:00
WPT Sync Bot
0233eb3d32 Update web-platform-tests to revision 94a0b420301fc9d7da16097083ecdce927e22343 2019-08-26 14:37:21 +00:00
WPT Sync Bot
4561003c7e Update web-platform-tests to revision 6933aa6626e5dbbe66a5c2b1835b511a6438a632 2019-08-25 15:02:15 +00:00
Bastien Orivel
ec6b478775 Update Window::open and document::open parameters to match the spec
Fixes #24012
2019-08-24 17:22:44 +02:00
WPT Sync Bot
57ea61dc86 Update web-platform-tests to revision 3bac98b37f29ec287e115fcecff566eb081131a8 2019-08-24 14:06:09 +00:00
WPT Sync Bot
482fda3a78 Update web-platform-tests to revision 33c263fb308d1c3f6ac6d2590d7292317262819d 2019-08-23 13:55:23 +00:00
bors-servo
cacd4ed4e2
Auto merge of #23997 - collares:audiobuffersourcenode, r=ferjm
Implement missing functionality of AudioBufferSourceNode

<!-- Please describe your changes on the following line: -->
This is a tiny PR to support [Media #293](https://github.com/servo/media/pull/293). Last time I ran WPT there was only one failing AudioBufferSourceNode test (which I will debug later this week). Once I rebased, however, I started getting unrelated servo-media build failures:

```
error[E0599]: no method named `shutdown_audio_context` found for type `std::sync::Arc<servo_media::ServoMedia>` in the current scope
   --> components/script/dom/baseaudiocontext.rs:566:14

error[E0599]: no method named `shutdown_player` found for type `std::sync::Arc<servo_media::ServoMedia>` in the current scope
    --> components/script/dom/htmlmediaelement.rs:1866:18
```

I wanted to get this PR up so https://github.com/servo/media/pull/293 can be tested. When the unrelated build failures are fixed, I will run `./mach update-wpt` and update this PR.

---
<!-- 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` only reports unrelated errors (broken servo/media master?)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #22363

<!-- 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. -->

<!-- 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/23997)
<!-- Reviewable:end -->
2019-08-22 20:57:49 -04:00
bors-servo
2a9b2fe027
Auto merge of #23947 - georgeroman:finish_json_clone_functionality, r=jdm
Finish the JSON clone algorithm for WebDriver

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

<!-- 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. -->

<!-- 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/23947)
<!-- Reviewable:end -->
2019-08-21 20:56:24 -04:00
Mauricio Collares
4d43f34bac webaudio: update wpt test expectations 2019-08-21 20:03:42 -03:00
George Roman
c665a65690 Finish the JSON clone algorithm 2019-08-21 19:28:32 +03:00
bors-servo
4275420a56
Auto merge of #23844 - saschanaz:tojson, r=Manishearth
Support default toJSON in WebIDL

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

Ported related lines from gecko.

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

<!-- 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. -->

<!-- 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/23844)
<!-- Reviewable:end -->
2019-08-20 17:27:14 -04:00
George Roman
d3696baf27 Implement TakeElementScreenshot WebDriver command 2019-08-20 00:52:46 +03:00
WPT Sync Bot
76712d7d25 Update web-platform-tests to revision 82b73b315ce7ed1554e7a9b7bced66a5831e4ee5 2019-08-19 14:01:14 +00:00
bors-servo
00a9f30773
Auto merge of #23951 - georgeroman:return_errorstatus_from_webdriverhandlers, r=jdm
Return ErrorStatus from webdriver_handlers

<!-- Please describe your changes on the following line: -->
With `webdriver 0.40`, `ErrorStatus` implements `Deserialize`. Now we can accommodate for multiple errors occuring in `webdriver_handlers`.

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

<!-- Either: -->

<!-- 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/23951)
<!-- Reviewable:end -->
2019-08-19 02:10:41 -04:00
George Roman
d7b9fede99 Return ErrorStatus from webdriver_handlers 2019-08-18 15:30:55 +03:00
bors-servo
8d515564e8
Auto merge of #23985 - servo-wpt-sync:wpt_update_16-08-2019, r=servo-wpt-sync
Sync WPT with upstream (16-08-2019)

Automated downstream sync of changes from upstream as of 16-08-2019.
[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/23985)
<!-- Reviewable:end -->
2019-08-17 09:45:51 -04:00
bors-servo
9bba14cb43
Auto merge of #23838 - servo:url-2.0, r=Manishearth
Update the url crate to 2.0

Blocked on:

* [x] https://github.com/housleyjk/ws-rs/pull/283 + undoing corresponding `[patch.crates-io]` entry

Soft-blocked on: (we could add to the crate duplication allow-list instead)

* [x] ~https://github.com/rust-windowing/winit/pull/1066~
  - [x] https://github.com/rust-windowing/winit/pull/1076
* [x] https://github.com/servo/media/pull/288
* [ ] https://github.com/servo/webrender/pull/3720
* [x] https://github.com/gobwas/influent.rs/pull/22
* [ ] https://bugzilla.mozilla.org/show_bug.cgi?id=1568540
  - [x] https://github.com/seanmonstar/warp/pull/260
  - [ ] https://github.com/abonander/multipart/pull/121

<!-- 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/23838)
<!-- Reviewable:end -->
2019-08-17 04:14:32 -04:00
Simon Sapin
9392180007 Update to url 2.0 2019-08-17 10:03:44 +02:00
WPT Sync Bot
02a68a38f0 Update web-platform-tests to revision 936827a6527f1c53051d3bc5bc79304c88c0737f 2019-08-16 14:22:21 +00:00
bors-servo
aa60077563
Auto merge of #23973 - emilio:gecko-sync, r=emilio,jdm
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- 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/23973)
<!-- Reviewable:end -->
2019-08-16 06:44:52 -04:00
bors-servo
c585f4fff5
Auto merge of #23962 - servo-wpt-sync:wpt_update_13-08-2019, r=servo-wpt-sync
Sync WPT with upstream (13-08-2019)

Automated downstream sync of changes from upstream as of 13-08-2019.
[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/23962)
<!-- Reviewable:end -->
2019-08-16 02:32:29 -04:00
bors-servo
376847c415
Auto merge of #23805 - georgeroman:initial_actions_support_in_webdriver, r=jdm
Initial Actions support in WebDriver

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

<!-- 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. -->

<!-- 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/23805)
<!-- Reviewable:end -->
2019-08-15 19:26:53 -04:00
bors-servo
60c1908874
Auto merge of #23919 - tdelacour:ISSUE-21803, r=jdm
ISSUE-21803: Implement ConstantSourceNode audionode

<!-- Please describe your changes on the following line: -->
More or less followed the steps outlined in `components/script/dom/mod.rs` (and also used the [previous PR](https://github.com/servo/servo/pull/23152) on this issue as reference). Updated `wpt` tests as well.

---
<!-- 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 #21803 (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. -->

<!-- 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/23919)
<!-- Reviewable:end -->
2019-08-15 18:05:33 -04:00
Emilio Cobos Álvarez
d935232fae
Update test expectations. 2019-08-15 17:52:22 +02:00
WPT Sync Bot
93a31731d9 Update web-platform-tests to revision 9f01716569ae5dfd79675ea55718e48017d077a8 2019-08-13 17:10:08 +00:00
Thomas Delacour
6027dd148a ISSUE-21803: implement ConstantSourceNode audionode 2019-08-13 10:13:05 -04:00
Manish Goregaokar
acfe1ee0dd Add support for OpenXR hololens backend 2019-08-12 19:28:48 -07:00
bors-servo
9b4b02275e
Auto merge of #23949 - servo-wpt-sync:wpt_update_11-08-2019, r=servo-wpt-sync
Sync WPT with upstream (11-08-2019)

Automated downstream sync of changes from upstream as of 11-08-2019.
[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/23949)
<!-- Reviewable:end -->
2019-08-11 17:50:27 -04:00
WPT Sync Bot
add1a306e5 Update web-platform-tests to revision 2f08203a98291809cf67839232d45e68752dcb25 2019-08-11 14:55:16 +00:00
Bastien Orivel
1bf9df9354 Move the clear-100x50.png image to the right directory
Also removes an unused duplicate of that file.

All the references to that file are made through
`/images/clear-100x50.png`. Since it didn't exist until now, the tests
were showing an empty expected result which confused me a bit while
debugging canvas issues.
2019-08-11 14:38:27 +02:00
bors-servo
59f9a3d370
Auto merge of #23946 - servo-wpt-sync:wpt_update_10-08-2019, r=servo-wpt-sync
Sync WPT with upstream (10-08-2019)

Automated downstream sync of changes from upstream as of 10-08-2019.
[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/23946)
<!-- Reviewable:end -->
2019-08-10 17:04:28 -04:00
George Roman
75efb09147 Initial actions support in WebDriver 2019-08-10 23:18:03 +03:00
WPT Sync Bot
a45a4f8e2b Update web-platform-tests to revision ebeb032b23de5abb7f9fd7fffcf471eaa6e2c154 2019-08-10 14:35:44 +00:00
George Roman
58f80f4ff3 Add support for returning array-like types from the Execute(Async)Script wd command 2019-08-10 12:39:10 +03:00
WPT Sync Bot
9f1d1e8b63 Update web-platform-tests to revision 0d4300c5045a5587c2eb3d1416b11ffeecf5dadc 2019-08-08 14:19:30 +00:00
WPT Sync Bot
b09e82fc9f Update web-platform-tests to revision 66b4fab488695f98d15ad75b549e302a8d29f865 2019-08-07 14:09:56 +00:00
WPT Sync Bot
3a7bc18f6e Update web-platform-tests to revision bdb130748e35ceed09c82975e217e07bdabf0bda 2019-08-06 14:58:05 +00:00
WPT Sync Bot
217eb600af Update web-platform-tests to revision dcdebb1b8e7d3f9a4650498c1efeae78060294e5 2019-08-05 14:09:29 +00:00
WPT Sync Bot
c789859814 Update web-platform-tests to revision 2332a6bd8ab3d47986492a44d7a0455dfb4ad823 2019-08-04 14:59:41 +00:00
WPT Sync Bot
b68253eac0 Update web-platform-tests to revision 097043b336e46876e281ddec3bb014fe9c480128 2019-08-03 15:03:51 +00:00
Josh Matthews
3dea3d9132
Remove intermittent failure. 2019-07-31 10:06:03 -07:00
WPT Sync Bot
06b00da16b Update web-platform-tests to revision cfada7e6cb379699fa94c7ed8fcb97082327e10c 2019-07-31 13:42:02 +00:00
bors-servo
8e7daa77b6
Auto merge of #23856 - servo:stylo-engines, r=nox
Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}

Renaming the variable helped make sure I looked at every use.

Also auto-generate relevant parts of `CSSStyleDeclaration.webidl`, to make libscript compile accordingly.

<!-- 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/23856)
<!-- Reviewable:end -->
2019-07-30 02:40:38 -04:00
Simon Sapin
0215d09ccb Generate apis.html and css-properties.json for docs as part of crates’ build scripts
… rather than as an extra step after `cargo doc`.
This helps always using the correct set of CSS properties
(for layout 2013 v.s. 2020).
2019-07-30 08:37:33 +02:00
bors-servo
73784246b8
Auto merge of #23887 - servo:jdm-patch-47, r=asajeffrey
Use origin of final HTTP response as document origin

I discovered surprising problems when loading pages from http://joshmatthews.net that load same-origin images and try to use them as webgl textures. Since there's a redirect from joshmatthews.net to www.joshmatthews.net, the images are not considered same-origin in Servo because the document stores the origin for the original request's URL, rather than the origin of the response that is received after processing any redirections.

<!-- 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/23887)
<!-- Reviewable:end -->
2019-07-29 23:20:53 -04:00
Josh Matthews
bfd9bbe82a Use origin of final HTTP response as document origin. 2019-07-29 21:58:58 -04:00
Manish Goregaokar
d996d3c1eb Improve session test lifecycle code 2019-07-29 15:37:17 -07:00
Simon Sapin
ddb4e369dd Stylo: replace product={gecko,servo} with engine={gecko,servo-2013,servo-2020}
Renaming the variable helped make sure I looked at every use.
2019-07-29 17:37:03 +02:00
bors-servo
447ae1eae6
Auto merge of #23876 - jdm:long-webgl, r=asajeffrey
Make another webgl test have a longer timeout.

<!-- 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/23876)
<!-- Reviewable:end -->
2019-07-29 02:03:25 -04:00