Skip to content

Commit

Permalink
Convert Scroll-linked Animations IDL test to use idl_test (#12575)
Browse files Browse the repository at this point in the history
  • Loading branch information
foolip committed Aug 21, 2018
1 parent 77cf912 commit eece8a1
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 38 deletions.
38 changes: 0 additions & 38 deletions scroll-animations/idlharness.html

This file was deleted.

16 changes: 16 additions & 0 deletions scroll-animations/idlharness.window.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// 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()'],
});
}
);

0 comments on commit eece8a1

Please sign in to comment.