Commit graph

7042 commits

Author SHA1 Message Date
Anthony Ramine
c48d1fa5b7 Disable rapid-resizing.html
The absence of support for preserveDrawingBuffer makes it timeout.
2018-08-28 19:36:26 +02:00
Anthony Ramine
5a8ed02d5c Disable quickCheckAPI-S_V.html
It generates random input which even trips the invalid surrogate panic.
2018-08-28 19:36:26 +02:00
Anthony Ramine
b660c62c9e Delete our Servo-specific WebGL tests
Those test things that are already tested by Khronos tests.
2018-08-28 19:36:25 +02:00
Anthony Ramine
428b305ea6 Merge unit.patch and unit2.patch 2018-08-28 19:35:50 +02:00
Anthony Ramine
b1ce74caa5 Remove obsolete patch 2018-08-28 19:35:50 +02:00
Anthony Ramine
20dc32d147 Clean up some WebGL expectations 2018-08-28 19:35:49 +02:00
WPT Sync Bot
394aced19f Update web-platform-tests to revision ab64b78a8f6777a1d95d8d1d4bba9ccdbecf94ea 2018-08-26 23:02:58 -04:00
Gregory Terzian
7b8d903d57 fire error when placeholder image is loaded 2018-08-26 19:06:16 +08:00
Anthony Ramine
26a311fc62 Use sdk/tests when syncing from upstream Khronos WebGL tests 2018-08-25 13:34:53 +02:00
Anthony Ramine
4852f7d616 Move Khronos WebGL tests to /_webgl/ 2018-08-25 03:43:32 +02:00
bors-servo
d827370804
Auto merge of #21502 - Manishearth:listener, r=ferjm
Add AudioListener/AudioPanner DOM interfaces

Seems to work.

I'll need some changes to the servo-media side to support the panner
node getters as well as the older `setPosition()`/etc APIs. I'll get to
those later.

r? @ferjm

<!-- 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/21502)
<!-- Reviewable:end -->
2018-08-24 19:13:05 -04:00
Manish Goregaokar
04e60e683a Update WPT expectations 2018-08-24 16:12:07 -07:00
Manish Goregaokar
0f66f17001 Add HTML test 2018-08-24 12:22:19 -07:00
bors-servo
39551199c7
Auto merge of #21356 - servo:nll, r=jdm
Fix the build for NLL

Test with `RUSTFLAGS="-Zborrowck=mir -Ztwo-phase-borrows" cargo build`

https://internals.rust-lang.org/t/help-us-get-non-lexical-lifetimes-nll-over-the-finish-line/7807/7

<!-- 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/21356)
<!-- Reviewable:end -->
2018-08-24 12:13:09 -04:00
Simon Sapin
a9627d233f Update getopts
*Sigh* https://github.com/rust-lang-nursery/getopts/pull/53#issuecomment-415770100
2018-08-24 17:49:58 +02:00
bors-servo
ee7947aeef
Auto merge of #21503 - servo-wpt-sync:wpt_update_23-08-2018, r=jdm
Sync WPT with upstream (23-08-2018)

Automated downstream sync of changes from upstream as of 23-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/21503)
<!-- Reviewable:end -->
2018-08-24 09:05:35 -04:00
Anthony Ramine
da4f170ad6 Update WebGL tests
Apparently unit2.patch wasn't correctly applied.
2018-08-24 13:15:06 +02:00
Anthony Ramine
d4eb6b196e Add newlines at the end of WebGL patches 2018-08-24 13:13:47 +02:00
Anthony Ramine
8582d18d2f Fix import-conformance-tests.py 2018-08-24 13:12:59 +02:00
WPT Sync Bot
ace02666c2 Update web-platform-tests to revision 34f9b93c2749043ba68485dea92d1fb554075e60 2018-08-23 23:42:32 -04:00
bors-servo
54b387ab59
Auto merge of #21348 - pyfisch:only-webrender-items, r=jdm
Replace Servo DL items with WR ones

The Servo internal display list items are already pretty much
equivalent to the WebRender ones. Except that Servo items contain
base information and associated glyphs and gradient stops which are
stored implicitly in WebRender. Remove the display items for
rectangles, text, images, border, gradients and box shadow and
replace them with their WebRender counter parts.

Some more internal items like line, text shadow and iframe can definitively be replaced with WebRender equivalents but I think the PR is already quite huge. If WebRender would expose a quite minimal API which allowed servo to directly push items onto the display list most of webrender_helpers boilerplate code could go away. As WebRender performs normalization of gradients this would need to be called by servo explicitly in this case.

It should be noted that gradient borders don't actually work neither with the old version nor with this PR as the measurements are all set to zero.

Part of #19676

<!-- 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/21348)
<!-- Reviewable:end -->
2018-08-23 19:37:41 -04:00
WPT Sync Bot
280c87822d Update web-platform-tests to revision 50d6ee076e94273080d9f3b69be0bf4eeae156d3 2018-08-22 23:24:36 -04:00
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