aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html
diff options
context:
space:
mode:
authorWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-01-23 08:22:35 +0000
committerWPT Sync Bot <josh+wptsync@joshmatthews.net>2020-01-23 10:58:08 +0000
commit36e52003a7cb8086ad70bcab8fb65c970cc88b34 (patch)
tree53bea5ba5d87994d65316d84ad76eaa99d7da1f8 /tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html
parent24674687acaaca3a796f8cc61bc98c6e7d0097fb (diff)
downloadservo-36e52003a7cb8086ad70bcab8fb65c970cc88b34.tar.gz
servo-36e52003a7cb8086ad70bcab8fb65c970cc88b34.zip
Update web-platform-tests to revision 7ec633bbfbc01de4972e65f81f593983d9cdc17d
Diffstat (limited to 'tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html')
-rw-r--r--tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html b/tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html
index 675a705891f..a5c81a29bd9 100644
--- a/tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html
+++ b/tests/wpt/web-platform-tests/web-animations/interfaces/KeyframeEffect/setKeyframes.html
@@ -34,7 +34,7 @@ for (const subtest of gKeyframesTests) {
for (const subtest of gInvalidKeyframesTests) {
test(t => {
const effect = new KeyframeEffect(target, {});
- assert_throws(new TypeError, () => {
+ assert_throws_js(TypeError, () => {
effect.setKeyframes(subtest.input);
});
}, `KeyframeEffect constructor throws with ${subtest.desc}`);