Commit graph

6519 commits

Author SHA1 Message Date
bors-servo
aac4a3485f
Auto merge of #21430 - Eijebong:ws-origin, r=jdm
Properly set the origin on websocket messages

<!-- 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/21430)
<!-- Reviewable:end -->
2018-08-22 15:53:26 -04:00
Josh Matthews
9f746b33a8 wpt: Handle wpt version number changes when updating the manifest. 2018-08-21 09:24:16 -04:00
Alan Jeffrey
74c1e00d81 Upgraded to SM 60 2018-08-20 18:22:29 -04:00
bors-servo
cc41d52291
Auto merge of #21458 - servo-wpt-sync:wpt_update_18-08-2018, r=jdm
Sync WPT with upstream (18-08-2018)

Automated downstream sync of changes from upstream as of 18-08-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/21458)
<!-- Reviewable:end -->
2018-08-19 13:12:37 -04:00
bors-servo
e7791f9a00
Auto merge of #21452 - emilio:gecko-sync, r=emilio
style: Import 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/21452)
<!-- Reviewable:end -->
2018-08-19 07:57:53 -04:00
Emilio Cobos Álvarez
142cdcd3fd
Update test expectations. 2018-08-19 13:56:21 +02:00
WPT Sync Bot
3ebfea9f10 Update web-platform-tests to revision 6aef6676d2f95c29de17666cc70d61b517939fbf 2018-08-18 22:44:56 -04:00
WPT Sync Bot
0114122fe0 Update web-platform-tests to revision 6c2d23b1b5e4dc00c944eedd16a11850e74a2d11 2018-08-18 15:48:20 +00:00
WPT Sync Bot
8edc7686ef Update web-platform-tests to revision 2dda7b8c10c7566fa6167a32b09c85d51baf2a85 2018-08-16 22:42:22 -04:00
Bastien Orivel
a1925aab52 Properly set the origin on websocket messages 2018-08-16 16:53:38 +02:00
bors-servo
cfae377660
Auto merge of #21436 - Eijebong:ws-protocols, r=jdm
The WS protocols should be case sensitive, not insensitive

<!-- 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/21436)
<!-- Reviewable:end -->
2018-08-16 10:19:20 -04:00
Bastien Orivel
75c746655c The WS protocols should be case sensitive, not insensitive 2018-08-16 15:50:50 +02:00
bors-servo
83ade0c0b8
Auto merge of #21425 - servo-wpt-sync:wpt_update_15-08-2018, r=jdm
Sync WPT with upstream (15-08-2018)

Automated downstream sync of changes from upstream as of 15-08-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/21425)
<!-- Reviewable:end -->
2018-08-16 02:01:22 -04:00
WPT Sync Bot
2f89d25484 Update web-platform-tests to revision af43e2eb32555059316b67fba4a1d7df6ea3148d 2018-08-15 22:56:42 -04:00
Bastien Orivel
73ef02ff17 Handle secure websockets
Fixes #20816
2018-08-16 00:24:19 +02:00
bors-servo
97c6246385
Auto merge of #21386 - Eijebong:remove-websocket, r=jdm
Replace servo-websocket by ws

This is heavily based on previous work done in #16012.

Fixes #14517

<!-- 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/21386)
<!-- Reviewable:end -->
2018-08-15 14:54:32 -04:00
bors-servo
2ed30c5951
Auto merge of #21421 - servo:jdm-patch-10, r=mbrubeck
Add configuration for using ./wpt serve

This allows running `./wpt serve --alias_file ../aliases` to replicate Servo's multiple document root setup when running tests in other browsers.

<!-- 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/21421)
<!-- Reviewable:end -->
2018-08-15 13:36:31 -04:00
Bastien Orivel
2e11bc10fb Replace servo-websocket by ws
This is heavily based on previous work done in #16012.

Fixes #14517
2018-08-15 16:53:48 +02:00
Josh Matthews
60cfc3b395
Add configuration for using ./wpt serve 2018-08-15 09:43:22 -04:00
bors-servo
3424a5c51f
Auto merge of #21222 - nupurbaghel:update_source_set, r=jdm
Null image source check for src, srcset and picture parent

<!-- Please describe your changes on the following line: -->
This PR includes a test which checks for empty src only.
---
<!-- 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 #21221

<!-- Either: -->
- [x] These changes require tests and added

<!-- 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/21222)
<!-- Reviewable:end -->
2018-08-15 09:20:20 -04:00
nupurbaghel
40287dd618 add test to check for null image source 2018-08-15 12:06:31 +05:30
WPT Sync Bot
b642b70974 Update web-platform-tests to revision 86e157b387e63ba586d8ad51d2fcd5690626f5ad 2018-08-14 22:50:34 -04:00
bors-servo
bc82521eb7
Auto merge of #21372 - Eijebong:num-traits, r=jdm
Dedupe num-traits

<!-- 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/21372)
<!-- Reviewable:end -->
2018-08-14 11:09:46 -04:00
WPT Sync Bot
ca45711d07 Update web-platform-tests to revision c792ea26624bde49b72afce348de07ab72fb9ad7 2018-08-13 23:36:02 -04:00
Manish Goregaokar
7ff40e2ed4 Update WPT expectations 2018-08-13 17:48:41 -07:00
WPT Sync Bot
d81a78450f Update web-platform-tests to revision d31eacaff0c4d96f8c125c21faac6e0f75dd683c 2018-08-11 22:59:41 -04:00
bors-servo
af439de432
Auto merge of #21384 - servo-wpt-sync:wpt_update_10-08-2018, r=jdm
Sync WPT with upstream (10-08-2018)

Automated downstream sync of changes from upstream as of 10-08-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/21384)
<!-- Reviewable:end -->
2018-08-11 00:15:17 -04:00
WPT Sync Bot
defee2aae0 Update web-platform-tests to revision b382ac7192087da0a7439902e20be76ab7587ee8 2018-08-10 23:07:02 -04:00
Gregory Terzian
fee5428316 make auxiliary browsing-context script-closeable 2018-08-11 01:13:11 +02:00
Gregory Terzian
21bf5a3a4b implement opener, disowning 2018-08-11 01:13:11 +02:00
Gregory Terzian
f408b798c4 implement window.open, create auxiliary browsing context 2018-08-11 01:12:55 +02:00
Josh Matthews
b16a6268d9 Fix servodriver server configuration. 2018-08-10 14:45:47 -04:00
WPT Sync Bot
8423a90871 Update web-platform-tests to revision 848ceffad26e92d47ffe790ed8b650906b2c2343 2018-08-10 14:45:43 -04:00
Emilio Cobos Álvarez
689293e4fb
Fix Servo build. 2018-08-08 01:34:35 +02:00
Paul Rouget
0d9161dd7b WR update 2018-08-06 07:22:24 +02:00
Josh Matthews
03eb7e4dd2 webgl: Emulate some renderbuffer formats in non-GLES. 2018-08-02 02:05:53 -04:00
bors-servo
0051597525
Auto merge of #21158 - ferjm:webaudio, r=manishearth,nox,ferjm
WebAudio API

- [X] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #6710
- [X] There are tests for these changes

This PR adds basic support for the WebAudio API using [servo-media](https://github.com/servo/media) with GStreamer as the audio backend.

There are still some major stuff to fix like:

- [x] Detach ArrayBuffer during the [AudioBuffer "acquire the content" operation](https://webaudio.github.io/web-audio-api/#acquire-the-content). I am naively using `JS_StealArrayBufferContents()` directly, because it is what Gecko uses, but this should probably be part of the [rust-mozjs](https://github.com/servo/rust-mozjs) [TypedArray](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs) API. And, in any case, I am not even sure if that's the proper way to do it. According to the results of the WPTs it may not even be right since [this assertion](https://github.com/servo/rust-mozjs/blob/master/src/typedarray.rs#L285) is failing in some cases. I need to dig more about this.
- [x] Disable the GStreamer dependency on Android. Unfortunately gstreamer-rs requires an NDK version upgrade, so we need to disable this for Android until then. I tried adding [different features to servo-media](https://github.com/servo/media/pull/79), but I am currently hitting [this issue](https://github.com/rust-lang/cargo/issues/1197)

I still need to run servo-tidy, change the servo-media dependency to use the git repo and add/fix some comments and TODOs.

The remaining feature work should be done in future PRs.

Note that most of the failing WPTs are failing because we don't implement the tested features yet (we only implement a few AudioNodes) and we have no OfflineAudioContext support, which most WPTs rely on.

<!-- 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/21158)
<!-- Reviewable:end -->
2018-07-31 09:00:06 -04:00
Anthony Ramine
34d1195af3 Reenable origin-clean-conformance.html 2018-07-31 11:12:46 +02:00
Anthony Ramine
76f23f7d78 Simplify gl.getShaderParameter() (fixes #20562)
The expectation change is due to the shader now using its DOM-side compile status.
It is actually a bug for the shader to think it actually compiled successfully,
but at least it does so consistently now.
2018-07-31 11:12:45 +02:00
Anthony Ramine
a0fc4c9832 Fix program and shader lifetime cycle 2018-07-31 11:12:40 +02:00
Manish Goregaokar
2daf9ff3eb Update wpt expectations 2018-07-30 20:38:25 -07:00
Anthony Ramine
3c0e82d106 Reenable glsl-long-variable-names.html 2018-07-31 00:28:13 +02:00
Anthony Ramine
e2425c9158 Mark many-draw-calls.html as long-running 2018-07-31 00:28:13 +02:00
Anthony Ramine
a7901bb8d1 Fix some patched WebGL tests where the timeout was malformed 2018-07-30 19:51:00 +02:00
Anthony Ramine
1adfc0badb Add bug links to some WebGL expectations 2018-07-30 19:50:59 +02:00
Anthony Ramine
d6673d1eaf Remove outdated WebGL expectations 2018-07-30 19:50:59 +02:00
Fernando Jiménez Moreno
19e4c627a3 Update manifest 2018-07-30 15:12:27 +02:00
Fernando Jiménez Moreno
2dba4142ed Update manifest 2018-07-30 14:24:41 +02:00
Fernando Jiménez Moreno
cf86020ef7 Fix interfaces wpt 2018-07-30 14:23:49 +02:00
Fernando Jiménez Moreno
a12374726d Update WPTs expectations 2018-07-30 14:23:48 +02:00