Commit graph

10787 commits

Author SHA1 Message Date
WPT Sync Bot
260441296f Update web-platform-tests to revision 401d9618fcda9dfbeac49b8055df98386f6118f1 2020-06-23 10:49:25 +00:00
Simon Sapin
22b60d8b82 Manage side effects when redoing layout for align-self: stretch flex item 2020-06-23 10:26:24 +02:00
bors-servo
c76d1318f3
Auto merge of #27034 - CYBAI:fix-nested-modules, r=Manishearth
Fix nested modules while imported under more than 3 levels

This is kind of workaround to fix the issue but #26903 should provide much better solution to remove the checking.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #27029
- [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-06-22 22:22:44 -04:00
CYBAI
0c938b3d75 Test imports under more than 3 levels in different modules 2020-06-23 10:02:05 +09:00
Simon Sapin
25469bdcd1 Update WPT expectations 2020-06-23 00:51:51 +02:00
Simon Sapin
3889f69a71 Enable the Flexbox pref for WPT with Layout 2020 2020-06-23 00:40:45 +02:00
bors-servo
f35f671f45
Auto merge of #26953 - mrobinson:cancel-reparent, r=nox
Cancel animations for nodes which are removed from the DOM

This includes nodes which are being reparented.

---
<!-- 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-06-22 10:28:19 -04:00
bors-servo
1dc41b3277
Auto merge of #26983 - jdm:websocket-panic, r=nox
Silently ignore failures to queue websocket tasks

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26977
- [x] There are tests for these changes
2020-06-22 08:15:48 -04:00
bors-servo
3f999ce785
Auto merge of #27007 - saschanaz:py3-flake, r=jdm
Upgrade flake8/pyflakes for Py3 compatibility

<!-- 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
- [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-06-21 11:35:20 -04:00
Josh Matthews
0c99ba3a67
Delete intermittent failure. 2020-06-21 10:22:36 -04:00
Josh Matthews
5752f9a3e5
Delete intermittent failure. 2020-06-21 10:22:19 -04:00
Josh Matthews
3d6b4d971e
Delete intermittent failure. 2020-06-21 10:22:02 -04:00
WPT Sync Bot
6b405ce180 Update web-platform-tests to revision 40724da33edf9653287985ff4f7b226ce60a0097 2020-06-21 10:45:15 +00:00
Kagami Sascha Rosylight
d01648d637 Fix remaining flake8 warnings 2020-06-21 03:34:32 +02:00
Josh Matthews
022fcad103
Add expected 2020 failure. 2020-06-20 10:25:56 -04:00
WPT Sync Bot
287381881b Update web-platform-tests to revision 4877e40ba4bc993de5ccbd206845b63ceb07a892 2020-06-20 10:47:12 +00:00
bors-servo
0b61cfc3ae
Auto merge of #26995 - servo-wpt-sync:wpt_update_19-06-2020, r=jdm
Sync WPT with upstream (19-06-2020)

Automated downstream sync of changes from upstream as of 19-06-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-06-19 20:29:05 -04:00
Josh Matthews
ef5c41760f
Fix test expectation. 2020-06-19 18:38:06 -04:00
bors-servo
854cc79386
Auto merge of #26926 - MDeiml:referrer-26570, r=jdm
Make url for "client" referrer mandatory

<!-- Please describe your changes on the following line: -->
I added a url attribute to `Referrer::Client` so that the referrer header can be set accordingly when fetching.

`Referrer::Client` has to be kept separate from `Referrer::ReferrerUrl` as they differ in this method
6b0d9afd6f/components/script/dom/request.rs (L566-L576)

---
<!-- 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 #26570 (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-06-19 11:57:05 -04:00
Matthias Deiml
a0345ee1e6 Update expected wpt results 2020-06-19 17:50:31 +02:00
Josh Matthews
88f1d0bf32
Add 2020 failure 2020-06-19 11:40:13 -04:00
Josh Matthews
c92d15fbca
Add 2020 failure 2020-06-19 11:39:55 -04:00
Josh Matthews
47e384580d
Add 2020 failure 2020-06-19 11:39:28 -04:00
Josh Matthews
9022563df4
Add 2020 failure. 2020-06-19 11:39:09 -04:00
WPT Sync Bot
6f842949ed Update web-platform-tests to revision e75a8342e588e36a6ab387846a50d077621143b4 2020-06-19 10:29:37 +00:00
Simon Sapin
bd013aa7b7 Enable /css/css-flexbox in WPT for Layout 2020 2020-06-19 09:59:25 +02:00
Simon Sapin
36c60cbc07 Reorder include-layout-2020.ini 2020-06-19 09:59:25 +02:00
Josh Matthews
2498808d10 dom: Silently ignore failures to queue websocket tasks. 2020-06-19 01:45:02 -04:00
bors-servo
60f4fedcbf
Auto merge of #26970 - mrobinson:fix-animation-delay, r=jdm
animations: Don't apply animation delay to every iteration

The delay should only be applied to the animation before the first
iteration.

---
<!-- 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-06-18 17:24:18 -04:00
bors-servo
7142512dcf
Auto merge of #26967 - servo-wpt-sync:wpt_update_18-06-2020, r=jdm
Sync WPT with upstream (18-06-2020)

Automated downstream sync of changes from upstream as of 18-06-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-06-18 15:06:40 -04:00
Josh Matthews
d3101a4210
Remove non 2020 failure. 2020-06-18 13:03:43 -04:00
Martin Robinson
f92164144e animations: Don't apply animation delay to every iteration
The delay should only be applied to the animation before the first
iteration.
2020-06-18 16:36:14 +02:00
bors-servo
1b55ab5804
Auto merge of #26787 - szeged:texi2d_3, r=jdm
Add support for WebGL2 TexImage2D

Adds initial support for one of the WebGL2 `TexImage2D` call.

I've enabled the `tests/wpt/webgl/tests/deqp/` tests.

---
<!-- 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 #26512
- [x] There are tests for these changes

@mmatyas @zakorgy @jdm
<!-- 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-06-18 09:58:55 -04:00
WPT Sync Bot
3a95d0503c Update web-platform-tests to revision df2272857e29491bdb6c8ab77a8adec2f11757d2 2020-06-18 10:33:16 +00:00
Istvan Miklos
6591fa54f9 Add support for WebGL2 TexImage2D
Adds initial support for one of the WebGL2 `TexImage2D` call.
2020-06-18 09:59:04 +02:00
bors-servo
f93c87fb5d
Auto merge of #26954 - servo-wpt-sync:wpt_update_17-06-2020, r=servo-wpt-sync
Sync WPT with upstream (17-06-2020)

Automated downstream sync of changes from upstream as of 17-06-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-06-17 19:30:33 -04:00
bors-servo
5b88980973
Auto merge of #26814 - servo:dependabot/cargo/httparse-1.3.4, r=jdm
build(deps): bump httparse from 1.3.2 to 1.3.4

Bumps [httparse](https://github.com/seanmonstar/httparse) from 1.3.2 to 1.3.4.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/seanmonstar/httparse/releases">httparse's releases</a>.</em></p>
<blockquote>
<h2>v1.3.4</h2>
<ul>
<li><strong>FIX</strong>: Allow backslash (<code>\</code>) characters when parsing request-target.</li>
</ul>
<h2>v1.3.3</h2>
<ul>
<li><strong>FIX</strong>: Allow {|}^` characters when parsing request-target.</li>
<li><strong>FIX</strong>: Strip trailing whitespace from header values.</li>
<li><strong>PERF</strong>: Improve selection of AVX2 and SSE4.2 features if both are available.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="6f696f5d02"><code>6f696f5</code></a> v1.3.4</li>
<li><a href="1a791f4eee"><code>1a791f4</code></a> Fix parsing backslashes in request-targets (<a href="https://github-redirect.dependabot.com/seanmonstar/httparse/issues/57">#57</a>)</li>
<li><a href="84e10de058"><code>84e10de</code></a> Fix deprecation warnings (<a href="https://github-redirect.dependabot.com/seanmonstar/httparse/issues/56">#56</a>)</li>
<li><a href="dfe8a56dd3"><code>dfe8a56</code></a> v1.3.3</li>
<li><a href="cf54dd5de6"><code>cf54dd5</code></a> add changelog link to readme</li>
<li><a href="ebdbfa9237"><code>ebdbfa9</code></a> remove commented out dead cfg</li>
<li><a href="e30e85f0be"><code>e30e85f</code></a> Add tests from whatwg testsuite</li>
<li><a href="d1c7dae5c2"><code>d1c7dae</code></a> Allow {|}^` in request-targets</li>
<li><a href="d92601e680"><code>d92601e</code></a> Exclude trailing whitespace in header value.</li>
<li><a href="79204145cd"><code>7920414</code></a> Allow AVX2 and SSE42 to both be used if available (<a href="https://github-redirect.dependabot.com/seanmonstar/httparse/issues/45">#45</a>)</li>
<li>See full diff in <a href="https://github.com/seanmonstar/httparse/compare/v1.3.2...v1.3.4">compare view</a></li>
</ul>
</details>
<br />

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

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-06-17 18:52:34 -04:00
dependabot-preview[bot]
608f8eb936 build(deps): bump httparse from 1.3.2 to 1.3.4
Bumps [httparse](https://github.com/seanmonstar/httparse) from 1.3.2 to 1.3.4.
- [Release notes](https://github.com/seanmonstar/httparse/releases)
- [Commits](https://github.com/seanmonstar/httparse/compare/v1.3.2...v1.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 13:41:21 -04:00
Matthias Deiml
47355766ed Fix invalid use of ReferrerUrl 2020-06-17 19:07:15 +02:00
Matthias Deiml
23a1b0dfb9 Update expected wpt results 2020-06-17 19:07:15 +02:00
Martin Robinson
e901fa2c39 Cancel animations for nodes which are removed from the DOM
This includes nodes which are being reparented.
2020-06-17 16:35:06 +02:00
bors-servo
d9b2cf53e8
Auto merge of #26922 - gterzian:shutdown_webrender, r=jdm
Blockingly shut-down webrender api

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

FIX https://github.com/servo/servo/issues/26876

---
<!-- 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-06-17 08:55:43 -04:00
WPT Sync Bot
ea69dac266 Update web-platform-tests to revision 84e71a84b79199bc307866bbe0edcbcc7c4752ce 2020-06-17 10:26:55 +00:00
Gregory Terzian
59896748b5 blockingly shut-down webrender when exiting webgl_thread 2020-06-17 13:47:13 +08:00
bors-servo
6d9b2eef29
Auto merge of #26943 - jdm:promise-incumbent, r=Manishearth
Fix panic on vimeo.com

The only time we end up enqueuing a promise reaction job with a null incumbent global argument is when SpiderMonkey does some weird stuff behind the scenes for its JS Debugger support (based on https://searchfox.org/mozilla-central/rev/2c1092dc68c63f7bad6da6a03c5883a5ab5ff2ca/js/src/builtin/Promise.cpp#3168). This commit works around that case and adds a regression test so we don't forget about that in the future.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26930
- [x] There are tests for these changes
2020-06-16 20:03:28 -04:00
bors-servo
0ce03d4dc0
Auto merge of #26929 - jdm:dict-jsval, r=nox
Convert parent dictionary values when converting dictionaries to JS

- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26928
- [x] There are tests for these changes OR
2020-06-16 19:27:53 -04:00
Josh Matthews
edf86d1bdc dom: Convert parent dictionary values when converting dictionaries to JS. 2020-06-16 17:34:30 -04:00
bors-servo
596e9105c5
Auto merge of #26875 - servo:jdm-patch-44, r=gterzian
Don't pretend we support SharedArrayBuffer.

Fixes #26874.
2020-06-16 17:27:07 -04:00
Josh Matthews
2e4cee9971 dom: Avoid panic when SpiderMonkey enqueues dummy promise jobs. 2020-06-16 17:21:18 -04:00
Josh Matthews
83578265b4 Don't pretend we support SharedArrayBuffer. 2020-06-16 14:39:20 -04:00