forked from mirrors/gecko-dev
Automatic update from web-platform-tests Rename many idlharness.js tests to idlharness.* (#18743) idlharness.window.js and similar is already by far the most common naming for idlharness.js tests, and that's a good unique name for findings tests, on wpt.fyi in partiuclar. This renames all files that contain both `/resources/idlharness.js` and `idl_test`. The remaining may be renamed when they're converted to use `idl_test`. This also renames the domparsing tests from .any.js to .window.js since those are main thread APIs. Testing for the absense of the interface objects in workers isn't practically useful, and the instance tests will always fail: https://wpt.fyi/results/domparsing/interfaces.any.worker.html?run_id=295100002&run_id=296880003&run_id=277130001&run_id=296870004 -- wpt-commits: 274abf218e780afa74ea6b8ac30e77c081c8a2d2 wpt-pr: 18743 --HG-- rename : testing/web-platform/tests/BackgroundSync/interfaces.https.any.js => testing/web-platform/tests/BackgroundSync/idlharness.https.any.js rename : testing/web-platform/tests/css/css-typed-om/interfaces.html => testing/web-platform/tests/css/css-typed-om/idlharness.html rename : testing/web-platform/tests/css/cssom-view/interfaces.html => testing/web-platform/tests/css/cssom-view/idlharness.html rename : testing/web-platform/tests/css/cssom/interfaces.html => testing/web-platform/tests/css/cssom/idlharness.html rename : testing/web-platform/tests/css/filter-effects/interfaces.any.js => testing/web-platform/tests/css/filter-effects/idlharness.any.js rename : testing/web-platform/tests/domparsing/interfaces.any.js => testing/web-platform/tests/domparsing/idlharness.window.js rename : testing/web-platform/tests/fetch/api/idl.any.js => testing/web-platform/tests/fetch/api/idlharness.any.js rename : testing/web-platform/tests/html/dom/interfaces.https.html => testing/web-platform/tests/html/dom/idlharness.https.html rename : testing/web-platform/tests/html/dom/interfaces.worker.js => testing/web-platform/tests/html/dom/idlharness.worker.js rename : testing/web-platform/tests/permissions/interfaces.any.js => testing/web-platform/tests/permissions/idlharness.any.js rename : testing/web-platform/tests/pointerlock/interfaces.window.js => testing/web-platform/tests/pointerlock/idlharness.window.js
18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
// META: script=/resources/WebIDLParser.js
|
|
// META: script=/resources/idlharness.js
|
|
|
|
'use strict';
|
|
|
|
// https://w3c.github.io/pointerlock/
|
|
|
|
idl_test(
|
|
['pointerlock'],
|
|
['uievents', 'html', 'dom'],
|
|
idl_array => {
|
|
idl_array.add_objects({
|
|
Document: ["window.document"],
|
|
Element: ["window.document.documentElement"],
|
|
MouseEvent: ["new MouseEvent('foo')"]
|
|
});
|
|
}
|
|
);
|