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

Unified Diff: LayoutTests/webaudio/scriptprocessornode-rewrap.html

Issue 561813003: Prepare blink to unify definitions of load completion (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
Index: LayoutTests/webaudio/scriptprocessornode-rewrap.html
diff --git a/LayoutTests/webaudio/scriptprocessornode-rewrap.html b/LayoutTests/webaudio/scriptprocessornode-rewrap.html
index 12bbdc5662ad3e348b4d488fb3d6875e713408f2..e42e42915f0abaf2ac086336b27f667200f3b38f 100644
--- a/LayoutTests/webaudio/scriptprocessornode-rewrap.html
+++ b/LayoutTests/webaudio/scriptprocessornode-rewrap.html
@@ -1,5 +1,6 @@
<!DOCTYPE html>
<html>
+<body>
<script src=../resources/js-test.js></script>
<script src="resources/compatibility.js"></script>
<script>
@@ -13,11 +14,8 @@ var sourceChannels = 2;
var inputChannels = 8;
var outputChannels = 6;
runJSNodeTest();
-var docElement = document.body ? document.body : document.documentElement;
-function initCF() {
- try { tCF122 = document.createElementNS("http://www.w3.org/1999/xhtml", "iframe"); } catch(e) {}
- try { docElement.appendChild(tCF122); } catch(e) {}
-}
-document.addEventListener("DOMContentLoaded", initCF, false);
+var i = document.createElement("iframe");
+document.body.appendChild(i);
dcheng 2014/10/20 18:35:14 This test looks really bizarre. Is this originally
</script>
+</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698