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

Side by Side Diff: third_party/WebKit/LayoutTests/webaudio/OfflineAudioContext/offlineaudiocontext-properties.html

Issue 2779103002: Convert context property tests to new Audit. (Closed)
Patch Set: Address review comments Created 3 years, 8 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>Testing OfflineAudioContext properties</title> 4 <title>Testing OfflineAudioContext properties</title>
5 <script src="../../resources/testharness.js"></script> 5 <script src="../../resources/testharness.js"></script>
6 <script src="../../resources/testharnessreport.js"></script> 6 <script src="../../resources/testharnessreport.js"></script>
7 <script src="../resources/audit-util.js"></script> 7 <script src="../resources/audit-util.js"></script>
8 <script src="../resources/audio-testing.js"></script> 8 <script src="../resources/audit.js"></script>
9 <script src="../resources/context-properties.js"></script> 9 <script src="../resources/context-properties.js"></script>
10 </head> 10 </head>
11 <body> 11 <body>
12 <script> 12 <script>
13 var audit = Audit.createTaskRunner(); 13 var audit = Audit.createTaskRunner();
14 14
15 15
16 // Cross-checking two sets of properties: a programmatically generated set 16 // Cross-checking two sets of properties: a programmatically generated set
17 // and a pre-populated set. 17 // and a pre-populated set.
18 audit.defineTask('crosschecking-properties', function (taskDone) { 18 audit.define('crosschecking-properties', (task, should) => {
19 verifyPrototypeOwnProperties(OfflineAudioContext.prototype, 19 verifyPrototypeOwnProperties(OfflineAudioContext.prototype,
20 OfflineAudioContextOwnProperties, 20 OfflineAudioContextOwnProperties,
21 Should); 21 should);
22 taskDone(); 22 task.done();
23 }); 23 });
24 24
25 25 audit.run();
26 audit.runTasks();
27 </script> 26 </script>
28 </body> 27 </body>
29 </html> 28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698