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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/audiocontext-getoutputtimestamp.html

Issue 2639643002: Move audiocontext-getoutputtimestamp test to AudioContext (Closed)
Patch Set: Convert to new Audit Created 3 years, 11 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/webaudio/AudioContext/audiocontext-getoutputtimestamp.html ('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 <html>
3 <head>
4 <title>Testing AudioContext.getOutputTimestamp() method</title>
5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script>
7 <script src="resources/audio-testing.js"></script>
8 </head>
9 <body>
10 <script>
11 var audit = Audit.createTaskRunner();
12
13 audit.defineTask('getoutputtimestamp-initial-values', function (taskDone) {
14 let context = new AudioContext;
15 let timestamp = context.getOutputTimestamp();
16
17 Should('timestamp.contextTime', timestamp.contextTime).exist();
18 Should('timestamp.performanceTime', timestamp.performanceTime).exist();
19
20 Should('timestamp.contextTime', timestamp.contextTime).beEqualTo(0);
21 Should('timestamp.performanceTime', timestamp.performanceTime).beEqualTo(0 );
22
23 taskDone();
24 });
25
26 audit.runTasks();
27 </script>
28 </body>
29 </html>
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/webaudio/AudioContext/audiocontext-getoutputtimestamp.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698