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 -->
This commit is contained in:
bors-servo 2019-05-11 03:36:23 -04:00 committed by GitHub
commit 965f57e3f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 57 additions and 22 deletions

View file

@ -10511,9 +10511,6 @@
[BroadcastChannel interface: attribute onmessageerror]
expected: FAIL
[Worker interface: attribute onmessageerror]
expected: FAIL
[SharedWorker interface: existence and properties of interface object]
expected: FAIL

View file

@ -558,9 +558,6 @@
[WorkerGlobalScope interface: attribute onrejectionhandled]
expected: FAIL
[Worker interface: attribute onmessageerror]
expected: FAIL
[OffscreenCanvasRenderingContext2D interface: operation createImageData(ImageData)]
expected: FAIL

View file

@ -1,7 +0,0 @@
[dedicated-worker-options-type.html]
[Test worker construction with an empty worker type.]
expected: FAIL
[Test worker construction with an unknown worker type.]
expected: FAIL