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

Unified Diff: LayoutTests/http/tests/svg/load-on-delayed-script.svg

Issue 62083002: Remove support for the externalResourcesRequired attribute. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline test Created 6 years, 11 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/svg/load-on-delayed-script.svg
diff --git a/LayoutTests/http/tests/svg/load-on-delayed-script.svg b/LayoutTests/http/tests/svg/load-on-delayed-script.svg
new file mode 100644
index 0000000000000000000000000000000000000000..1ff4591f7e10abb39df62def8682db8a43f8b408
--- /dev/null
+++ b/LayoutTests/http/tests/svg/load-on-delayed-script.svg
@@ -0,0 +1,24 @@
+<?xml version="1.0" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.0">
+ <!-- script elements should not fire load until fetch is done and script executed -->
+ <text id="console" x="8" y="1.5em">Test didn't run.</text>
+ <script>
+ if (window.testRunner) {
+ testRunner.waitUntilDone();
+ testRunner.dumpAsText();
+ }
+
+ window.onload = function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ };
+
+ function runTest() {
+ if (external_script_executed)
+ document.getElementById("console").textContent = "Passed";
+ else
+ document.getElementById("console").textContent = "Failed";
+ }
+ </script>
+ <script xlink:href="resources/delayCachedLoadScript.php" onload="runTest()"/>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698