Auto merge of #12457 - johannhof:worker-global, r=Ms2ger

Expose Worker interfaces only to Worker

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

Partial #12415. Let me know if you suspect some other tests may be affected by this.

r? @Ms2ger

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

<!-- Either: -->
- [x] There (sorta) are tests for these changes

<!-- 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/12457)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-07-19 04:40:41 -07:00 committed by GitHub
commit efa5a0329a
6 changed files with 7 additions and 18 deletions

View file

@ -9675,12 +9675,3 @@
[Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent("addtrack", {track:document.createElement("track").track}) with too few arguments must throw TypeError]
expected: FAIL
[WorkerGlobalScope interface: existence and properties of interface object]
expected: FAIL
[WorkerNavigator interface: existence and properties of interface object]
expected: FAIL
[WorkerLocation interface: existence and properties of interface object]
expected: FAIL

View file

@ -176,9 +176,6 @@ test_interfaces([
"WebSocket",
"Window",
"Worker",
"WorkerGlobalScope", // #2823
"WorkerLocation", // #2823
"WorkerNavigator", // #2823
"XMLDocument",
"XMLHttpRequest",
"XMLHttpRequestEventTarget",