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

Unified Diff: LayoutTests/http/tests/misc/SVGFont-delayed-load.html

Issue 656913006: Remove SVG fonts (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update tests for landing 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/http/tests/misc/SVGFont-delayed-load.html
diff --git a/LayoutTests/http/tests/misc/SVGFont-delayed-load.html b/LayoutTests/http/tests/misc/SVGFont-delayed-load.html
deleted file mode 100644
index 19ca8431bca47e3e32f003d2cbc49c3db59e529f..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/misc/SVGFont-delayed-load.html
+++ /dev/null
@@ -1,31 +0,0 @@
-<p>This tests that the onload handler for an iframe is delayed by a pending SVGFont load.</p>
-<pre id="console"></pre>
-<script>
- if (window.testRunner)
- testRunner.dumpAsText();
-
- function log(msg)
- {
- document.getElementById('console').appendChild(document.createTextNode(msg + "\n"));
- }
-
- var onloadFired = false;
-
- iframe = document.createElement('iframe');
- iframe.onload = function() {
- onloadFired = true;
- };
- iframe.src = "resources/SVGFont-delayed-loader.svg";
- document.body.appendChild(iframe);
-
- function contentLoaded()
- {
- if (onloadFired)
- log("FAIL: the onload event fired before the SVGFont load finished");
- else
- log("PASS: the onload event did not fire.");
-
- // Stop the infinite load.
- iframe.contentWindow.stop();
- }
-</script>

Powered by Google App Engine
This is Rietveld 408576698