Commit graph

7209 commits

Author SHA1 Message Date
Anthony Ramine
a02a6de88e Update WebGL tests
This brings in https://github.com/KhronosGroup/WebGL/pull/2708.
2018-09-12 23:45:50 +02:00
Anthony Ramine
7ccb2d80d8 Annotate yet another expectation with a bug link 2018-09-12 23:45:50 +02:00
Anthony Ramine
d5f3b211ba Properly support PACK_ALIGNMENT in WebGL 1 2018-09-12 23:45:49 +02:00
Anthony Ramine
7fc8899e44 Clean up some expectations for WebGL tests in WPT 2018-09-12 23:45:49 +02:00
bors-servo
26745b2741
Auto merge of #21461 - jdm:webgltmp2, r=nox
Various webgl fixes for framebuffer attachment test

These changes resolve all panics on macOS when running framebuffer-object-attachment.html in headless and headful testing.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes OR
- [x] Fixes #13710. Fixes #20570.

<!-- 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/21461)
<!-- Reviewable:end -->
2018-09-12 16:36:08 -04:00
paavininanda
25027e476c Current-pixel-density tests passing 2018-09-13 00:23:09 +05:30
bors-servo
910cc23a6e
Auto merge of #21325 - gterzian:crossbeam_integration, r=SimonSapin,jdm
Replace mpsc with crossbeam-channel

Follow up on https://github.com/servo/servo/pull/19515

---

Selecting over multiple channels in `std::sync::mpsc` is not stable and likely never will be:

https://github.com/rust-lang/rust/issues/27800#issuecomment-260136777
> It seems the only thing keeping `mpsc_select` around is Servo.

crossbeam-channel is designed specifically to replace `std::sync::mpsc` and fix many of its shortcomings:
https://github.com/stjepang/rfcs-crossbeam/blob/channel/text/2017-11-09-channel.md

This is to be landed together with https://github.com/servo/ipc-channel/pull/183.

<!-- 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/21325)
<!-- Reviewable:end -->
2018-09-12 13:33:45 -04:00
bors-servo
9a83ab6297
Auto merge of #21280 - paavininanda:Update_the_image_data, r=jdm
Reacting to environment changes

<!-- 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 a subset of #11416

<!-- Either: -->
- [x] These changes do not require tests because they will be added when the complete responsive images is complete

<!-- 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/21280)
<!-- Reviewable:end -->
2018-09-12 10:47:13 -04:00
Simon Sapin
2a996fbc8f Replace mpsc with crossbeam/servo channel, update ipc-channel
Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
2018-09-12 13:33:32 +08:00
bors-servo
b0f1805c9d
Auto merge of #21668 - jdm:wasm-tests, r=KiChjang
Enable wasm tests.

Now that we support WASM, we should avoid regressing that existing support and get a better idea about the pieces we're still missing.

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

<!-- 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/21668)
<!-- Reviewable:end -->
2018-09-11 16:48:18 -04:00
paavininanda
2de300d49c Reacting to environment changes 2018-09-12 02:11:13 +05:30
Fernando Jiménez Moreno
079b242657 Update WPT 2018-09-11 13:52:49 +02:00
Josh Matthews
b8ee62e67b webgl: Update test results for newly-exposed missing checks. 2018-09-10 16:31:32 -04:00
Josh Matthews
bb8d9ba74c webgl: Ensure that depth and stencil attachments are rebound after messing with DEPTH_STENCIL attachments. 2018-09-10 16:31:30 -04:00
Josh Matthews
df8e36aa78 webgl: Differentiate between missing colour attachments and incomplete attachments. 2018-09-10 16:31:28 -04:00
Josh Matthews
690c98dda7 webgl: return missing attachment status from framebuffers with no attachments. 2018-09-10 15:56:17 -04:00
Josh Matthews
da3b0ef88f webgl: Clear renderbuffers on first read/write operation. 2018-09-10 15:56:16 -04:00
Josh Matthews
944d1d1f29 webgl: Check internal format of textures when determining attachment completeness. 2018-09-10 15:56:16 -04:00
Josh Matthews
d179435eab webgl: Ensure that framebuffers have a color attachment before reading or writing. 2018-09-10 15:56:15 -04:00
Josh Matthews
4482ccc52d Enable wasm tests. 2018-09-10 12:46:24 -04:00
WPT Sync Bot
968ce5b5b3 Update web-platform-tests to revision 9614def367ae8af8247142c34b00f755863d2fbb 2018-09-09 23:02:49 -04:00
bors-servo
041d0e36a4
Auto merge of #21649 - servo-wpt-sync:wpt_update_08-09-2018, r=jdm
Sync WPT with upstream (08-09-2018)

Automated downstream sync of changes from upstream as of 08-09-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/21649)
<!-- Reviewable:end -->
2018-09-09 15:20:18 -04:00
Anthony Ramine
6d3609dbe8 Fix the UNSIGNED_SHORT_4_4_4_4 case of premultiply_pixels 2018-09-09 12:22:01 +02:00
Anthony Ramine
d8b7394fa3 Fix the UNSIGNED_SHORT_5_5_5_1 case of premultiply_pixels 2018-09-09 12:21:56 +02:00
Anthony Ramine
e61c7b757f Fix the LUMINANCE of rgba8_image_to_tex_image_data
The internal format and format values match, thus the canvas or image input
must be interpreted as already in LUMINANCE format.
2018-09-09 12:21:54 +02:00
Anthony Ramine
9a362391d5 Fix the LUMINANCE_ALPHA case of rgba8_image_to_tex_image_data
The internal format and format values match, thus the canvas or image input
must be interpreted as already in LUMINANCE_ALPHA format.
2018-09-09 12:21:54 +02:00
WPT Sync Bot
f708edc5ea Update web-platform-tests to revision 86579034357501943927f3dc4abf75d76c477383 2018-09-08 22:57:54 -04:00
WPT Sync Bot
4ae3d09ff3 Update web-platform-tests to revision 9a5d71b326166e12784bdd9d161772e20f87c1fd 2018-09-07 23:22:54 -04:00
bors-servo
8164c9d4cf
Auto merge of #21633 - ferjm:wpt.certs, r=Manishearth
Add Web Platform Tests root CA

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

This allows running the WPT suite locally. https://github.com/web-platform-tests/wpt#trusting-root-ca

<!-- 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/21633)
<!-- Reviewable:end -->
2018-09-07 05:09:01 -04:00
Fernando Jiménez Moreno
773881756e Add Web Platform Tests root CA 2018-09-07 10:57:55 +02:00
WPT Sync Bot
560e025ce7 Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560 2018-09-06 22:40:10 -04:00
WPT Sync Bot
23dfe7c81e Update web-platform-tests to revision a806d658df3bcc3f05675ad8d08a6e109177c6b0 2018-09-05 22:56:05 -04:00
WPT Sync Bot
f9ee2396ab Update web-platform-tests to revision 7c50c216081d6ea3c9afe553ee7b64534020a1b2 2018-09-04 23:07:46 -04:00
bors-servo
81f6ac8f92
Auto merge of #21591 - Manishearth:channelmergernode, r=ferjm
Implement ChannelMergerNode

partial https://github.com/servo/servo/issues/21558

Haven't yet tested, wanted to get this up as an example for https://github.com/servo/servo/issues/21558

<!-- 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/21591)
<!-- Reviewable:end -->
2018-09-04 02:38:08 -04:00
Manish Goregaokar
af5b1c4011 Add createChannelMerger() 2018-09-04 11:23:00 +05:30
Manish Goregaokar
9a319f7dc6 Regenerate test expectations
Stuff was a bit buggy with the test expectations so I regenerated them.
Looks like some of the tests changed and this wasn't synced properly.
2018-09-04 10:41:48 +05:30
WPT Sync Bot
0d3d7c36ab Update web-platform-tests to revision 04bc9c5667911cce7361ee33244dfc8d7ed61212 2018-09-03 22:46:44 -04:00
Manish Goregaokar
c76c6f3e4f Update test expectations 2018-09-03 20:58:12 +05:30
Manish Goregaokar
0ac861ca94 Update test expectations 2018-09-03 20:31:52 +05:30
Emilio Cobos Álvarez
46b360cb75
style: Fix unit tests build. 2018-09-03 14:08:14 +02:00
WPT Sync Bot
b28a41ac85 Update web-platform-tests to revision 0313d9f383d954ef401e79f3b669a5781aa3441a 2018-09-02 23:23:55 -04:00
WPT Sync Bot
6c901de216 Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae 2018-09-02 13:22:16 +00:00
Anthony Ramine
36ff67e39c Clean up more test expectations and add bug links to them 2018-09-02 13:00:21 +02:00
Anthony Ramine
967e799410 Mark /css/css-transitions/transitions-animatable-properties-01.html as timeout=long 2018-09-02 13:00:12 +02:00
bors-servo
c8f3abfdbc
Auto merge of #21573 - servo:what-did-you-expect, r=jdm
Classify some timeout failures with bug links

<!-- 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/21573)
<!-- Reviewable:end -->
2018-09-01 11:48:47 -04:00
bors-servo
ad865c7156
Auto merge of #21533 - nupurbaghel:current_src, r=jdm
correct currentSrc function

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

---
(recreating PR which got closed earlier https://github.com/servo/servo/pull/21521)
<!-- 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
- [ ] These changes fix #__ (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. -->

<!-- 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/21533)
<!-- Reviewable:end -->
2018-09-01 09:03:30 -04:00
Anthony Ramine
847acba13a Classify some timeout failures with bug links 2018-09-01 13:31:56 +02:00
nupurbaghel
b1adf8ee8a correct failing tests 2018-09-01 08:49:50 +00:00
nupurbaghel
d7cb68cb84 correct currentSrc function 2018-09-01 08:49:49 +00:00
Anthony Ramine
7024c99a86 Update WebGL tests
https://github.com/KhronosGroup/WebGL/pull/2702
2018-09-01 02:39:37 +02:00