Auto merge of #26434 - jdm:playground, r=Manishearth

Allow BabylonJS playground to load

These changes fix the JS errors that currently appear when loading the page. You can't use the editor, but the webgl canvas works just fine.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #26428 and fix #25478
- [x] There are tests for these changes
This commit is contained in:
bors-servo 2020-05-13 15:40:23 -04:00 committed by GitHub
commit 52d9fb57fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 69 additions and 46 deletions

View file

@ -1,19 +1,6 @@
[event-global.html]
[event exists on window, which is initially set to undefined]
expected: FAIL
[window.event is only defined during dispatch]
expected: FAIL
[window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)]
expected: FAIL
[window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)]
expected: FAIL
[window.event is set to the current event during dispatch]
expected: FAIL
[window.event is set to the current event, which is the event passed to dispatch]
expected: FAIL

View file

@ -152,9 +152,6 @@
[AbortSignal interface object length]
expected: FAIL
[Window interface: attribute event]
expected: FAIL
[AbortController interface: new AbortController() must inherit property "abort()" with the proper type]
expected: FAIL

View file

@ -1417,9 +1417,6 @@
[Document interface: iframe.contentDocument must inherit property "dir" with the proper type]
expected: FAIL
[Document interface: new Document() must inherit property "queryCommandSupported(DOMString)" with the proper type]
expected: FAIL
[Window interface: attribute onsecuritypolicyviolation]
expected: FAIL
@ -1441,9 +1438,6 @@
[Window interface: attribute menubar]
expected: FAIL
[Document interface: calling queryCommandSupported(DOMString) on documentWithHandlers with too few arguments must throw TypeError]
expected: FAIL
[Document interface: attribute designMode]
expected: FAIL
@ -1480,15 +1474,9 @@
[Document interface: calling execCommand(DOMString, boolean, DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[Document interface: calling queryCommandSupported(DOMString) on new Document() with too few arguments must throw TypeError]
expected: FAIL
[Window interface: operation focus()]
expected: FAIL
[Document interface: documentWithHandlers must inherit property "queryCommandSupported(DOMString)" with the proper type]
expected: FAIL
[Window interface: attribute scrollbars]
expected: FAIL
@ -1516,9 +1504,6 @@
[Document interface: iframe.contentDocument must inherit property "queryCommandValue(DOMString)" with the proper type]
expected: FAIL
[Document interface: operation queryCommandSupported(DOMString)]
expected: FAIL
[Document interface: iframe.contentDocument must inherit property "all" with the proper type]
expected: FAIL
@ -1588,9 +1573,6 @@
[Window interface: window must inherit property "blur()" with the proper type]
expected: FAIL
[Document interface: iframe.contentDocument must inherit property "queryCommandSupported(DOMString)" with the proper type]
expected: FAIL
[Document interface: calling execCommand(DOMString, boolean, DOMString) on iframe.contentDocument with too few arguments must throw TypeError]
expected: FAIL
@ -1621,9 +1603,6 @@
[Document interface: iframe.contentDocument must inherit property "queryCommandEnabled(DOMString)" with the proper type]
expected: FAIL
[Document interface: calling queryCommandSupported(DOMString) on iframe.contentDocument with too few arguments must throw TypeError]
expected: FAIL
[Window interface: operation blur()]
expected: FAIL