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

Unified Diff: LayoutTests/svg/custom/path-domsubtreemodified-crash.html

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/svg/custom/path-domsubtreemodified-crash.html
diff --git a/LayoutTests/svg/custom/path-domsubtreemodified-crash.html b/LayoutTests/svg/custom/path-domsubtreemodified-crash.html
deleted file mode 100644
index 1cbbc8272561fe6e682d4ab06025d58b64d827ed..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/path-domsubtreemodified-crash.html
+++ /dev/null
@@ -1,38 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<!-- Test for WK92604 - Passes if no crash occurs and "PASS" is printed. -->
-<body id="body">
-<svg xmlns="http://www.w3.org/2000/svg">
- <line stroke="green" vector-effect="non-scaling-stroke" y2="1"/>
- <defs id="defs"></defs>
-</svg>
-<script>
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
-
- var body = document.getElementById("body");
- var defs = document.getElementById("defs");
- document.addEventListener("DOMContentLoaded", doCrash, false);
-
- body.addEventListener("DOMSubtreeModified", function() {
- // Prevent infinite loop of modification events.
- this.removeEventListener("DOMSubtreeModified", arguments.callee);
-
- document.write("This test passes if no crash occurs and PASS is printed. PASS");
-
- if (window.testRunner)
- testRunner.notifyDone();
- }, false);
-
- function doCrash() {
- var farthestViewportElement = defs["farthestViewportElement"];
- var externalResourcesRequired = farthestViewportElement["externalResourcesRequired"];
- externalResourcesRequired["baseVal"] = undefined;
- body.offsetWidth;
- body.innerHTML = "FAIL";
- }
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698