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

Unified Diff: third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html

Issue 2877523002: Fix scriptprocessornode-rewrap.html (Closed)
Patch Set: Created 3 years, 7 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html
index 399037d5d792f49293c82274e4f4a58b8d659cdf..bcd669d0f3a3b6111a7b7c8a92fb7432fb994111 100644
--- a/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html
+++ b/third_party/WebKit/LayoutTests/webaudio/ScriptProcessor/scriptprocessornode-rewrap.html
@@ -1,20 +1,29 @@
<!DOCTYPE html>
<html>
-<body>
-<script src="../../resources/js-test.js"></script>
-<script>
-var jsTestIsAsync = true;
-description("Tests re-wrapping an AudioNode sublass after its JS wrapper is deleted wraps the node as the correct subclass. A binding integrity assert will fire otherwise.");
-</script>
-<script src="../resources/scriptprocessornode-testing.js"></script>
-<script>
-var sampleRate = 44100.0;
-var sourceChannels = 2;
-var inputChannels = 8;
-var outputChannels = 6;
-runJSNodeTest();
-var i = document.createElement("iframe");
-document.body.appendChild(i);
-</script>
-</body>
+ <head>
+ <title>
+ scriptprocessornode-rewrap.html
+ </title>
+ <script src="../../resources/js-test.js"></script>
+ <script src="../resources/scriptprocessornode-testing.js"></script>
+ </head>
+ <body>
+ <script id="layout-test-code">
+ description(
+ 'Tests re-wrapping an AudioNode sublass after its JS wrapper is ' +
+ 'deleted wraps the node as the correct subclass. A binding ' +
+ 'integrity assert will fire otherwise.');
+ window.jsTestIsAsync = true;
+
+ let sampleRate = 44100.0;
+ let sourceChannels = 2;
+ let inputChannels = 8;
+ let outputChannels = 6;
+
+ runJSNodeTest();
+
+ let i = document.createElement('iframe');
+ document.body.appendChild(i);
+ </script>
+ </body>
</html>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698