Commit graph

42596 commits

Author SHA1 Message Date
bors-servo
f2e6f34a2b
Auto merge of #27173 - kunalmohan:gpu-queue-write, r=kvark
Implement GPUQueue write methods and update wgpu-core

<!-- Please describe your changes on the following line: -->
Implements `GPUQueue.writeBuffer` and `GPUQueue.writeTexture`.

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-07-04 21:32:43 -04:00
Kunal Mohan
fae66089fa Implement GPUQueue.writeBuffer and GPUQueue.writeTexture 2020-07-04 21:49:32 +05:30
bors-servo
39e3beb35c
Auto merge of #27170 - servo-wpt-sync:wpt_update_04-07-2020, r=servo-wpt-sync
Sync WPT with upstream (04-07-2020)

Automated downstream sync of changes from upstream as of 04-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-04 11:55:38 -04:00
WPT Sync Bot
091d6893e5 Update web-platform-tests to revision ac402deb6e9d1a35976009d3ecd5d709bbdd89c7 2020-07-04 10:42:29 +00:00
Kunal Mohan
8ef7f24541 Update wgpu-core and wgpu-types 2020-07-04 13:59:30 +05:30
bors-servo
8916a42180
Auto merge of #27163 - alarsyo:23053-layout-queries-disconnected-frames-panic, r=jdm
Return Option for Window's layout channel

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

`Window::layout_chan()` now returns an `Option<Sender<Msg>>`, returning `None` if the window is dead.

FIX #26969
FIX #26429
FIX #21208
FIX #19092
FIX #22559
FIX #22584
FIX #22652

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

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

This is my first contribution, I'm trying to figure things out!

This fix passes the test case shown in #23053, however I don't know what the behavior should be in `Document` and `ScriptThread` if `Window::is_alive()` is false : simply ignore it, don't do anything ? Or is this something that should not happen now that we return false in `Window::force_reflow()` ?

I'm not sure about the directory where the test case should go, any advice?
2020-07-04 01:30:27 -04:00
bors-servo
026760a17b
Auto merge of #27169 - alarsyo:mach-test-cargo-target-dir, r=jdm
Mach test cargo target dir

<!-- 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] These changes do not require tests because they're about tooling

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

This change allows launching tests this way:

```sh
CARGO_TARGET_DIR=other-dir ./mach test-wpt ...
```

The build and check commands already check for the presence of the `CARGO_TARGET_DIR` variable, but that wasn't the case for wpt tests. This resulted in an error about the `servo` executable not being found in `target/debug/servo`.
2020-07-03 23:30:40 -04:00
Antoine Martin
9f224c41f7 Use CARGO_TARGET_DIR in tests 2020-07-04 01:01:25 +02:00
bors-servo
7fafd91593
Auto merge of #27154 - kunalmohan:async-presentation, r=kvark
WebGPU update presentation data asynchronously

<!-- Please describe your changes on the following line: -->
This PR aims to make updating Webrender presentation data non-blocking.
A callback is passed to the `buffer_map_async()` fn wherein the data is read and a message sent to the server itself to write the data into the shared `PresentationData` struct object.

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-07-03 14:01:55 -04:00
Antoine Martin
36fbbea2b5 Return Option for Window's layout channel 2020-07-03 20:00:26 +02:00
bors-servo
8800452e34
Auto merge of #27104 - utsavoza:ugo/issue-27030/28-06-2020, r=gterzian
Update referrer computation

The PR updates the request's referrer computation in consideration with the recent changes in [w3c/webappsec-referrer-policy#135](https://github.com/w3c/webappsec-referrer-policy/pull/135).

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27030 and fix #14505
- [x] There are tests for these changes
2020-07-03 11:39:07 -04:00
bors-servo
745eb88e32
Auto merge of #27159 - servo-wpt-sync:wpt_update_03-07-2020, r=jdm
Sync WPT with upstream (03-07-2020)

Automated downstream sync of changes from upstream as of 03-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-03 11:17:27 -04:00
Josh Matthews
ba2986d694
Remove intermittent crash. 2020-07-03 09:48:12 -04:00
WPT Sync Bot
514f2c90c9 Update web-platform-tests to revision 67a169be0bd98bfdb645a8218fdfb0bc2efe0f18 2020-07-03 10:59:27 +00:00
Kunal Mohan
b672b78e19 WebGPU update presentation data asynchronously 2020-07-03 15:42:08 +05:30
bors-servo
4504eebdc3
Auto merge of #27143 - Manishearth:streamnodes, r=ferjm
Implement MediaStreamAudioDestinationNode, MediaStreamAudioSourceNode, MediaStreamTrackAudioSourceNode

Progress in https://github.com/servo/servo/issues/26097

This is a draft since we need the data channels stuff to land first

(also I need to make sure we're passing WPT)
2020-07-03 01:48:52 -04:00
Manish Goregaokar
3b3e2e0e38 Add loopback html test 2020-07-02 22:47:29 -07:00
Manish Goregaokar
19f5edf194 Update WPT 2020-07-02 22:47:29 -07:00
Utsav Oza
1b9e84bd4c Ignore errors while setting username/password in strip_url_for_use_as_referrer 2020-07-03 10:33:07 +05:30
bors-servo
ee56d5d212
Auto merge of #27149 - paulrouget:key_events2, r=jdm
UWP: support virtual keyboard

Fix #26898 and fix #26680.

@jdm: can you test on the device?
2020-07-03 00:25:05 -04:00
bors-servo
48a76a97d6
Auto merge of #27157 - servo:jdm-patch-44, r=jdm
Enable stdout logging for all UWP builds

Fixes #27156.
2020-07-02 23:08:45 -04:00
Josh Matthews
337791d4b1 Enable stdout logging for all UWP builds 2020-07-02 23:08:31 -04:00
Manish Goregaokar
718304709e Add AudioContext constructors for media stream nodes 2020-07-02 13:26:55 -07:00
Manish Goregaokar
0b998a1d1c Unpref MediaStream and MediaStreamTrack 2020-07-02 13:26:55 -07:00
Manish Goregaokar
6143173858 Add MediaStreamTrackAudioSourceNode 2020-07-02 13:26:55 -07:00
Manish Goregaokar
bc2267fb77 Add MediaStreamAudioSourceNode 2020-07-02 13:26:55 -07:00
Manish Goregaokar
2a838d935b Add MedaStreamAudioDestinationNode::stream 2020-07-02 13:26:55 -07:00
Manish Goregaokar
bf9614edf7 Add MediaStream::new_single() 2020-07-02 13:26:55 -07:00
Manish Goregaokar
6a001e7523 Add MediaStreamAudioDestinationNode 2020-07-02 13:26:55 -07:00
Manish Goregaokar
45af4fab07 Update servo-media 2020-07-02 13:26:55 -07:00
bors-servo
c0a582471e
Auto merge of #27151 - kunalmohan:gstreamer, r=jdm
Fix Gstreamer `undefined symbol: gst_webrtc_data_channel_state_get_type` error

<!-- Please describe your changes on the following line: -->
r?@jdm

---
<!-- 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
- [ ] `./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-07-02 13:06:03 -04:00
Kunal Mohan
c0df7e0a9a Fix Gstreamer undefined symbol error 2020-07-02 21:04:05 +05:30
bors-servo
4d60fd8ea9
Auto merge of #27150 - servo-wpt-sync:wpt_update_02-07-2020, r=jdm
Sync WPT with upstream (02-07-2020)

Automated downstream sync of changes from upstream as of 02-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-02 11:00:58 -04:00
bors-servo
3bc4a935f8
Auto merge of #27100 - muodov:master, r=gterzian
Implement HTMLFormElement.requestSubmit()

<!-- Please describe your changes on the following line: -->
This PR contains an implementation of [HTMLFormElement.requestSubmit()](https://html.spec.whatwg.org/multipage/forms.html#dom-form-requestsubmit)

This is literally my first hundred lines of Rust code, so if I crossed a few sacred lines here and there, please go easy on me :)

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

<!-- Either: -->
- [x] [WPT tests](https://github.com/servo/servo/blob/master/tests/wpt/web-platform-tests/html/semantics/forms/the-form-element/form-requestsubmit.html) for these changes
There are two tests that still fail because we don't support `:invalid` CSS selector (see #10781). I verified that they pass if you change them to not use `:invalid`. Should be unlocked by #26729.

<!-- 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-07-02 09:54:47 -04:00
Josh Matthews
5cb6107495
Remove 2020 failure. 2020-07-02 09:03:06 -04:00
bors-servo
5d8812e2a1
Auto merge of #27148 - servo:dependabot/cargo/tokio-uds-0.2.7, r=jdm
build(deps): bump tokio-uds from 0.2.6 to 0.2.7

Bumps [tokio-uds](https://github.com/tokio-rs/tokio) from 0.2.6 to 0.2.7.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio-uds's releases</a>.</em></p>
<blockquote>
<h2>Tokio v0.2.7</h2>
<p>This release includes both bug fixes and incremental improvements across most of Tokio. The primary bug fixes are to <code>Runtime</code> configured with <code>basic_scheduler</code> and <code>task::LocalSet</code>.</p>
<h3>Fixes</h3>
<ul>
<li>potential deadlock when dropping <code>basic_scheduler</code> Runtime.</li>
<li>calling <code>spawn_blocking</code> from within a <code>spawn_blocking</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2006">#2006</a>).</li>
<li>storing a <code>Runtime</code> instance in a thread-local (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2011">#2011</a>).</li>
<li>miscellaneous documentation fixes.</li>
<li>rt: fix <code>Waker::will_wake</code> to return true when tasks match (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2045">#2045</a>).</li>
<li>test-util: <code>time::advance</code> runs pending tasks before changing the time (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2059">#2059</a>).</li>
</ul>
<h3>Added</h3>
<ul>
<li><code>net::lookup_host</code> maps a <code>T: ToSocketAddrs</code> to a stream of <code>SocketAddrs</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1870">#1870</a>).</li>
<li><code>process::Child</code> fields are made public to match <code>std</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2014">#2014</a>).</li>
<li>impl <code>Stream</code> for <code>sync::broadcast::Receiver</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2012">#2012</a>).</li>
<li><code>sync::RwLock</code> provides an asynchonous read-write lock (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1699">#1699</a>).</li>
<li><code>runtime::Handle::current</code> returns the handle for the current runtime (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2040">#2040</a>).</li>
<li><code>StreamExt::filter</code> filters stream values according to a predicate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2001">#2001</a>).</li>
<li><code>StreamExt::filter_map</code> simultaneously filter and map stream values (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2001">#2001</a>).</li>
<li><code>StreamExt::try_next</code> convenience for streams of <code>Result&lt;T, E&gt;</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2005">#2005</a>).</li>
<li><code>StreamExt::take</code> limits a stream to a specified number of values (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2025">#2025</a>).</li>
<li><code>StreamExt::take_while</code> limits a stream based on a predicate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2029">#2029</a>).</li>
<li><code>StreamExt::all</code> tests if every element of the stream matches a predicate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2035">#2035</a>).</li>
<li><code>StreamExt::any</code> tests if any element of the stream matches a predicate (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2034">#2034</a>).</li>
<li><code>task::LocalSet.await</code> runs spawned tasks until the set is idle (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1971">#1971</a>).</li>
<li><code>time::DelayQueue::len</code> returns the number entries in the queue (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1755">#1755</a>).</li>
<li>expose runtime options from the <code>#[tokio::main]</code> and <code>#[tokio::test]</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2022">#2022</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="8bf4696f31"><code>8bf4696</code></a> chore: prepare v0.2.7 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2065">#2065</a>)</li>
<li><a href="10398b20c0"><code>10398b2</code></a> docs: minor tweaks to <code>StreamExt</code> API docs (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2066">#2066</a>)</li>
<li><a href="780d6f91a0"><code>780d6f9</code></a> docs: improve tokio::io API documentation (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2060">#2060</a>)</li>
<li><a href="45da5f3510"><code>45da5f3</code></a> rt: cleanup runtime::context (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2063">#2063</a>)</li>
<li><a href="855d39f849"><code>855d39f</code></a> Fix basic_scheduler deadlock when waking during drop (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2062">#2062</a>)</li>
<li><a href="798e86821f"><code>798e868</code></a> task: add ways to run a <code>LocalSet</code> from within a rt context (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1971">#1971</a>)</li>
<li><a href="0193df3a59"><code>0193df3</code></a> rt: add a Handle::current() (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2040">#2040</a>)</li>
<li><a href="5930acef73"><code>5930ace</code></a> rt: share vtable between waker and waker ref (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2045">#2045</a>)</li>
<li><a href="3540c5b9ee"><code>3540c5b</code></a> stream: Add StreamExt::any (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2034">#2034</a>)</li>
<li><a href="188fc6e0d2"><code>188fc6e</code></a> process: deprecate Child stdio accessors in favor of pub fields (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2014">#2014</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.6...tokio-0.2.7">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=tokio-uds&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)](https://dependabot.com/compatibility-score/?dependency-name=tokio-uds&package-manager=cargo&previous-version=0.2.6&new-version=0.2.7)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

</details>
2020-07-02 08:52:40 -04:00
WPT Sync Bot
c80439a8ff Update web-platform-tests to revision 99a09c73e7f1d7b19ec4be2eb8ce2d3bebf52245 2020-07-02 10:54:07 +00:00
Maxim Tsoy
8194da2752 Implement HTMLFormElement.requestSubmit()Also includes a fix for reentrant form submission behavior 2020-07-02 12:33:21 +02:00
Utsav Oza
dd57641987 Propagate referrer policy during about:srcdoc page load 2020-07-02 14:29:27 +05:30
Utsav Oza
310821d3b0 Update referrer computation
Update unit tests for determine_requests_referrer

Update wpt metadata

Add missing spec links
2020-07-02 14:29:26 +05:30
Paul Rouget
34265c872e UWP: support virtual keyboard 2020-07-02 10:57:34 +02:00
dependabot-preview[bot]
708a8f4059
build(deps): bump tokio-uds from 0.2.6 to 0.2.7
Bumps [tokio-uds](https://github.com/tokio-rs/tokio) from 0.2.6 to 0.2.7.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-0.2.6...tokio-0.2.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-02 07:50:24 +00:00
bors-servo
83b2f0de0b
Auto merge of #27141 - camelid:master, r=paulrouget
Fix typo

<!-- Please describe your changes on the following line: -->
Fix a typo in the selectors crate README.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./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-07-02 02:24:57 -04:00
Camelid
b8b7049aa2 Fix typo 2020-07-01 13:49:28 -07:00
bors-servo
8713954a53
Auto merge of #27126 - kunalmohan:gpu-mapped-range, r=kvark
Implement GPUBuffer.getMappedRange()

<!-- Please describe your changes on the following line: -->
The new fields added to `GPUBuffer` are-
1. `mapping`- This is the buffer data. This is not directly exposed to user and is refcounted to keep track of the number of `ArrayBuffer`s that point to the content in it.
2. `mapping_range`- The range of mapped portion of the GPUBuffer.
3. `mapped_ranges`- Ranges that the various `ArrayBuffer`s expose to the user. Used for validation of `getMappedRange()`
4. `js_buffers`- Actual `ArrayBuffer`s that expose the data to the user. They are detached on unmap.
5. `map_promise`- Promise that represents the pending mapping.

This PR also changes the order of the exit of threads. WebGL thread is responsible for sending `Exit` message to WebRender and therefore should be exited after WebGPU threads.

r?@kvark @jdm

---
<!-- 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-07-01 15:22:27 -04:00
Kunal Mohan
891a3bd30e Encapsulate buffer map fields in a separate struct 2020-07-01 23:58:55 +05:30
bors-servo
81ec205c9d
Auto merge of #27139 - servo-wpt-sync:wpt_update_01-07-2020, r=jdm
Sync WPT with upstream (01-07-2020)

Automated downstream sync of changes from upstream as of 01-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-01 13:29:36 -04:00
Josh Matthews
d1718301c5
Add 2020 flexbox failure. 2020-07-01 11:55:53 -04:00
Kunal Mohan
575036bb88 Implement GPUBuffer.getMappedRange() 2020-07-01 20:37:17 +05:30
WPT Sync Bot
b435224233 Update web-platform-tests to revision b89d7ff93b5076d389404f2a062b83e73754307f 2020-07-01 11:14:37 +00:00