Commit graph

42903 commits

Author SHA1 Message Date
bors-servo
9b6b7935e6
Auto merge of #26607 - nosark:master, r=gterzian
Use ExtendableMessageEvent for messageerror in service workers #25241

<!-- Please describe your changes on the following line: -->
added function dispatch_error to the ExtendableMessageEvent implmentation and replaced the MessageEvent dispatch error call with the ExtendableMessageEvent dispatch error call in serviceworkerglobalscope.rs

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

<!-- Either: -->
- [x] There are tests for these changes OR
- [x] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-31 00:58:04 -04:00
bors-servo
a360b873be
Auto merge of #27456 - asajeffrey:gst-plugin-hubs, r=Manishearth
Get the gstreamer plugin to stream Hubs rooms

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

This is thje changes needed to the gstreamer plugin to stream a Hubs room:
- Add the ability to specify servo prefs as a gstreamer plugin property
- Fix a deadlock caused by using  bounded channel, which Hubs hits because it takes ~30s to enter webxr.
Also add a recipe for streaming Hubs.

---
<!-- 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 do not require tests because we don't test the gstreamer plugin

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-30 16:46:51 -04:00
Alan Jeffrey
172d296c8b Replace a bounded channel by an unbounded one in the gstreamer plugin 2020-07-30 13:31:12 -05:00
Alan Jeffrey
78c7621177 Add an example streaming a Hubs room to the gstreamer plugin 2020-07-30 13:30:21 -05:00
Alan Jeffrey
f87fdfee3c Add a prefs property to the gstreamer plugin 2020-07-30 13:29:30 -05:00
bors-servo
f0ba895c68
Auto merge of #27447 - kunalmohan:gpu-error, r=kvark
Refactor and improve GPUErrorScopes

- Remove use of equivalent BGLs
- Capture errors from more `Createxxx` operations
- Address crashes on macOS in #27402

Improved ErrorScope model attempts to-

1. Identify and report `OutOfMemoryError` separately.
1. Match `GPUErrorFilter` and pass on uncaptured errors to parent scope.

r?@kvark

<!-- 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
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because ___

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-30 14:26:05 -04:00
Kunal Mohan
4e38633009 Refactor and improve GPUErrorScopes
Remove use of equivalent BGLs
2020-07-30 23:36:58 +05:30
bors-servo
e752ed200a
Auto merge of #27452 - servo:dependabot/cargo/glslopt-0.1.4, r=jdm
build(deps): bump glslopt from 0.1.2 to 0.1.4

Bumps [glslopt](https://github.com/jamienicol/glslopt-rs) from 0.1.2 to 0.1.4. Fixes #27039.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/jamienicol/glslopt-rs/commits">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=glslopt&package-manager=cargo&previous-version=0.1.2&new-version=0.1.4)](https://dependabot.com/compatibility-score/?dependency-name=glslopt&package-manager=cargo&previous-version=0.1.2&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-07-30 11:40:22 -04:00
bors-servo
2c8889ac47
Auto merge of #27453 - servo-wpt-sync:wpt_update_30-07-2020, r=jdm
Sync WPT with upstream (30-07-2020)

Automated downstream sync of changes from upstream as of 30-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-30 11:28:45 -04:00
Josh Matthews
f21b045cb4
Ignore UWP restrictions for host binaries. 2020-07-30 10:11:12 -04:00
Josh Matthews
8fe51b49b4
Remove 2020 failure. 2020-07-30 10:08:02 -04:00
Kyle Nosar
95ddcf5d4d Use ExtendableMessageEvent for messageerror in service workers 2020-07-30 05:56:29 -07:00
WPT Sync Bot
53a530d4c0 Update web-platform-tests to revision fd5a851b2e6bd60ff49060f1b42197c976273728 2020-07-30 10:34:51 +00:00
dependabot-preview[bot]
a97f20af69
build(deps): bump glslopt from 0.1.2 to 0.1.4
Bumps [glslopt](https://github.com/jamienicol/glslopt-rs) from 0.1.2 to 0.1.4.
- [Release notes](https://github.com/jamienicol/glslopt-rs/releases)
- [Commits](https://github.com/jamienicol/glslopt-rs/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-30 08:12:10 +00:00
bors-servo
b1bd409047
Auto merge of #27449 - asajeffrey:gst-plugin-readme-edits, r=jdm
Gstreamer plugin README edits

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

Updated docs to the gstreamer plugin, now with a recipe for streaming to youtube live!

---
<!-- 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 do not require tests because we don't test READMEs

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-29 22:34:10 -04:00
bors-servo
5831ab8221
Auto merge of #27448 - asajeffrey:script-webgl-texture-ownership, r=jdm
Don't delete GL textures created by WebXR

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

Currently WebGL assumes it owns any WebGLTexture, and deletes the backing GL texture when the object is GC'd. This isn't valid for textures created by a webxr layer manager, which can result in textures being used after they're deleted.

---
<!-- 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 #27427
- [x] These changes do not require tests because we don't reftest webxr

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-29 19:23:52 -04:00
Alan Jeffrey
4d4a9c22ef Update gstreamer plugin README: directions for streaming to youtube live 2020-07-29 17:59:43 -05:00
Alan Jeffrey
308aa1606b Update gstreamer plugin README: use the glvideoflip plugin 2020-07-29 17:39:06 -05:00
Alan Jeffrey
5c121bc8d4 Update gstreamer plugin README: use the -e flag 2020-07-29 17:38:35 -05:00
Alan Jeffrey
ad4eb52a85 Update gstreamer plugin README: we support webgl content 2020-07-29 17:37:55 -05:00
bors-servo
c26a803fee
Auto merge of #27429 - asajeffrey:webxr-user-intent-pref, r=Manishearth
Add a pref to indicate user intent to enter webxr

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

Add a pref to indicate that the user has indicated intent to enter webxr.

---
<!-- 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 do not require tests because it's a command-line pref

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-29 18:25:12 -04:00
Alan Jeffrey
dfc641d648 Don't delete GL textures created by WebXR 2020-07-29 17:14:51 -05:00
Alan Jeffrey
89a2c5175f Set the dom.webxr.unsafe-assume-user-intent pref in the gstreamer plugin's webxr mode 2020-07-29 16:58:47 -05:00
Alan Jeffrey
4894e8f2c4 Add a pref to indicate user intent to enter webxr 2020-07-29 16:42:48 -05:00
bors-servo
223cb8d367
Auto merge of #27445 - jdm:uwp-gstreamer, r=Manishearth
Update packaged UWP gstreamer plugins.

Fixes #27444. Verified that the WACK checks still pass and the UWP app launches on desktop.
2020-07-29 17:24:04 -04:00
Josh Matthews
ef6bb443d2 Update packaged UWP gstreamer plugins. 2020-07-29 16:28:18 -04:00
bors-servo
a9a406e9e7
Auto merge of #27443 - mustafapc19:master, r=jdm
console.clear implemented

<!-- 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] These changes fix #27294  (GitHub issue number if applicable)

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because it deals with Firefox's devtools.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-29 16:19:33 -04:00
mustafapc19
d8b6755a8d Console.Clear implemented 2020-07-29 22:19:18 +05:30
mustafapc19
332c9cc12f Merge branch 'master' of https://github.com/servo/servo 2020-07-29 22:18:22 +05:30
bors-servo
6a3c3a4e18
Auto merge of #26447 - jdm:white-space-2020, r=nox
Layout 2020: Implement basic white-space: pre support

With these changes `<pre>` and `<br>` preserve spaces and force line breaks appropriately.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26440
- [x] There are tests for these changes
2020-07-29 10:29:30 -04:00
bors-servo
08366323ef
Auto merge of #27436 - servo-wpt-sync:wpt_update_29-07-2020, r=servo-wpt-sync
Sync WPT with upstream (29-07-2020)

Automated downstream sync of changes from upstream as of 29-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-29 08:54:58 -04:00
WPT Sync Bot
720d8a12b8 Update web-platform-tests to revision 43ef1ad9afcc9d9d922a5a96bc12b4eaf950960b 2020-07-29 10:41:25 +00:00
mustafapc19
1dd57d625c Merge branch 'master' of https://github.com/servo/servo 2020-07-29 09:02:05 +05:30
bors-servo
c6a3dcb90d
Auto merge of #27428 - avr1254:master, r=jdm
Fixed usage of wrong delete

<!-- 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] These changes fix # 27398

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they edit existing code.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-28 18:10:55 -04:00
Arjun Ramachandrula
4282f3b0a9 Fixed usage of wrong delete 2020-07-28 16:22:03 -04:00
bors-servo
119e6f2dc8
Auto merge of #27426 - Manishearth:webxrup, r=jdm
Update webxr

Pulls in the hand joint fixes from https://github.com/servo/webxr/pull/189
2020-07-28 15:47:27 -04:00
Manish Goregaokar
aaae06d65f Update webxr 2020-07-28 11:20:37 -07:00
bors-servo
b41f5f97f2
Auto merge of #27388 - Manishearth:clip-2020, r=SimonSapin
Layout 2020: Implement `clip: rect`

This implements `clip: rect`

Unfortunately, none of the tests pass yet, they are all broken due to https://github.com/servo/servo/issues/27387

Additionally, currently `clip` does not seem to clip the element itself, only its children. I'm not quite sure what to do about that, I patterned this off of the code in the layout 2013 which handled clip immediately after scroll overflow.
2020-07-28 11:44:38 -04:00
mustafapc19
73d0a42bff Synced with master 2020-07-28 20:09:14 +05:30
mustafapc19
55e482d02d Synced with master 2020-07-28 20:08:45 +05:30
Manish Goregaokar
354c6647ac Update wpt results in CSS2 2020-07-28 07:36:02 -07:00
bors-servo
582a7a7afa
Auto merge of #27420 - avr1254:master, r=jdm
Removed unnecessary conversion from UTF-8 to UTF-16

<!-- Please describe your changes on the following line: -->
Changed Spidermonkey API calls to remove need for UTF-16 conversion.

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

<!-- Either: -->
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because they simply optimize existing code for speed.

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
2020-07-28 09:20:26 -04:00
bors-servo
189a4d07a2
Auto merge of #27422 - servo-wpt-sync:wpt_update_28-07-2020, r=servo-wpt-sync
Sync WPT with upstream (28-07-2020)

Automated downstream sync of changes from upstream as of 28-07-2020.
[no-wpt-sync]
r? @servo-wpt-sync
2020-07-28 06:28:09 -04:00
WPT Sync Bot
1ad22043ab Update web-platform-tests to revision 9a28e2c8d072c358bd94b97bc8bff6db8388b6b1 2020-07-28 10:27:55 +00:00
bors-servo
0ce3ad5a4b
Auto merge of #27417 - jdm:clear-reload, r=Manishearth
Make reload button clear the network cache.

The developer workflow in FxR is frustrating right now because of bugs like https://github.com/servo/servo/issues/24385. To allow us to put out a new release soon that addresses this papercut, these changes make the reload button clear the network cache in FxR.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix (kind of) #26411.
- [x] These changes do not require tests because can't test FxR.
2020-07-28 03:02:44 -04:00
Manish Goregaokar
b026dae8ac Only apply clip() to positioned elements 2020-07-27 23:26:30 -07:00
bors-servo
870812d895
Auto merge of #27418 - Manishearth:secondary-view-pref, r=asajeffrey
Move secondary view support into a pref

Needs https://github.com/servo/webxr/pull/188

Adds a `dom.webxr.first_person_observer_view` pref that toggles FPO views.
2020-07-28 01:11:59 -04:00
Manish Goregaokar
9fe70e6b71 Move secondary view support into a pref 2020-07-27 20:45:42 -07:00
bors-servo
7eabd5c8bd
Auto merge of #27403 - servo:jdm-patch-46, r=Manishearth
Add more gstreamer plugins to nightly builds.
2020-07-27 23:24:08 -04:00
Josh Matthews
4e3621e91e Add more gstreamer plugins to nightly builds. 2020-07-27 23:22:41 -04:00