| Index: third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| diff --git a/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html b/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| index 40c262413aef9d8dc9489e4c413625dda3ea258b..2968b1c6115a9ba788aa546608eddda12828b8fb 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| @@ -96,6 +96,17 @@
|
| taskDone();
|
| });
|
|
|
| + if (window.SharedArrayBuffer) {
|
| + audit.defineTask("invalid setCurve", function (taskDone) {
|
| + var node = new WaveShaperNode(context);
|
| +
|
| + Should("WaveShaper.curve = SharedArrayBuffer view", function () {
|
| + node.curve = new Float32Array(new SharedArrayBuffer(16));
|
| + }).throw("TypeError");
|
| + taskDone();
|
| + });
|
| + }
|
| +
|
| audit.runTasks();
|
| </script>
|
| </body>
|
|
|