Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.js

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.js
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.js b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.js
new file mode 100644
index 0000000000000000000000000000000000000000..f099a2cf9eb70b540b0a600b4d61856cb7bc5dc3
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/animation/animation-pause-close.js
@@ -0,0 +1,11 @@
+(async function(testRunner) {
+ let {page, session, dp} = await testRunner.startBlank('');
+
+ dp.Animation.enable();
+ await dp.Animation.setPlaybackRate({ playbackRate: 0 });
+ testRunner.log((await dp.Animation.getPlaybackRate()).result.playbackRate);
+ await dp.Animation.disable();
+ await dp.Animation.enable();
+ testRunner.log((await dp.Animation.getPlaybackRate()).result.playbackRate);
+ testRunner.completeTest();
+})

Powered by Google App Engine
This is Rietveld 408576698