Commit graph

41617 commits

Author SHA1 Message Date
Alex Touchet
d132866c5d
More Cargo.toml cleanups 2020-05-14 22:20:18 -07:00
bors-servo
e1cc38bea8
Auto merge of #26525 - kunalmohan:share-gpu_id_hub, r=jdm
Share single gpu_id_hub among all threads in a process

<!-- Please describe your changes on the following line: -->
An id_hub for a content process is created when a new script thread is created. This is then cloned whenever a new globalscope object is created. The only exception being service workers because they exist in separate processes, for them a new hub is created.
r?@jdm @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 #25725 (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-05-14 17:40:05 -04:00
bors-servo
3acc0f9077
Auto merge of #26524 - camelid:camelid-patch-1, r=jdm
Fix file extension for Linux nightly

<!-- Please describe your changes on the following line: -->
Fix file extension for the Linux nightly download. It should be published as `servo-latest.tar.gz` but was instead published as `servo-latest.gz`.

---
<!-- 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 (doesn't change Rust code)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #26522 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is an infrastructure bug fix

<!-- 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-05-14 15:57:23 -04:00
Kunal Mohan
e5065c7eb2 Share single gpu_id_hub among all threads in a process 2020-05-15 01:15:01 +05:30
camelid
1b36a7cf96 Fix file extension for Linux nightly 2020-05-14 11:27:20 -07:00
bors-servo
8f1434d77c
Auto merge of #26517 - servo:dependabot/cargo/backtrace-0.3.48, r=jdm
Bump backtrace from 0.3.47 to 0.3.48

Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.47 to 0.3.48.
<details>
<summary>Commits</summary>
<ul>
<li><a href="108472f7eb"><code>108472f</code></a> Bump to 0.3.48</li>
<li><a href="788e521c06"><code>788e521</code></a> Avoid panicking on overflow due to bias wrapping (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/330">#330</a>)</li>
<li><a href="16682c76eb"><code>16682c7</code></a> dyn Trait fixes in libbacktrace</li>
<li><a href="6ff7f7c3f7"><code>6ff7f7c</code></a> Fix <code>dyn Trait</code> in noop modules</li>
<li><a href="0a8a646785"><code>0a8a646</code></a> Prioritize libbacktrace of gimli in #[cfg]</li>
<li><a href="aa88e518ac"><code>aa88e51</code></a> More warning fixes for <code>dyn Trait</code></li>
<li><a href="c44e88165a"><code>c44e881</code></a> Fix a nightly warning</li>
<li><a href="4578e9463a"><code>4578e94</code></a> Update readme/misc</li>
<li>See full diff in <a href="https://github.com/rust-lang/backtrace-rs/compare/0.3.47...0.3.48">compare view</a></li>
</ul>
</details>
<br />

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

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-05-14 11:16:19 -04:00
dependabot-preview[bot]
1e0270d8d1
Bump backtrace from 0.3.47 to 0.3.48
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.47 to 0.3.48.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.47...0.3.48)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 14:28:20 +00:00
bors-servo
aeeac42737
Auto merge of #26516 - atouchet:cargo, r=jdm
Some Cargo.toml cleanups

<!-- 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: -->
- [ ] `./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-05-14 09:22:20 -04:00
bors-servo
21ed977125
Auto merge of #26518 - servo-wpt-sync:wpt_update_14-05-2020, r=servo-wpt-sync
Sync WPT with upstream (14-05-2020)

Automated downstream sync of changes from upstream as of 14-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-14 09:08:33 -04:00
WPT Sync Bot
96553cb7e2 Update web-platform-tests to revision ae1e2d51f38e208f3d07a97b5d82f9ca0dda2c94 2020-05-14 11:21:00 +00:00
atouchet
ede15557ae Some Cargo.toml cleanups 2020-05-13 22:09:56 -07:00
bors-servo
6c506ba260
Auto merge of #26510 - camelid:checksum, r=jdm
Add integrity hash for nightly builds

<!-- Please describe your changes on the following line: -->
Compute a SHA-256 integrity hash for nightly builds on the download.servo.org page.

---
<!-- 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 (it does, but unrelated to the change)
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix servo/download.servo.org#14 (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they're in the infrastructure

<!-- 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-05-13 21:25:36 -04:00
bors-servo
329f081e6a
Auto merge of #26513 - jdm:webgl2-formats, r=asajeffrey
Reject incompatible webgl texture pixel data

The tests that would make these changes most visibly correct unfortunately rely on texImage3D which isn't implemented yet, so they error out too soon. However, when I comment out that code, these changes avoid a bunch of panics in the webgl thread because of invalid data type combinations being accepted, and removing the incorrect non-filterable texture fallback behaviour for webgl 2 when more texture formats are supposed to be filterable.

---
- [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
2020-05-13 18:33:37 -04:00
bors-servo
9eee0482c0
Auto merge of #26503 - mrobinson:fix-rooting, r=jdm
Fix an issue with the rooting of animating nodes

Make sure nodes removed from map of rooted animating nodes are rooted on
the stack before triggering event handlers. We also make sure not to
call `from_untrusted_node_address` on nodes that aren't guaranteed to be
rooted.

Fixes #26498.

---
<!-- 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 #26498.
- [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-05-13 16:43:36 -04:00
Josh Matthews
7151ee25c8 webgl: Reject incompatible 2d texture pixel data based on texture data type. 2020-05-13 16:22:31 -04:00
bors-servo
52d9fb57fb
Auto merge of #26434 - jdm:playground, r=Manishearth
Allow BabylonJS playground to load

These changes fix the JS errors that currently appear when loading the page. You can't use the editor, but the webgl canvas works just fine.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26428 and fix #25478
- [x] There are tests for these changes
2020-05-13 15:40:23 -04:00
camelid
6faccf6c3c Only upload latest hash 2020-05-13 11:47:53 -07:00
bors-servo
b2a6928224
Auto merge of #26491 - huangjiahua:fix, r=Manishearth
Handle cancelAnimationFrame() when called within a requestAnimationFr…

…ame() callback

<!-- Please describe your changes on the following line: -->
In order to handle `cancelAnimationFrame()` in the callback, the `raf_callback_list` is moved to
`current_raf_callback_list`, and each callback is cloned in the iteration of `current_raf_callback_list` to avoid "borrowed twice".

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

<!-- Either: -->
- [X] 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-05-13 14:38:04 -04:00
Josh Matthews
097a84671a dom: Implement current window event. 2020-05-13 14:36:32 -04:00
Josh Matthews
19f4be38d2 dom: Implement stub queryCommandSupported. 2020-05-13 14:36:32 -04:00
Josh Matthews
3abaff85f3 webgl: Mark float/half-float textures as filterable in webgl2. 2020-05-13 14:15:41 -04:00
camelid
f1e37e2dd2 Add integrity hash for nightly builds 2020-05-13 10:03:02 -07:00
bors-servo
aaaf162be4
Auto merge of #26504 - servo:dependabot/cargo/libc-0.2.70, r=jdm
Bump libc from 0.2.62 to 0.2.70

Bumps [libc](https://github.com/rust-lang/libc) from 0.2.62 to 0.2.70.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rust-lang/libc/releases">libc's releases</a>.</em></p>
<blockquote>
<h2>0.2.70</h2>
<p>Bump patch version to 0.2.70</p>
<h2>0.2.69</h2>
<p>Bump patch version to 0.2.69</p>
<h2>0.2.68</h2>
<p>Bump patch version to 0.2.68</p>
<h2>0.2.67</h2>
<p>Bump patch version to 0.2.67</p>
<h2>0.2.66</h2>
<p>No release notes provided.</p>
<h2>0.2.65</h2>
<p>No release notes provided.</p>
<h2>0.2.64</h2>
<p>No release notes provided.</p>
<h2>0.2.63 (yanked)</h2>
<p>No release notes provided.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b61d8c617a"><code>b61d8c6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1758">#1758</a> from tblah/version-0.2.70</li>
<li><a href="88cfeb1a4c"><code>88cfeb1</code></a> Bump version to 0.2.70</li>
<li><a href="87de9103f5"><code>87de910</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1752">#1752</a> from JohnTitor/i686-2004</li>
<li><a href="cf63ea1002"><code>cf63ea1</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1587">#1587</a> from Susurrus/termios_breaks_consts</li>
<li><a href="23d73d5983"><code>23d73d5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1753">#1753</a> from overdrivenpotato/psp</li>
<li><a href="524ec8f2f5"><code>524ec8f</code></a> Add TIOCSBRK/TIOCCBRK to more supported platforms</li>
<li><a href="d44f9b7ef9"><code>d44f9b7</code></a> Reorder consts for sparc64 to match header</li>
<li><a href="5dfe01320f"><code>5dfe013</code></a> Add c typedefs for the Sony PSP</li>
<li><a href="ecfd7a3d01"><code>ecfd7a3</code></a> Update Ubuntu image to 20.04</li>
<li><a href="bb734e321f"><code>bb734e3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/rust-lang/libc/issues/1754">#1754</a> from JohnTitor/armeabi</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/libc/compare/0.2.62...0.2.70">compare view</a></li>
</ul>
</details>
<br />

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

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-05-13 12:31:33 -04:00
dependabot-preview[bot]
ff1325a8e8
Bump libc from 0.2.62 to 0.2.70
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.62 to 0.2.70.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.62...0.2.70)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 15:24:20 +00:00
bors-servo
500a21c6c7
Auto merge of #26501 - atouchet:fontkit, r=SimonSapin
Dedupe dwrote

<!-- 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: -->
- [ ] `./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-05-13 11:13:52 -04:00
bors-servo
887d5f9417
Auto merge of #26505 - servo:dependabot/cargo/backtrace-0.3.47, r=jdm
Bump backtrace from 0.3.46 to 0.3.47

Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.46 to 0.3.47.
<details>
<summary>Commits</summary>
<ul>
<li><a href="fbcfd0eaae"><code>fbcfd0e</code></a> Bump to 0.3.47</li>
<li><a href="5ad0b762eb"><code>5ad0b76</code></a> Switch to <code>gimli-symbolize</code> by default (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/324">#324</a>)</li>
<li><a href="bb5aa64804"><code>bb5aa64</code></a> Enable gimli on all platforms</li>
<li><a href="67ccecbca4"><code>67ccecb</code></a> Update comments in <code>Cargo.toml</code></li>
<li><a href="29af39088b"><code>29af390</code></a> Automatically enable <code>std</code> feature with <code>gimli-symbolize</code></li>
<li><a href="3af3ec7db5"><code>3af3ec7</code></a> Tweak some CI testing</li>
<li><a href="40f3954554"><code>40f3954</code></a> Migrate towards sunsetting features on this crate (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/323">#323</a>)</li>
<li><a href="7a95a02c8e"><code>7a95a02</code></a> Reorganize gimli internals slightly (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/322">#322</a>)</li>
<li><a href="301358d42a"><code>301358d</code></a> Update <code>addr2line</code> dependency (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/321">#321</a>)</li>
<li><a href="1ffdc8ae1c"><code>1ffdc8a</code></a> Remove dladdr fallback and implementation (<a href="https://github-redirect.dependabot.com/rust-lang/backtrace-rs/issues/317">#317</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-lang/backtrace-rs/compare/0.3.46...0.3.47">compare view</a></li>
</ul>
</details>
<br />

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

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-05-13 09:17:22 -04:00
bors-servo
c01f22d311
Auto merge of #26507 - servo-wpt-sync:wpt_update_13-05-2020, r=servo-wpt-sync
Sync WPT with upstream (13-05-2020)

Automated downstream sync of changes from upstream as of 13-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-13 07:07:06 -04:00
WPT Sync Bot
ab5c81c0bb Update web-platform-tests to revision 85ffed21f7a96f6d67a5a0110459d67f50cff624 2020-05-13 11:06:53 +00:00
bors-servo
0fc2155a02
Auto merge of #26496 - mrobinson:remove-animated-property, r=emilio
Remove AnimatedProperty

This removes an extra layer of abstraction and allows Servo to share
more code with Gecko. In addition, we will need to handle raw
`AnimationValue` structs soon in order to fully implement "faster
reversing of interrupted transitions."

<!-- 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] 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-05-13 05:46:02 -04:00
Martin Robinson
0f1831e2fa Remove AnimatedProperty
This removes an extra layer of abstraction and allows Servo to share
more code with Gecko. In addition, we will need to handle raw
`AnimationValue` structs soon in order to fully implement "faster
reversing of interrupted transitions."
2020-05-13 11:02:52 +02:00
dependabot-preview[bot]
28e8ca010b
Bump backtrace from 0.3.46 to 0.3.47
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.46 to 0.3.47.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.46...0.3.47)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:37:20 +00:00
Martin Robinson
c4a38beee4 Fix an issue with the rooting of animating nodes
Make sure nodes removed from map of rooted animating nodes are rooted on
the stack before triggering event handlers. We also make sure not to
call `from_untrusted_node_address` on nodes that aren't guaranteed to be
rooted.

Fixes #26498.
2020-05-13 10:25:56 +02:00
huangjiahua
c253ad8399 Handle cancelAnimationFrame() when called within a requestAnimationFrame() callback 2020-05-13 15:41:09 +08:00
atouchet
bfa1e08c40 Dedupe dwrote 2020-05-12 21:57:04 -07:00
bors-servo
bdfa6b0751
Auto merge of #26458 - Manishearth:secondary-view, r=asajeffrey
Update webxr with secondary view support

Blocked on https://github.com/servo/webxr/pull/171 , untested
2020-05-12 21:39:50 -04:00
Manish Goregaokar
da3d2a8eff Handle StereoCapture in GetViewport() 2020-05-12 17:40:19 -07:00
Manish Goregaokar
b181e0c8ff Update webxr to support secondary capture view 2020-05-12 17:40:19 -07:00
bors-servo
d96accc27f
Auto merge of #26495 - servo:jdm-patch-41, r=SimonSapin
Fix reftest report regression.

Fixes #26467.
2020-05-12 18:30:27 -04:00
bors-servo
66b81d51dc
Auto merge of #26430 - Eijebong:referrer-policy, r=jdm
Implement referrer policy

Fixes #26270
2020-05-12 17:37:53 -04:00
bors-servo
bd6100be03
Auto merge of #26476 - jdm:xr-emulator-surfman, r=Manishearth
Use an appropriate graphics adapter when openxr is present.

The surfman upgrade broke our fragile process of choosing a graphics adapter that is always compatible with openxr. These changes ensure that won't happen in the future.

Depends on https://github.com/servo/webxr/pull/174.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26474
- [x] These changes do not require tests because we can't test the emulator configuration
2020-05-12 16:40:06 -04:00
bors-servo
ea4ae04655
Auto merge of #26335 - jdm:wrup, r=SimonSapin
Update webrender.
2020-05-12 14:56:19 -04:00
Josh Matthews
af05da574b Use new webrender rounded clip API. 2020-05-12 14:43:41 -04:00
Josh Matthews
cacefbad17 Use an appropriate graphics adapter when openxr is present. 2020-05-12 14:18:17 -04:00
bors-servo
e26e864c61
Auto merge of #26487 - pylbrecht:update.raqote, r=jdm
Fix radial gradients for html canvas element

<!-- Please describe your changes on the following line: -->
The latest version of raqote provides a fix for properly handling boundary conditions for TwoCircleRadialGradients.

---
<!-- 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 part of #25331

<!-- 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-05-12 13:57:10 -04:00
Josh Matthews
ea6523ef62
Fix reference report regression. 2020-05-12 11:40:51 -04:00
bors-servo
44ac62ddda
Auto merge of #26492 - servo-wpt-sync:wpt_update_12-05-2020, r=jdm
Sync WPT with upstream (12-05-2020)

Automated downstream sync of changes from upstream as of 12-05-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-05-12 11:14:12 -04:00
Josh Matthews
bba2e43f97 Update 2020 results for outline-width animation. 2020-05-12 10:51:45 -04:00
Josh Matthews
9ecf7c0f51
Add outline-width parsing failure. 2020-05-12 10:44:49 -04:00
Josh Matthews
a9ac01a5de
Remove intermittent crash. 2020-05-12 10:42:01 -04:00
Josh Matthews
5261140293
Remove intermittent crash. 2020-05-12 10:41:46 -04:00