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

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

Issue 679863002: Revert "Prepare blink to unify definitions of load completion" (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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 e42e42915f0abaf2ac086336b27f667200f3b38f..12bbdc5662ad3e348b4d488fb3d6875e713408f2 100644
--- a/LayoutTests/webaudio/scriptprocessornode-rewrap.html
+++ b/LayoutTests/webaudio/scriptprocessornode-rewrap.html
@@ -1,6 +1,5 @@
<!DOCTYPE html>
<html>
-<body>
<script src=../resources/js-test.js></script>
<script src="resources/compatibility.js"></script>
<script>
@@ -14,8 +13,11 @@ var sourceChannels = 2;
var inputChannels = 8;
var outputChannels = 6;
runJSNodeTest();
-var i = document.createElement("iframe");
-document.body.appendChild(i);
+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);
</script>
-</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698