| 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 115fa68462936861d5ca278c58f20a095cbbd59f..4bce304cec56a3399ea4fb31505b13576123a73d 100644
|
| --- a/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| +++ b/third_party/WebKit/LayoutTests/webaudio/constructor/waveshaper.html
|
| @@ -1,19 +1,20 @@
|
| -<!doctype html>
|
| +<!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <title>Test Constructor: WaveShaper</title>
|
| + <title>
|
| + Test Constructor: WaveShaper
|
| + </title>
|
| <script src="../../resources/testharness.js"></script>
|
| <script src="../../resources/testharnessreport.js"></script>
|
| <script src="../resources/audit-util.js"></script>
|
| <script src="../resources/audit.js"></script>
|
| <script src="audionodeoptions.js"></script>
|
| </head>
|
| -
|
| <body>
|
| - <script>
|
| - var context;
|
| + <script id="layout-test-code">
|
| + let context;
|
|
|
| - var audit = Audit.createTaskRunner();
|
| + let audit = Audit.createTaskRunner();
|
|
|
| audit.define('initialize', (task, should) => {
|
| context = initializeContext(should);
|
| @@ -50,10 +51,10 @@
|
|
|
| audit.define('valid non-default', (task, should) => {
|
| // Construct an WaveShaperNode with options
|
| - var options = {curve: Float32Array.from([1, 2, 3]), oversample: '4x'};
|
| - var node;
|
| + let options = {curve: Float32Array.from([1, 2, 3]), oversample: '4x'};
|
| + let node;
|
|
|
| - var message =
|
| + let message =
|
| 'node1 = new WaveShaperNode(, ' + JSON.stringify(options) + ')';
|
| should(() => {
|
| node = new WaveShaperNode(context, options);
|
|
|