gecko-dev/testing/web-platform/tests/scroll-animations/idlharness.window.js
Philip Jägenstedt 31cb719d06 Bug 1484803 [wpt PR 12575] - Convert Scroll-linked Animations IDL test to use idl_test, a=testonly
Automatic update from web-platform-testsConvert Scroll-linked Animations IDL test to use idl_test (#12575)

The current test is broken because of missing dependencies:
https://staging.wpt.fyi/results/scroll-animations/idlharness.html?label=stable&sha=6aef6676d2
--

wpt-commits: eece8a17099ad0789532d570f916bcc3a0d17a67
wpt-pr: 12575
2018-08-29 10:08:21 +00:00

16 lines
409 B
JavaScript

// META: script=/resources/WebIDLParser.js
// META: script=/resources/idlharness.js
'use strict';
idl_test(
['scroll-animations'],
// The css-pseudo dependency shouldn't be necessary, but is:
// https://github.com/web-platform-tests/wpt/issues/12574
['web-animations', 'css-pseudo', 'dom'],
idl_array => {
idl_array.add_objects({
ScrollTimeline: ['new ScrollTimeline()'],
});
}
);