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

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

Issue 2386303002: Expose BaseAudioContext prototype (Closed)
Patch Set: Rebase Created 4 years, 1 month 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Testing OfflineAudioContext properties</title>
5 <script src="../resources/testharness.js"></script>
6 <script src="../resources/testharnessreport.js"></script>
7 <script src="resources/audio-testing.js"></script>
8 <script src="resources/context-properties.js"></script>
9 </head>
10 <body>
11 <script>
12 var audit = Audit.createTaskRunner();
13
14
15 audit.defineTask('offlineaudiocontext-properties', function (taskDone) {
16
17 // Check the properties that belongs to OAC.
18 checkContextProperties({
19 targetPrototype: OfflineAudioContext.prototype,
20 targetDescription: 'OfflineAudioContext.prototype',
21 propertyDict: OfflineAudioContextOwnProperties,
22 expected: true
23 }, Should);
24
25 // Check the properties that only belongs to AC.
26 checkContextProperties({
27 targetPrototype: OfflineAudioContext.prototype,
28 targetDescription: 'OfflineAudioContext.prototype',
29 propertyDict: AudioContextOwnProperties,
30 expected: false
31 }, Should);
32
33 taskDone();
34 });
35
36
37 audit.runTasks();
38 </script>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698