gecko-dev/testing/web-platform/tests/fullscreen/idlharness.window.js
Philip Jägenstedt 2578828321 Bug 1482377 [wpt PR 12405] - Convert compat+console+fullscreen+storage+url+xhr to idl_test, a=testonly
Automatic update from web-platform-testsConvert compat+console+fullscreen+storage+url+xhr to idl_test (#12405)

Also add more objects in some of these tests.

XHR will now be tested against workers as well, and local tested
revealed a test will be failing due to an old TODO in Blink:
https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/xmlhttprequest/xml_http_request.idl?l=79&rcl=9c356a9697625b3c25856529908af0c3253dfa2c

A failing test for that is good :)
--

wpt-commits: 9786a4b1317c03b89ea3bf2e997f2e2b6a3690ae
wpt-pr: 12405
2018-08-15 16:50:25 +00:00

15 lines
300 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['fullscreen'],
['dom', 'html'],
idl_array => {
idl_array.add_objects({
Document: ['new Document'],
Element: ['document.createElementNS(null, "test")'],
});
}
);