Commit graph

37200 commits

Author SHA1 Message Date
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
Josh Matthews
ee20b9ab88
Document gstreamer installation 2019-05-15 10:40:23 -04:00
Josh Matthews
7e84740fee
Add new mac builders to roster. 2019-05-15 10:28:30 -04:00
Josh Matthews
b3709dedc9
Update to generic-worker 14.1.1 on macOS 2019-05-15 10:27:12 -04:00
bors-servo
ed5c1cd6c2
Auto merge of #23395 - servo:win, r=jdm
Bump Windows build tasks time out

Before:

https://tools.taskcluster.net/groups/L8mSy2kiT9qzVt9r6b2bnQ/tasks/IkU0GgVJReGIEp3wUrzpHg/runs/0/logs/public%2Flogs%2Flive.log#L1100

After:

https://tools.taskcluster.net/groups/TDkbydkZSCOeb3z7ap-24g/tasks/HIS8WSMjRUe05nXOgssfzQ/runs/0/logs/public%2Flogs%2Flive.log#L1180

(Well that second one happened to only take 58 minutes, but still.)

<!-- 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/23395)
<!-- Reviewable:end -->
2019-05-15 09:51:39 -04:00
Simon Sapin
0e527c8b6f Bump Windows build tasks time out 2019-05-15 14:39:17 +02:00
Jan Andre Ikenmeyer
19a1a5f44d
Bootstrap: Use most recent version of OpenSSL 2019-05-15 09:27:14 +02:00
Jan Andre Ikenmeyer
715f9c6653
Taskcluster: Build and run with OpenSSL 1.1.0 2019-05-15 01:44:54 +02:00
bors-servo
576394b288
Auto merge of #23388 - servo:jdm-patch-41, r=Manishearth
Install webrtc-required components for gstreamer

We will need to reinstall gst-plugins-bad on the existing mac builders, but this should help any future mac builders that are created.

<!-- 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/23388)
<!-- Reviewable:end -->
2019-05-14 18:22:43 -04:00
Josh Matthews
65f1638980
Install webrtc-required components for gstreamer 2019-05-14 12:37:31 -04:00
bors-servo
36c75c4e5f
Auto merge of #23382 - servo:rustup, r=jdm
Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13)

<!-- 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/23382)
<!-- Reviewable:end -->
2019-05-14 11:38:52 -04:00
Simon Sapin
06b99983fc Upgrade to rustc 1.36.0-nightly (a9ec99f42 2019-05-13) 2019-05-14 17:37:40 +02:00
bors-servo
6f8bb4dd40
Auto merge of #23355 - jdm:mac-taskcluster, r=Manishearth,SimonSapin
Increase number of mac taskcluster WPT jobs

<!-- 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/23355)
<!-- Reviewable:end -->
2019-05-14 09:49:55 -04:00
bors-servo
3f30720bba
Auto merge of #23363 - Darkspirit:https, r=jdm
More https

* Disabled unused legacy TLS.
It will be disabled for Nightly 72 or 73 in 5-7 months and ride the [trains](https://wiki.mozilla.org/Release_Management/Calendar).
https://blog.mozilla.org/security/2018/10/15/removing-old-versions-of-tls/
* Updated MPL license in a few files.
It would be nice if a new version of https://pypi.org/project/servo_tidy/ could be released to update WebRender as well.
* Switched servo-deps.s3.amazonaws.com back to https.
This was recently regressed by 10585be25c and fc28073dfb.
* Made https the default protocol for address bar on desktop.
Press Ctrl+L on the Glutin port and enter `example.com`:
Servo previously assumed you meant `http://example.com/`, now it is `https://example.com/`.

---

- [x] `./mach build --release` does not report any errors
- [x] `./mach test-tidy` does not report any errors

<!-- 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/23363)
<!-- Reviewable:end -->
2019-05-14 08:21:17 -04:00
bors-servo
3ca9d143af
Auto merge of #23374 - jdm:wpt-job-pkgconfig, r=SimonSapin
Fix libffi pkg-config in WPT nightly job.

<!-- 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/23374)
<!-- Reviewable:end -->
2019-05-13 22:29:24 -04:00
bors-servo
fdafc833ae
Auto merge of #23135 - maharsh312:master, r=jdm
Create CanvasRect for OffscreenCanvas

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

Created CanvasRect fot OffscreenCanvas and Updated Testcases

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

<!-- 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/23135)
<!-- Reviewable:end -->
2019-05-13 16:19:57 -04:00
bors-servo
2c28e2b64f
Auto merge of #23347 - Darkspirit:hsts_ca_suffix, r=jdm
Update Public Suffix list, HSTS Preloading list and CA database

* Updated Public Suffix list using ./mach update-pub-domains
* Updated HSTS Preload list using ./mach update-hsts-preload
* Applied tiny format change to etc/cert_generator.sh
* Updated CA [database](https://ccadb-public.secure.force.com/mozilla/IncludedCACertificateReportPEMCSV) using etc/cert_generator.sh. New CAs are:
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign ECC Root CA - C3
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign ECC Root CA - G3
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign Root CA - C1
  * [bug 1442337](https://bugzilla.mozilla.org/show_bug.cgi?id=1442337) emSign Root CA - G1
  * [bug 1464306](https://bugzilla.mozilla.org/show_bug.cgi?id=1464306) Hongkong Post Root CA 3

---

- [x] `./mach test-tidy` does not report any errors

<!-- 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/23347)
<!-- Reviewable:end -->
2019-05-13 14:57:02 -04:00
Maharsh
cbff66928f removed comments 2019-05-13 14:17:12 -04:00
Josh Matthews
4ca139ec1e Ensure libffi pkgconfig is set up for WPT tests. 2019-05-13 12:35:09 -04:00
Josh Matthews
7119bc093f Enable gstreamer debug output on taskcluster. 2019-05-13 12:30:55 -04:00
Josh Matthews
dd18ad29ac Install gstreamer libraries for WPT runner tasks on mac. 2019-05-13 12:29:21 -04:00
Josh Matthews
1b8429f9ce Move two mac WPT jobs to taskcluster. 2019-05-13 12:18:53 -04:00
Josh Matthews
24f4792dee Add third mac builder to taskcluster. 2019-05-13 12:18:20 -04:00
Maharsh
854ba8d514 Borrow Layout Change 2019-05-13 12:04:17 -04:00
Josh Matthews
f147b8d119 Fix libffi pkg-config in WPT nightly job. 2019-05-13 11:45:45 -04:00
Maharsh
65e1f1fb3e Updated Testcases and Formatting 2019-05-11 21:58:15 -04:00
bors-servo
965f57e3f8
Auto merge of #23309 - CYBAI:update-workers, r=nox
Support WorkerOptions for Worker

I'd like to start working on updating SW related codes and I found it will have some algorithms related to module workers. And I found parts of the spec update is related to [fetch a module worker script graph](https://html.spec.whatwg.org/multipage/#fetch-a-module-worker-script-tree), maybe it's worth being a separate PR?

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix part of #23308
- [ ] 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/23309)
<!-- Reviewable:end -->
2019-05-11 03:36:23 -04:00
bors-servo
d9559499b2
Auto merge of #23163 - jdm:smup66, r=asajeffrey
Upgrade to SpiderMonkey 66

<!-- 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/23163)
<!-- Reviewable:end -->
2019-05-10 23:51:12 -04:00
CYBAI
dececad390 Update Worker webidl to support WorkerOptions 2019-05-11 12:14:25 +09:00
CYBAI
261c8d9e0c Introduce parser metadata for request 2019-05-11 12:10:28 +09:00
CYBAI
ffdcd3aa7a Fix mode and credential-mode for fetching classic worker script
Ref to step 1 in https://html.spec.whatwg.org/multipage/#fetch-a-classic-script
2019-05-11 12:08:55 +09:00
Josh Matthews
7c1c1d9af4 Use clang as assembler for magic leap. 2019-05-10 22:47:03 -04:00
Josh Matthews
757d1eb8c9 Update test results. 2019-05-10 22:47:03 -04:00
Josh Matthews
8420b299ca Update CI to use Clang instead of outdated GCC. 2019-05-10 22:47:02 -04:00
Josh Matthews
4328713f71 Update to SpiderMonkey 66. 2019-05-10 22:43:43 -04:00
Josh Matthews
d0d3401361 Use correct android platform version when linking. 2019-05-10 22:43:42 -04:00
Josh Matthews
d84679c715 Remove unused arm32 build. 2019-05-10 22:43:42 -04:00
bors-servo
887f43b65b
Auto merge of #23353 - emilio:gecko-sync, r=emilio
style: Sync changes from mozilla-central.

See each individual commit for details.

<!-- 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/23353)
<!-- Reviewable:end -->
2019-05-10 21:20:50 -04:00
bors-servo
81f750afa7
Auto merge of #23356 - jdm:tc-android-mac, r=jdm
Move android mac build 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/23356)
<!-- Reviewable:end -->
2019-05-10 18:26:35 -04:00