Commit graph

9347 commits

Author SHA1 Message Date
WPT Sync Bot
594dfab11c Update web-platform-tests to revision 6c36430fc9e5ae99b06eba617f557e0271dd78b7 2020-08-14 10:50:54 +00:00
WPT Sync Bot
ad8638dd6e Update web-platform-tests to revision e9e85e67994df01673a8eb55c47d1b6f5eb6c18a 2020-08-13 10:52:34 +00:00
WPT Sync Bot
35d789443e Update web-platform-tests to revision 9c5c4c87d363854a1b039b6abe51627a5f0b02b9 2020-08-12 10:56:45 +00:00
bors-servo
48463ddb6d
Auto merge of #27571 - servo-wpt-sync:wpt_update_11-08-2020, r=jdm
Sync WPT with upstream (11-08-2020)

Automated downstream sync of changes from upstream as of 11-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-11 12:31:26 -04:00
Josh Matthews
db27002048
Add 2020 failure. 2020-08-11 11:15:19 -04:00
Josh Matthews
4296bf65a1
Add 2020 failure. 2020-08-11 11:14:57 -04:00
Josh Matthews
1c0edfce67
Remove 2020 failure. 2020-08-11 09:59:57 -04:00
bors-servo
72c9b1c380
Auto merge of #27570 - kunalmohan:gpu-uncaptured-error, r=kvark
Implement GPUUncapturedErrorEvent

<!-- Please describe your changes on the following line: -->
A new `uncapturederror` variant is added to atoms/static-atoms.txt. `GPUUncapturedErrorEvent` is fired when an error is not captured by any `ErrorScope`.
All tests for error scopes `PASS` now.

r?@kvark

---
<!-- 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. -->
2020-08-11 08:49:34 -04:00
WPT Sync Bot
714a3cfe1e Update web-platform-tests to revision 14f4f8e2c8ec5868a7c50fe647555cd966ba08a3 2020-08-11 10:55:40 +00:00
Kunal Mohan
869875fd22 update test expectations 2020-08-11 14:25:04 +05:30
bors-servo
d028d71fe9
Auto merge of #27505 - utsavoza:ugo/issue-24718/05-08-2020, r=jdm
Do not load srcdoc iframes synchronously

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #24718
- [x] There are tests for these changes
2020-08-10 16:41:59 -04:00
Utsav Oza
c74ff42a8f Update wpt expectations 2020-08-10 23:00:30 +05:30
bors-servo
e41c8bc2b7
Auto merge of #27549 - kunalmohan:update-cts, r=kvark
Update WebGPU CTS to main branch

<!-- Please describe your changes on the following line: -->
`main` branch in https://github.com/gpuweb/cts is closer to our implementation and it makes more sense to use that.

r?@kvark

---
<!-- 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: -->
- [ ] 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. -->
2020-08-09 12:37:40 -04:00
Kunal Mohan
507f7e2789 disable more tests and update expectations 2020-08-09 20:18:09 +05:30
Josh Matthews
8440bdda2e
Remove intermittent timeout. 2020-08-09 08:29:55 -04:00
WPT Sync Bot
071cb97177 Update web-platform-tests to revision edfb5824a2e35b1f428daa35277c14629392c8d4 2020-08-09 10:36:40 +00:00
Kunal Mohan
268c45fea7 update test expectations 2020-08-08 20:22:42 +05:30
Kunal Mohan
33a4bca74d Disable tests crashing on metal 2020-08-08 19:14:46 +05:30
WPT Sync Bot
a3410e195f Update web-platform-tests to revision 3cc9e82a7c1a53423097f3d581d4bfc185f56d18 2020-08-08 10:39:34 +00:00
Kunal Mohan
2034453fac update test expectations 2020-08-08 13:37:16 +05:30
Kunal Mohan
5f59716d41 update cts to main branch 2020-08-08 11:55:41 +05:30
bors-servo
53467b80b9
Auto merge of #27536 - kunalmohan:update-wgpu, r=kvark
Major fixes in error reporting in GPUCommandEncoder and ErrorScope Model

<!-- Please describe your changes on the following line: -->
1. Update wgpu to use the error model on wgpu-core side. Register error Ids separately.
2. ~~Record errors only in `GPUCommandEncoder.finish()`. Errors are no longer recorded in ErrorScopes in transfer commands or while recording passes. Any errors that occur are stored on the server-side in `error_command_encoders: HashMap<id::CommandEncoderId, String>` and reported on `CommandEncoderFinish`. Note: This should be reverted when the spec gets updated.~~
3. Correct a major flaw in ErrorScope Model. If multiple operations are issued inside scope and an early operation fails, the promise resolves and script execution continues. The scope, however, was not popped until the results of all its operations were received. This meant that if the user issues another operation, it was assumed to be issued in an error scope that has already been popped by the user, which led to the failure of a number of tests. This is solved by storing a `popped` boolean to check whether `popErrorScope()` has been called on a scope or not. Operation is now issued in the lastest scope for which `popped == false`.

One of the tests used to crash, but it no longer does (All subtests under it fail now). That explains the large number of failing test expectations that have been added. Most of them fail due to the tests being outdated. I'll switch to the updated branch in the next PR.

r?@kvark

---
<!-- 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. -->
2020-08-07 15:38:17 -04:00
Kunal Mohan
ecb8c91446 update test expectations 2020-08-07 22:40:18 +05:30
WPT Sync Bot
f99a7ba468 Update web-platform-tests to revision 688aeffbd02c1e05a159c64938ad9b43e3d8ec6e 2020-08-07 10:51:32 +00:00
WPT Sync Bot
92d17be4fe Update web-platform-tests to revision 5fe9625d7445a6b88640f830d90dd5489c4bda05 2020-08-06 10:31:21 +00:00
Alan Jeffrey
c4dd171dfb Add XRLayerEvent 2020-08-05 18:07:54 -05:00
WPT Sync Bot
f1ca6b4be4 Update web-platform-tests to revision ad99a9e949c6006cc0f609501de77a0edb1e593a 2020-08-05 10:31:54 +00:00
bors-servo
6e28d7b3ec
Auto merge of #27500 - jdm:revert-wrup, r=Manishearth
Revert webrender upgrade

These commits revert the webrender and font-related updates from #27207. This will unbreak our FxR nightly builds while we continue to investigate the underlying crash in ANGLE. Unfortunately it also returns us to the status quo of broken canvas text rendering on UWP, but there's no way to upgrade font-kit without any of the other crates because of the underlying freetype dependency changes that happened.

Fixes #27492.
2020-08-04 22:53:40 -04:00
bors-servo
748e60814a
Auto merge of #27490 - servo-wpt-sync:wpt_update_04-08-2020, r=jdm
Sync WPT with upstream (04-08-2020)

Automated downstream sync of changes from upstream as of 04-08-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-08-04 20:42:20 -04:00
Josh Matthews
c1920357b0 Revert "Update webrender."
This reverts commit 2ca1b06e77.
2020-08-04 19:15:52 -04:00
bors-servo
f8c8307f94
Auto merge of #27499 - asajeffrey:webxr-xrmedia-dummy, r=Manishearth
Add dummy implementations of missing XR layer types

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

Add dummy implementations of the missing layer types, and the functions that create them.

---
<!-- 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] 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-08-04 19:08:41 -04:00
Alan Jeffrey
a2fa556315 Add tests for layer creation failing 2020-08-04 15:41:51 -05:00
bors-servo
9fbdbddb0c
Auto merge of #27402 - kunalmohan:webgpu-cts, r=jdm
Add a copy of WebGPU CTS to wpt.

<!-- Please describe your changes on the following line: -->
The test suite is generated from `glsl-dependent` branch in https://github.com/gpuweb/cts
We already have 6/44 tests passing and a number of subtests in other tests also pass.

r?@jdm
cc @kvark

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

<!-- Either: -->
- [X] These changes do not require tests because we don't have tests for tests.

<!-- 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-08-04 14:12:45 -04:00
bors-servo
286793c2d2
Auto merge of #27487 - asajeffrey:webxr-update-webidl, r=Manishearth,jdm
WebXR Layers update WebIDL

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

Updates the WebXR Layers WebIDL. Implements the "update the pending layers state" algorithm from the layer spec.

---
<!-- 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] There are updated 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-08-04 09:55:05 -04:00
Alan Jeffrey
9e55c87f63 Updated wpt 2020-08-04 08:53:35 -05:00
Josh Matthews
71d84a85aa
Remove 2020 failure. 2020-08-04 09:13:04 -04:00
WPT Sync Bot
1cd53da938 Update web-platform-tests to revision 8b1aea6eed110e7900f1df933b24945fbb3c8229 2020-08-04 10:55:37 +00:00
Josh Matthews
775c7cd1fb
Remove intermittent timeout. 2020-08-02 12:09:01 -04:00
Kunal Mohan
89bfe6a7f1 Disable unexpectedly crashing tests 2020-08-02 17:50:46 +05:30
WPT Sync Bot
db4b7c0e2d Update web-platform-tests to revision e35de4d284f3272e3f914eb9deea6cf7d1924605 2020-08-02 10:32:02 +00:00
WPT Sync Bot
60e5c9a277 Update web-platform-tests to revision 43899f53083e4e6285d7a55d66745d8f6518950d 2020-08-01 10:36:19 +00:00
bors-servo
6aeadcec77
Auto merge of #27464 - servo-wpt-sync:wpt_update_31-07-2020, r=servo-wpt-sync
Sync WPT with upstream (31-07-2020)

Automated downstream sync of changes from upstream as of 31-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-31 19:49:51 -04:00
Kunal Mohan
4622c876fa Run webgpu tests only on macOS 2020-07-31 21:26:10 +05:30
Josh Matthews
2ca1b06e77 Update webrender. 2020-07-31 10:42:01 -04:00
WPT Sync Bot
b7430030f2 Update web-platform-tests to revision bd98c68802522edfae543a2a83dcd289c0972811 2020-07-31 10:31:43 +00:00
bors-servo
0021a82cb2
Auto merge of #27413 - utsavoza:ugo/issue-26958/26-07-2020, r=nox
Fire mouseenter and mouseleave events

The PR primarily consists of changes for:
- Fixing the order in which `mousemove` events are fired.
- Firing `mouseenter` and `mouseleave` events.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26958
- [ ] There are tests for these changes
2020-07-31 06:14:24 -04:00
Kunal Mohan
fa4d3cb3d2 update expectations 2020-07-31 11:23:58 +05:30
Kunal Mohan
32a4104f4a changes made for cts to work 2020-07-31 11:07:19 +05:30
Kunal Mohan
10ba6a6928 add webgpu cts and update manifest 2020-07-31 11:07:18 +05:30
Utsav Oza
de20715f23 Add some manual tests for verifying mouse events order 2020-07-30 22:07:04 +05:30