Commit graph

37138 commits

Author SHA1 Message Date
Fernando Jiménez Moreno
f8bcddea54 Update test expectations after 'OscillatorNode.type' addition 2019-05-22 10:20:01 +02:00
Maria Sable
969d61a17f Implemented type attribute for OscillatorNode interface 2019-05-21 17:20:03 +02:00
bors-servo
6fb7a8cdc7
Auto merge of #23405 - Eijebong:weedle, r=jdm
Switch from webidl to weedle in script_plugins

This removes the dependency on lalrpop and should speed up compilation
quite a bit.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23405)
<!-- Reviewable:end -->
2019-05-20 21:13:33 -04:00
bors-servo
b1fcd41efc
Auto merge of #23420 - ferjm:gst.1.16.android, r=Manishearth
Upgrade gstreamer binaries for Android to 1.16.0

- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #___ (GitHub issue number if applicable)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23420)
<!-- Reviewable:end -->
2019-05-20 18:33:30 -04:00
bors-servo
255d54086b
Auto merge of #23410 - tigercosmos:proxywindow-spec-update, r=KiChjang
spec update: window.name deals with lack of browsing context

<!-- Please describe your changes on the following line: -->
new [spec](https://html.spec.whatwg.org/multipage/window-object.html#dom-name):

The name attribute's getter must run these steps:

1. If this Window object's browsing context is null, then return the empty string.
2. Return this Window object's browsing context's name.

The name attribute's setter must run these steps:

1.  If this Window object's browsing context is null, then return.
2. Set this Window object's browsing context's name to the given value.

What is `null` here? According to [spec](https://html.spec.whatwg.org/multipage/browsers.html#concept-document-bc)
>  A Document's browsing context is the browsing context whose session history contains the Document, if any such browsing context exists and has not been discarded, and null otherwise.

---
<!-- 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] passed ` tests/wpt/web-platform-tests/html/browsers/the-window-object/name-attribute.window.js`
- [X] These changes fix #22915

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23410)
<!-- Reviewable:end -->
2019-05-20 13:47:33 -04:00
bors-servo
25307c23f5
Auto merge of #23424 - servo:plugin-search-path, r=ferjm
Use correct plugin search path for locally cloned gstreamer

r? @ferjm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23424)
<!-- Reviewable:end -->
2019-05-20 11:47:01 -04:00
bors-servo
07c43f7ffd
Auto merge of #23426 - servo:jdm-patch-49, r=jdm
Add gnutls dependency for gstreamer plugins build

From one of the newer macOS taskcluster workers:
```
==> Installing gst-plugins-bad dependency: srtp
==> Downloading https://homebrew.bintray.com/bottles/srtp-2.2.0.high_sierra.bottle.tar.gz
==> Pouring srtp-2.2.0.high_sierra.bottle.tar.gz
🍺  /Users/worker/homebrew/Cellar/srtp/2.2.0: 14 files, 408.4KB
==> Installing gst-plugins-bad
Error: An exception occurred within a child process:
  RuntimeError: /Users/worker/homebrew/opt/gnutls not present or broken
Please reinstall gnutls. Sorry :(
Installing ./etc/taskcluster/macos/formula/gst-plugins-bad.rb has failed!
```

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23426)
<!-- Reviewable:end -->
2019-05-19 20:56:30 -04:00
bors-servo
9b6a35c1df
Auto merge of #23416 - Manishearth:mediaup, r=asajeffrey
Update servo-media

Ensuring the gl failures in https://github.com/servo/servo/pull/23377 are not caused by this

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23416)
<!-- Reviewable:end -->
2019-05-19 18:48:33 -04:00
bors-servo
7e766e9189
Auto merge of #23171 - hundredeir:find_elem_elems, r=jdm
add webdriver command "Find elements from Element"

---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23171)
<!-- Reviewable:end -->
2019-05-19 15:25:07 -04:00
Josh Matthews
7b8511e2c5
Add gnutls dependency for gstreamer plugins build 2019-05-19 10:23:08 -04:00
bors-servo
32ddc420a4
Auto merge of #23415 - servo:jdm-patch-48, r=SimonSapin
Make net.generic.worker a LaunchDaemon

Based on my reading in https://www.launchd.info/ I don't believe it should be a LaunchAgent, since it runs for another user than the one that is logged in.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23415)
<!-- Reviewable:end -->
2019-05-19 08:59:52 -04:00
bors-servo
538a7a59d5
Auto merge of #23419 - servo:SimonSapin-patch-1, r=jdm
Fix magicleap nightly upload

Remove some extra quotes in the shell script

Failed in https://tools.taskcluster.net/tasks/WtK7OY9qQ6Wg9xbXCS8eCQ

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23419)
<!-- Reviewable:end -->
2019-05-18 18:45:39 -04:00
tigercosmos
e80fdede4c window.name deals with lack of browsing context 2019-05-19 03:23:42 +08:00
bors-servo
208d6cb99e
Auto merge of #23323 - nehalem501:master, r=jdm
Implement connectStart in PerformanceResourceTiming

<!-- Please describe your changes on the following line: -->
- Added connectStart where needed (```ResourceFetchTiming```, ```ResourceAttribute```) in ```components/net_traits/lib.rs ```
- Before calling ```client.request``` in ```obtain_response```, we now add the ```connectStart``` attribute (```components/net/http_loader.rs```)
- Updated tests to reflect those changes

---
<!-- 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 #21261 (at least partially)

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23323)
<!-- Reviewable:end -->
2019-05-17 18:10:09 -04:00
Manish Goregaokar
7f76ddd6b3 Use correct plugin search path for locally cloned gstreamer 2019-05-17 13:31:29 -07:00
Josh Matthews
409167d7c5 Add useful debugging output for macos builds. 2019-05-17 16:25:29 -04:00
Josh Matthews
9098e6a51a Improve dependencies for generic-worker deployment. 2019-05-17 16:06:43 -04:00
Josh Matthews
1505c9cfc9 Remove old service plist. 2019-05-17 16:06:43 -04:00
Josh Matthews
e7751d8d23 Make net.generic.worker a LaunchDaemon 2019-05-17 16:06:43 -04:00
bors-servo
cdd95caa8d
Auto merge of #23404 - Manishearth:gst16, r=jdm
Update linux desktop to gstreamer 1.16

r? @jdm

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23404)
<!-- Reviewable:end -->
2019-05-17 13:39:35 -04:00
bors-servo
fb875f822e
Auto merge of #23403 - jdm:homebrew-tap, r=Manishearth
Add gst-plugins-bad homebrew formula that enables webrtc.

This forks the upstream homebrew formula for gst-plugins-bad and re-adds two important (previously optional) dependencies. It also adds a script to regenerate the formula from upstream to make it as easy as possible to update gstreamer in the future.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23403)
<!-- Reviewable:end -->
2019-05-17 11:59:16 -04:00
Fernando Jiménez Moreno
12d6b37836 Upgrade gstreamer binaries for Android to 1.16.0 2019-05-17 17:17:28 +02:00
bors-servo
2cebf893c9
Auto merge of #23411 - servo:jdm-patch-47, r=SimonSapin
Add debugging info to macOS TC build tasks.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23411)
<!-- Reviewable:end -->
2019-05-17 09:17:22 -04:00
Simon Sapin
b2a0cea411
Fix magicleap nightly upload
Remove some extra quotes in the shell script

Failed in https://tools.taskcluster.net/tasks/WtK7OY9qQ6Wg9xbXCS8eCQ
2019-05-17 13:03:00 +02:00
bors-servo
cb4e3e298e
Auto merge of #23362 - jdm:tc-magicleap, r=SimonSapin
Move magicleap builds to taskcluster

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23362)
<!-- Reviewable:end -->
2019-05-17 00:05:04 -04:00
Josh Matthews
72a628510b
Don't fail the build when target directory is missing 2019-05-16 21:57:53 -04:00
Manish Goregaokar
710860564d Update servo-media 2019-05-16 15:13:44 -07:00
Josh Matthews
1990a22a1b Raise an error if ML SDK doesn't exist. 2019-05-16 17:07:03 -04:00
Josh Matthews
50bce03b4b Add servo-tc-mac6 to TC pool. 2019-05-16 17:07:03 -04:00
Josh Matthews
c6ba96a058 Move magicleap build to taskcluster. 2019-05-16 17:07:02 -04:00
Manish Goregaokar
ec15946f98 Bump gstreamer in Travis 2019-05-16 12:15:12 -07:00
Manish Goregaokar
e89b7e8527 Update gstreamer 2019-05-16 12:15:12 -07:00
Josh Matthews
cbf3dfa0c0
Add debugging info to macOS TC build tasks. 2019-05-16 12:25:57 -04:00
bors-servo
5d479109ef
Auto merge of #23406 - jdm:more-macos-tc, r=SimonSapin
Move all macOS WPT jobs to Taskcluster

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23406)
<!-- Reviewable:end -->
2019-05-16 11:39:17 -04:00
bors-servo
3a5ebb1f5d
Auto merge of #23249 - georgeroman:implement_mouseevent_buttons, r=Manishearth
Implement MouseEvent buttons attribute

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

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23249)
<!-- Reviewable:end -->
2019-05-16 09:17:15 -04:00
bors-servo
ce93e017c6
Auto merge of #23402 - servo:jdm-patch-46, r=Manishearth
Improve output for local WPT sync runs.

This avoids warnings about unset values when running the script locally.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23402)
<!-- Reviewable:end -->
2019-05-16 04:48:05 -04:00
George Roman
be3cb00c77 Implement MouseEvent buttons attribute 2019-05-16 10:59:20 +03:00
bors-servo
e868ab01a4
Auto merge of #23398 - servo-wpt-sync:wpt_update_15-05-2019, r=jdm
Sync WPT with upstream (15-05-2019)

Automated downstream sync of changes from upstream as of 15-05-2019.
[no-wpt-sync]

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23398)
<!-- Reviewable:end -->
2019-05-16 02:44:37 -04:00
bors-servo
425686984d
Auto merge of #23351 - CYBAI:fix-modes, r=nox
Fix modes for fetching classic worker script and introduce parser metadata for request

While reading [the spec](https://html.spec.whatwg.org/multipage/#fetch-a-classic-worker-script) for `fetch a classic worker script`, I found the `mode` and `credential-mode` are opposite to the spec. So, the first commit will fix it.

Also, I found there's a `parser metadata` for `request` so I tried to introduce it in this PR as well.

For WPT, I found there's a `/workers/constructors/Worker/same-origin.html` which was disabled in  #3180. We pass most of the tests now.

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

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23351)
<!-- Reviewable:end -->
2019-05-16 00:19:40 -04:00
Josh Matthews
5dc1092977 Move all WPT mac jobs to taskcluster. 2019-05-16 00:06:06 -04:00
Josh Matthews
4705745a0d Add bluetooth servodriver tests to final WPT chunk. 2019-05-16 00:05:59 -04:00
bors-servo
8d048d2af1
Auto merge of #23397 - servo:jdm-patch-44, r=KiChjang
Document gstreamer installation

Fixes #23394.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23397)
<!-- Reviewable:end -->
2019-05-15 21:13:53 -04:00
Bastien Orivel
13c632e739 Switch from webidl to weedle in script_plugins
This removes the dependency on lalrpop and should speed up compilation
quite a bit.
2019-05-15 23:03:25 +02:00
bors-servo
c1c60d0fc4
Auto merge of #23392 - Darkspirit:tc_openssl1.1, r=jdm
Build Linux Nightly with OpenSSL 1.1.0

Servo Nightly fails to run on Ubuntu 19.04 (disco) as it doesn't have a libssl1.0.0 package.
OpenSSL 1.1.x is supported since [Debian Stretch](https://packages.debian.org/en/stretch/libssl1.1) (currently Debian Stable) and [Ubuntu 18.04](https://packages.ubuntu.com/bionic/libssl1.1) (used by base.dockerfile).
Ancient Debian + Ubuntu releases are still able to compile Servo using their most recent OpenSSL (1.0.x).

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #12015, fix #21778 and fix #22110

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23392)
<!-- Reviewable:end -->
2019-05-15 15:28:04 -04:00
Josh Matthews
335b49e80e Add gst-plugins-bad homebrew formula that enables webrtc. 2019-05-15 14:29:06 -04:00
bors-servo
ab7917e08a
Auto merge of #23396 - servo:jdm-patch-43, r=SimonSapin
Update generic-worker for macOS

This includes https://github.com/taskcluster/generic-worker/pull/203 which is needed for #23362.

<!-- Reviewable:start -->
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23396)
<!-- Reviewable:end -->
2019-05-15 13:07:51 -04:00
Josh Matthews
eb20e1ebd0
Improve output for local WPT sync runs. 2019-05-15 12:40:56 -04:00
WPT Sync Bot
edff458e23 Update web-platform-tests to revision d7afcb8708eac08a614d161d5622a48172daf7e3 2019-05-15 12:27:06 -04:00
bors-servo
47de1ca6d2
Auto merge of #23401 - servo:jdm-patch-45, r=jdm
Remove unsupported homebrew options

452f458438 removed these options as part of a purge of support for building from source from the package manager.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23401)
<!-- Reviewable:end -->
2019-05-15 11:53:29 -04:00
Josh Matthews
3dab5d0013
Remove unsupported homebrew options 2019-05-15 11:40:53 -04:00