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

Side by Side Diff: third_party/WebKit/LayoutTests/web-animations-api/player-source-becomes-longer.html

Issue 2141833002: Rename the test and use testcommon.js (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: expectation filename changes Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animation-effect-read-only-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4
5 <script>
6 test(function() {
7 document.timeline.playbackRate = 0;
8 document.timeline.currentTime = 0;
9 var player = document.documentElement.animate([], 1000);
10 player.startTime = -1000;
11
12 assert_equals(player.currentTime, 1000);
13
14 player.effect.timing.duration = 1500;
15 document.timeline.currentTime = 2000;
16
17 assert_equals(player.startTime, -1000);
18 assert_equals(player.currentTime, 1500);
19 }, 'Extending effect should not cause a change in start time.');
20 </script>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/web-animations-api/animation-effect-read-only-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698