Commit graph

42554 commits

Author SHA1 Message Date
bors-servo
cc18a2961d
Auto merge of #26796 - servo:dependabot/cargo/indexmap-1.4.0, r=jdm
build(deps): bump indexmap from 1.3.2 to 1.4.0

Bumps [indexmap](https://github.com/bluss/indexmap) from 1.3.2 to 1.4.0.
<details>
<summary>Commits</summary>
<ul>
<li><a href="da1835123c"><code>da18351</code></a> 1.4.0</li>
<li><a href="6e929fa728"><code>6e929fa</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/124">#124</a> from cuviper/rerun_path</li>
<li><a href="b6c596319b"><code>b6c5963</code></a> Use a plain relative path for autocfg::rerun_path</li>
<li><a href="e603553039"><code>e603553</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/120">#120</a> from bluss/get-index-of</li>
<li><a href="f2142d99bd"><code>f2142d9</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/121">#121</a> from bluss/update-dev-version</li>
<li><a href="42affec83e"><code>42affec</code></a> FIX: Update benchmarks for rand 0.7</li>
<li><a href="155f6b2d6a"><code>155f6b2</code></a> Merge PR <a href="https://github-redirect.dependabot.com/bluss/indexmap/issues/112">#112</a></li>
<li><a href="a0da5e1bce"><code>a0da5e1</code></a> MAINT: Update rust version for dev/CI to 1.32</li>
<li><a href="1b54c5ecef"><code>1b54c5e</code></a> FIX: Rename entry_index to get_index_of</li>
<li><a href="27f384d560"><code>27f384d</code></a> Remove unused parens</li>
<li>Additional commits viewable in <a href="https://github.com/bluss/indexmap/compare/1.3.2...1.4.0">compare view</a></li>
</ul>
</details>
<br />

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

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-05 13:58:44 -04:00
bors-servo
17ac381513
Auto merge of #26772 - jdm:wpt-test-types, r=manishearth
Run only a supported set of WPT test types by default.

wptrunner introduced a new test type for print reftests, and by default any unsupported type causes the test runner to report an unexpected error, even if none of those tests are run. These changes avoid similar breakage by limiting the default test types to ones that are supported by our test runners.
2020-06-05 12:12:33 -04:00
bors-servo
00b57b4fd9
Auto merge of #26792 - servo:static-mut, r=nox
Replace `static mut` with `const`, `static`+`AtomicPtr`, or `static`+`UnsafeCell`

Fixes https://github.com/servo/servo/issues/26550
2020-06-05 09:56:41 -04:00
bors-servo
7495b92992
Auto merge of #26795 - servo:dependabot/cargo/getrandom-0.1.14, r=jdm
build(deps): bump getrandom from 0.1.12 to 0.1.14

Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.1.12 to 0.1.14.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md">getrandom's changelog</a>.</em></p>
<blockquote>
<h2>[0.1.14] - 2020-01-07</h2>
<h3>Changed</h3>
<ul>
<li>Remove use of spin-locks in the <code>use_file</code> module. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/125">#125</a></li>
<li>Update <code>wasi</code> to v0.9. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a></li>
<li>Do not read errno value on DragonFlyBSD to fix compilation failure. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/125">#125</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/125">rust-random/getrandom#125</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/126">rust-random/getrandom#126</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/129">rust-random/getrandom#129</a></p>
<h2>[0.1.13] - 2019-08-25</h2>
<h3>Added</h3>
<ul>
<li>VxWorks targets support. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a></li>
</ul>
<h3>Changed</h3>
<ul>
<li>If zero-length slice is passed to the <code>getrandom</code> function, always return
<code>Ok(())</code> immediately without doing any calls to the underlying operating
system. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/104">#104</a></li>
<li>Use the <code>kern.arandom</code> sysctl on NetBSD. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Bump <code>cfg-if</code> minimum version from 0.1.0 to 0.1.2. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/112">#112</a></li>
<li>Typos and bad doc links. <a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a></li>
</ul>
<p><a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/86">rust-random/getrandom#86</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/104">#104</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/104">rust-random/getrandom#104</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/112">#112</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/112">rust-random/getrandom#112</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/115">rust-random/getrandom#115</a>
<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a>: <a href="https://github-redirect.dependabot.com/rust-random/getrandom/pull/117">rust-random/getrandom#117</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="33b859bae1"><code>33b859b</code></a> Prepare release v0.1.14 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/128">#128</a>)</li>
<li><a href="c5e2025d2c"><code>c5e2025</code></a> util: Remove unused spin-lock interfaces</li>
<li><a href="46963aac74"><code>46963aa</code></a> use_file: Remove use of spin-locks</li>
<li><a href="245b5b2121"><code>245b5b2</code></a> util_libc: open_readonly shoud return a Result</li>
<li><a href="a913c9c673"><code>a913c9c</code></a> dragonfly: Don't try to read errno value (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/129">#129</a>)</li>
<li><a href="48781cd9ec"><code>48781cd</code></a> wasi: Update and Fix Travis failures (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/126">#126</a>)</li>
<li><a href="d661aa7e1b"><code>d661aa7</code></a> Prepare release v0.1.13 (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/118">#118</a>)</li>
<li><a href="81bd43e5d6"><code>81bd43e</code></a> Fix typos and bad doc links. (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/117">#117</a>)</li>
<li><a href="9a385f1923"><code>9a385f1</code></a> Add VxWorks support (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/86">#86</a>)</li>
<li><a href="2fa1bbac80"><code>2fa1bba</code></a> Switch to using the arandom sysctl on NetBSD (same as FreeBSD). (<a href="https://github-redirect.dependabot.com/rust-random/getrandom/issues/115">#115</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.14">compare view</a></li>
</ul>
</details>
<br />

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

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-05 08:53:26 -04:00
bors-servo
ec49ebb753
Auto merge of #26562 - mrobinson:reanimator-style, r=jdm,emilio
Improvements to animation keyframe computation

This pull request contains two changes:

**Caching computed keyframes between animation changes**:
Instead of recomputing keyframe data for every tick of an animation,
cache the computed values when animations change. In addition to being
more efficient, this will allow us to return animation rules as property
declarations because we don't need to consult the final style to produce
them.

**Better computation of keyframe data**:
Instead of naively using `apply_declarations` to compute the style of
each keyframe, use an approach more like Gecko's where we carefully
walk through the animation keyframes and try to extract `AnimationValue`s
for each computed keyframe. In this approach we respect the order with
which the properties are set in the keyframe source and try to deal with
CSS custom properties.

---
<!-- 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-05 07:42:31 -04:00
Martin Robinson
b875f14e86 Better computation of animation keyframes
This begins to address #26625 by properly applying CSS variables during
keyframe computation and no longer using `apply_declarations`. Instead,
walk the declarations, combining them into IntermediateComputedKeyframe,
maintaining declarations that modify CSS custom properties. Then compute
a set of AnimationValues for each keyframe and use those to produce
interpolated animation values.
2020-06-05 13:40:29 +02:00
Martin Robinson
83fa1b9eaa Cache animation computed values when animations change
Instead of recalculating the animation style every tick of an animation,
cache the computed values when animations change. In addition to being
more efficient, this will allow us to return animation rules as property
declarations because we don't need to consult the final style to produce
them.
2020-06-05 13:21:19 +02:00
dependabot-preview[bot]
1a16193dcf
build(deps): bump ref_slice from 1.1.1 to 1.2.0
Bumps [ref_slice](https://github.com/steveklabnik/ref_slice) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/steveklabnik/ref_slice/releases)
- [Commits](https://github.com/steveklabnik/ref_slice/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:16:59 +00:00
dependabot-preview[bot]
579068e362
build(deps): bump openssl from 0.10.26 to 0.10.29
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.26 to 0.10.29.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.26...openssl-v0.10.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:16:12 +00:00
dependabot-preview[bot]
9d4e6e2f01
build(deps): bump indexmap from 1.3.2 to 1.4.0
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Commits](https://github.com/bluss/indexmap/compare/1.3.2...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:15:45 +00:00
dependabot-preview[bot]
3c13fb7926
build(deps): bump getrandom from 0.1.12 to 0.1.14
Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.1.12 to 0.1.14.
- [Release notes](https://github.com/rust-random/getrandom/releases)
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/getrandom/compare/v0.1.12...v0.1.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:15:19 +00:00
Gregory Terzian
dc690653da update XHR send to use XMLHttpRequestBodyInit 2020-06-05 15:08:57 +08:00
bors-servo
7df4655b60
Auto merge of #26791 - camelid:patch-1, r=jdm
Replace IRC link with Matrix

<!-- Please describe your changes on the following line: -->
Replace the IRC link in `CONTRIBUTING.md` with a link to the Matrix room.

Same as servo/servo-starters#55.

---
<!-- 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 (only a docs change)
- [ ] `./mach test-tidy` does not report any errors (only a docs change)
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because this is only a docs change

<!-- 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-04 23:10:47 -04:00
Camelid
e54c11a97b
Replace IRC link with Matrix 2020-06-04 19:48:11 -07:00
bors-servo
6963b72124
Auto merge of #26785 - servo:dependabot/cargo/gstreamer-0.15.6, r=jdm
build(deps): bump gstreamer from 0.15.5 to 0.15.6

Bumps gstreamer from 0.15.5 to 0.15.6.

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

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-04 21:59:29 -04:00
bors-servo
bce6eccced
Auto merge of #26790 - jdm:fewer-generics, r=SimonSapin
Reduce scope of generic code in script

Combined, these changes account for almost 100k lines of generated code in a debug build for the script crate.

---
- [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-06-04 20:55:08 -04:00
Josh Matthews
a5d0e0b1c1 Extract some thread local use from generic code. 2020-06-04 20:54:36 -04:00
Josh Matthews
ec0b5d55d7 Move thread state checks out of generic methods to reduce generated code duplication. 2020-06-04 20:54:36 -04:00
Josh Matthews
6dc4488bc7 Remove unnecessary generic from private_from_proto_check. 2020-06-04 20:54:36 -04:00
dependabot-preview[bot]
9788c5c7f4 build(deps): bump unicode-normalization from 0.1.5 to 0.1.12
Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
- [Release notes](https://github.com/unicode-rs/unicode-normalization/releases)
- [Commits](https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 20:54:36 -04:00
bors-servo
98fe360390
Auto merge of #26788 - servo:energy, r=jdm
Remove support for energy and heartbeats profiling

Both are disabled by default (energy at compile-time, heartbeats with a run-time option). Neither is tested of CI. Neither has been used in a long time. They might have Undefined Behavior: https://github.com/servo/servo/issues/26550#issuecomment-634238098. They each depend on a mostly-unmaintained C library. The thread-safety expectation of those libraries are unknown.
2020-06-04 19:29:46 -04:00
bors-servo
59ec134bb8
Auto merge of #26789 - CYBAI:svgelement-style, r=jdm
Introduce ElementCSSInlineStyle for SVGElement

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26777 and fix #26032 and fix #21990
- [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-04 18:27:13 -04:00
Simon Sapin
dbdc44215b Use UnsafeCell instead of static mut in background_hang_monitor/sampler_linux.rs 2020-06-05 00:11:37 +02:00
Simon Sapin
57d89675b0 Use atomic pointers instead of static mut for DOM proxy handlers 2020-06-05 00:11:37 +02:00
Simon Sapin
3367db6067 Keep DOM proxy handlers as separate named items rather than in one array 2020-06-05 00:11:37 +02:00
Simon Sapin
b282bd3a44 Remove support for heartbeats profiling 2020-06-04 22:53:56 +02:00
bors-servo
e2d980a071
Auto merge of #26480 - CYBAI:missing-on, r=jdm
Prefix `on` for function name of inline events

While checking what needs to be done for the spec-update, I've noticed the logic of checking `is window-reflecting element (e.g. body and frameset)` is already handled by the `is` casting function.

However, we still failed to pass the tests because we're missing `on` prefix for inline functions.

I'm not sure if this patch is good enough (or maybe at least I need to add a comment for why adding `on` prefix?).

Besides, I checked [how Gecko handles](https://searchfox.org/mozilla-central/rev/8bc4e35c9bb47c1fe3131e6155d9f482e1efef9a/dom/events/EventListenerManager.cpp#1012-1022) and looks like they also just pass the atom directly.
But, the [generated atom](https://searchfox.org/mozilla-central/source/__GENERATED__/xpcom/ds/nsGkAtomList.h#775) is prefixed with `on` which is correct to just pass it into the `CompileFunction`.

---
<!-- 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 #26479
- [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-04 16:45:22 -04:00
bors-servo
97fd10c602
Auto merge of #26784 - servo:dependabot/cargo/proc-macro-nested-0.1.4, r=jdm
build(deps): bump proc-macro-nested from 0.1.3 to 0.1.4

Bumps [proc-macro-nested](https://github.com/dtolnay/proc-macro-hack) from 0.1.3 to 0.1.4.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/dtolnay/proc-macro-hack/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=proc-macro-nested&package-manager=cargo&previous-version=0.1.3&new-version=0.1.4)](https://dependabot.com/compatibility-score/?dependency-name=proc-macro-nested&package-manager=cargo&previous-version=0.1.3&new-version=0.1.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-04 15:42:17 -04:00
bors-servo
5f6a05e715
Auto merge of #26771 - atouchet:raqote, r=jdm
Update raqote and associated dependencies

<!-- 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-06-04 13:45:36 -04:00
bors-servo
44811b020b
Auto merge of #26780 - servo:dependabot/cargo/proc-macro2-0.4.30, r=jdm
build(deps): bump proc-macro2 from 0.4.26 to 0.4.30

Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 0.4.26 to 0.4.30.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/alexcrichton/proc-macro2/releases">proc-macro2's releases</a>.</em></p>
<blockquote>
<h2>0.4.30</h2>
<ul>
<li>Implement Clone for TokenStream's IntoIter (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/177">#177</a>, thanks <a href="https://github.com/ivanbakel">@ivanbakel</a>)</li>
</ul>
<h2>0.4.29</h2>
<ul>
<li>Support compiling with <code>RUSTFLAGS='-Z allow-features='</code> on a nightly compiler (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/176">#176</a>, thanks <a href="https://github.com/Nemo157">@Nemo157</a>)</li>
</ul>
<h2>0.4.28</h2>
<ul>
<li>Avoid needlessly escaping <code>'</code> inside a string literal or <code>&quot;</code> inside a character literal (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/60">#60</a>)</li>
<li>Add impls of Copy, Clone, Debug, PartialEq, Eq for proc_macro2::LineColumn</li>
</ul>
<h2>0.4.27</h2>
<ul>
<li>
<p>Add Cargo cfg <code>&quot;span-locations&quot;</code> to expose <a href="https://docs.rs/proc-macro2/0.4/proc_macro2/struct.Span.html#method.start"><code>Span::start</code></a> and <a href="https://docs.rs/proc-macro2/0.4/proc_macro2/struct.Span.html#method.end"><code>Span::end</code></a> accessors that give the line and column location of a Span (<a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/166">#166</a>)</p>
<p>Be aware that this involves storing more information than before inside of Spans which increases their size -- leading to possibly slower performance of any code involving proc-macro2 types (but only when the cfg is enabled).</p>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="f514921bb4"><code>f514921</code></a> Release 0.4.30</li>
<li><a href="1ef4d12484"><code>1ef4d12</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/177">#177</a> from ivanbakel/cloneable_intoiter</li>
<li><a href="f6754d35b2"><code>f6754d3</code></a> Make TokenStream's IntoIter derive Clone</li>
<li><a href="79c8ed793f"><code>79c8ed7</code></a> Release 0.4.29</li>
<li><a href="ce12a482f0"><code>ce12a48</code></a> Remove double negative in !proc_macro_span_disallowed</li>
<li><a href="b455dd7764"><code>b455dd7</code></a> Use a cfg called proc_macro_span to control feature(proc_macro_span)</li>
<li><a href="8a1827af91"><code>8a1827a</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/alexcrichton/proc-macro2/issues/176">#176</a> from Nemo157/block-nightly-feature</li>
<li><a href="099db2afbb"><code>099db2a</code></a> Detect if the user has disallowed usage of the proc_macro_span feature</li>
<li><a href="692f49ce86"><code>692f49c</code></a> Fix reference to Serde in contribution section</li>
<li><a href="16c2b45e92"><code>16c2b45</code></a> Release 0.4.28</li>
<li>Additional commits viewable in <a href="https://github.com/alexcrichton/proc-macro2/compare/0.4.26...0.4.30">compare view</a></li>
</ul>
</details>
<br />

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

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-04 11:50:08 -04:00
bors-servo
5df062ab88
Auto merge of #26779 - servo:dependabot/cargo/unicode-normalization-0.1.12, r=jdm
build(deps): bump unicode-normalization from 0.1.5 to 0.1.12

Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
<details>
<summary>Commits</summary>
<ul>
<li><a href="59febebede"><code>59febeb</code></a> Publish 0.1.12</li>
<li><a href="fa604a6b99"><code>fa604a6</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/52">#52</a> from clintfred/master</li>
<li><a href="91bd7d8c0b"><code>91bd7d8</code></a> bump to smallvec 1.1.0</li>
<li><a href="02f8b230b7"><code>02f8b23</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/49">#49</a> from unicode-rs/bump</li>
<li><a href="87fac9dafe"><code>87fac9d</code></a> Bump to 0.1.11</li>
<li><a href="d81a08a4ec"><code>d81a08a</code></a> Add #[allow(ellipsis_inclusive_range_patterns)] to unicode.py</li>
<li><a href="717e6c2dac"><code>717e6c2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/48">#48</a> from kentfredric/attempt-4</li>
<li><a href="fc87399fce"><code>fc87399</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/unicode-rs/unicode-normalization/issues/47">#47</a> from unicode-rs/version-bump</li>
<li><a href="5fabe3660c"><code>5fabe36</code></a> Bump to 0.1.10</li>
<li><a href="0f4cb1e0b5"><code>0f4cb1e</code></a> Add travis glue to test built package too</li>
<li>Additional commits viewable in <a href="https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12">compare view</a></li>
</ul>
</details>
<br />

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

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-04 11:14:42 -04:00
CYBAI
c561a3eb0e Introduce ElementCSSInlineStyle for SVGElement 2020-06-05 00:10:19 +09:00
Simon Sapin
0abe90647f Remove support for energy profiling 2020-06-04 16:39:08 +02:00
bors-servo
bfb8b91719
Auto merge of #26781 - servo:dependabot/cargo/tokio-io-0.1.13, r=jdm
build(deps): bump tokio-io from 0.1.8 to 0.1.13

Bumps [tokio-io](https://github.com/tokio-rs/tokio) from 0.1.8 to 0.1.13.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md">tokio-io's changelog</a>.</em></p>
<blockquote>
<h1>0.1.13 (November 21, 2018)</h1>
<ul>
<li>Fix <code>Runtime::reactor()</code> when no tasks are spawned (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/721">#721</a>).</li>
<li><code>runtime::Builder</code> no longer uses deprecated methods (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/749">#749</a>).</li>
<li>Provide <code>after_start</code> and <code>before_stop</code> configuration settings for
<code>Runtime</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/756">#756</a>).</li>
<li>Implement throttle stream combinator (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/736">#736</a>).</li>
</ul>
<h1>0.1.12 (October 23, 2018)</h1>
<ul>
<li>runtime: expose <code>keep_alive</code> on runtime builder (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/676">#676</a>).</li>
<li>runtime: create a reactor per worker thread (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/660">#660</a>).</li>
<li>codec: fix panic in <code>LengthDelimitedCodec</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/682">#682</a>).</li>
<li>io: re-export <code>tokio_io::io::read</code> function (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/689">#689</a>).</li>
<li>runtime: check for executor re-entry in more places (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/708">#708</a>).</li>
</ul>
<h1>0.1.11 (September 28, 2018)</h1>
<ul>
<li>Fix <code>tokio-async-await</code> dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/675">#675</a>).</li>
</ul>
<h1>0.1.10 (September 27, 2018)</h1>
<ul>
<li>Fix minimal versions</li>
</ul>
<h1>0.1.9 (September 27, 2018)</h1>
<ul>
<li>Experimental async/await improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/661">#661</a>).</li>
<li>Re-export <code>TaskExecutor</code> from <code>tokio-current-thread</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/652">#652</a>).</li>
<li>Improve <code>Runtime</code> builder API (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/645">#645</a>).</li>
<li><code>tokio::run</code> panics when called from the context of an executor
(<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/646">#646</a>).</li>
<li>Introduce <code>StreamExt</code> with a <code>timeout</code> helper (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/573">#573</a>).</li>
<li>Move <code>length_delimited</code> into <code>tokio</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/575">#575</a>).</li>
<li>Re-organize <code>tokio::net</code> module (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/548">#548</a>).</li>
<li>Re-export <code>tokio-current-thread::spawn</code> in current_thread runtime
(<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/579">#579</a>).</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="b117fc1d65"><code>b117fc1</code></a> Bump version to v0.1.13 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/771">#771</a>)</li>
<li><a href="272e09d349"><code>272e09d</code></a> threadpool: remove smoke example (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/764">#764</a>) (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/770">#770</a>)</li>
<li><a href="3235749006"><code>3235749</code></a> threadpool: refactor pool shutdown (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/769">#769</a>)</li>
<li><a href="9c037044c4"><code>9c03704</code></a> threadpool: rename inner to something more descriptive (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/768">#768</a>)</li>
<li><a href="3658e10045"><code>3658e10</code></a> uds: implement UnixDatagramFramed (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/453">#453</a>)</li>
<li><a href="ed3ece266b"><code>ed3ece2</code></a> current-thread: fix shutdown on idle (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/763">#763</a>)</li>
<li><a href="9b1a45cc6a"><code>9b1a45c</code></a> tests: handle errors properly in examples (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/748">#748</a>)</li>
<li><a href="477fa5580a"><code>477fa55</code></a> ci: Don't deploy docs if $TARGET is set (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/762">#762</a>)</li>
<li><a href="bb6cca8ff0"><code>bb6cca8</code></a> tests: switch to Windows Server 2016 for AppVeyor builds. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/761">#761</a>)</li>
<li><a href="e166c4d912"><code>e166c4d</code></a> Implement throttle combinator (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/736">#736</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.8...tokio-0.1.13">compare view</a></li>
</ul>
</details>
<br />

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

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-04 08:54:36 -04:00
Simon Sapin
36920abfe8 Use const instead of static mut in script/dom/eventtarget.rs
There is no mutability there.
2020-06-04 14:33:53 +02:00
bors-servo
3d6fed85ff
Auto merge of #26755 - servo:flexbox, r=nox
Add Layout 2020 box tree support for Flexbox, behind a pref

CC https://github.com/servo/servo/issues/26639

Layout support will come in future PRs. This one generates a zero-size fragment with no content.
2020-06-04 07:20:24 -04:00
Simon Sapin
b9069d48d9 Parallelize flex item boxes construction 2020-06-04 13:19:53 +02:00
Simon Sapin
fff5cd5142 Owned ServoArc<ComputedValues> in TraversalHandler 2020-06-04 13:19:53 +02:00
Simon Sapin
29005e1626 Keep flex items in order-modified document order in the box tree 2020-06-04 13:19:53 +02:00
Simon Sapin
67d8aa84d2 Anonymous flex item for text directly in a flex container 2020-06-04 13:19:53 +02:00
Simon Sapin
ec548e849c Flex items in the box tree 2020-06-04 13:19:53 +02:00
Simon Sapin
64124f7a5e Layout 2020 skeleton for display: flex, behind a pref 2020-06-04 13:09:57 +02:00
bors-servo
d4f1f4641d
Auto merge of #26741 - servo:layout-2020-incremental-box-tree, r=SimonSapin
Reconstruct the box tree incrementally in some case

Nothing to see here for now. I just want to do a try run.
2020-06-04 06:20:45 -04:00
Anthony Ramine
a30bdc16dd Reconstruct the box tree incrementally in some case 2020-06-04 10:49:45 +02:00
dependabot-preview[bot]
418646b71c
build(deps): bump gstreamer from 0.15.5 to 0.15.6
Bumps gstreamer from 0.15.5 to 0.15.6.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:26:23 +00:00
dependabot-preview[bot]
1385f7b1b2
build(deps): bump proc-macro-nested from 0.1.3 to 0.1.4
Bumps [proc-macro-nested](https://github.com/dtolnay/proc-macro-hack) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/dtolnay/proc-macro-hack/releases)
- [Commits](https://github.com/dtolnay/proc-macro-hack/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:25:57 +00:00
dependabot-preview[bot]
71890698ea
build(deps): bump tokio-io from 0.1.8 to 0.1.13
Bumps [tokio-io](https://github.com/tokio-rs/tokio) from 0.1.8 to 0.1.13.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Changelog](https://github.com/tokio-rs/tokio/blob/tokio-0.1.13/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-io-0.1.8...tokio-0.1.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:24:12 +00:00
dependabot-preview[bot]
b9aac35eb1
build(deps): bump proc-macro2 from 0.4.26 to 0.4.30
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2) from 0.4.26 to 0.4.30.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases)
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/0.4.26...0.4.30)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:23:41 +00:00
dependabot-preview[bot]
ae9867cda0
build(deps): bump unicode-normalization from 0.1.5 to 0.1.12
Bumps [unicode-normalization](https://github.com/unicode-rs/unicode-normalization) from 0.1.5 to 0.1.12.
- [Release notes](https://github.com/unicode-rs/unicode-normalization/releases)
- [Commits](https://github.com/unicode-rs/unicode-normalization/compare/v0.1.5...v0.1.12)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-04 08:23:11 +00:00
bors-servo
8536cee72c
Auto merge of #25873 - gterzian:implement_readablestream_support, r=jdm
Implement readablestream support

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

FIX #21482
FIX #24876
FIX #26392

---
<!-- 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-04 03:04:00 -04:00