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

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

Issue 2567713002: Separating layout test utilities into audit-util.js (Closed)
Patch Set: Created 4 years 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 BaseAudioContext properties</title> 4 <title>Testing BaseAudioContext 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/audio-testing.js"></script> 8 <script src="resources/audio-testing.js"></script>
8 <script src="resources/context-properties.js"></script> 9 <script src="resources/context-properties.js"></script>
9 </head> 10 </head>
10 <body> 11 <body>
11 <script> 12 <script>
12 var audit = Audit.createTaskRunner(); 13 var audit = Audit.createTaskRunner();
13 14
14 15
15 // Cross-checking two sets of properties: a programmatically generated set 16 // Cross-checking two sets of properties: a programmatically generated set
16 // and a pre-populated set. 17 // and a pre-populated set.
17 audit.defineTask('crosschecking-properties', function (taskDone) { 18 audit.defineTask('crosschecking-properties', function (taskDone) {
18 verifyPrototypeOwnProperties(BaseAudioContext.prototype, 19 verifyPrototypeOwnProperties(BaseAudioContext.prototype,
19 BaseAudioContextOwnProperties, 20 BaseAudioContextOwnProperties,
20 Should); 21 Should);
21 taskDone(); 22 taskDone();
22 }); 23 });
23 24
24 25
25 audit.runTasks(); 26 audit.runTasks();
26 </script> 27 </script>
27 </body> 28 </body>
28 </html> 29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698