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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/AudioContext/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 | « no previous file | third_party/WebKit/LayoutTests/webaudio/audiocontext-getoutputtimestamp.html » ('j') | 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/audit.js"></script>
8 </head>
9 <body>
10 <script>
11 var audit = Audit.createTaskRunner();
12
13 audit.define('getoutputtimestamp-initial-values', function (task, should) {
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(
22 0);
23
24 task.done();
25 });
26
27 audit.run();
28 </script>
29 </body>
30 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/webaudio/audiocontext-getoutputtimestamp.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698