| Index: third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-properties.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-properties.html b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-properties.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dc18df8ecb18548be2226d9334bb4613fe4810ad
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/offlineaudiocontext-properties.html
|
| @@ -0,0 +1,40 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<head>
|
| + <title>Testing OfflineAudioContext properties</title>
|
| + <script src="../resources/testharness.js"></script>
|
| + <script src="../resources/testharnessreport.js"></script>
|
| + <script src="resources/audio-testing.js"></script>
|
| + <script src="resources/context-properties.js"></script>
|
| +</head>
|
| +<body>
|
| + <script>
|
| + var audit = Audit.createTaskRunner();
|
| +
|
| +
|
| + audit.defineTask('offlineaudiocontext-properties', function (taskDone) {
|
| +
|
| + // Check the properties that belongs to OAC.
|
| + checkContextProperties({
|
| + targetPrototype: OfflineAudioContext.prototype,
|
| + targetDescription: 'OfflineAudioContext.prototype',
|
| + propertyDict: OfflineAudioContextOwnProperties,
|
| + expected: true
|
| + }, Should);
|
| +
|
| + // Check the properties that only belongs to AC.
|
| + checkContextProperties({
|
| + targetPrototype: OfflineAudioContext.prototype,
|
| + targetDescription: 'OfflineAudioContext.prototype',
|
| + propertyDict: AudioContextOwnProperties,
|
| + expected: false
|
| + }, Should);
|
| +
|
| + taskDone();
|
| + });
|
| +
|
| +
|
| + audit.runTasks();
|
| + </script>
|
| +</body>
|
| +</html>
|
|
|