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

Unified Diff: LayoutTests/svg/custom/delete-text-crash.html

Issue 1167033002: Remove layout tests that run execCommand on non-HTML documents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix doctype Created 5 years, 6 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/delete-text-crash.html
diff --git a/LayoutTests/svg/custom/delete-text-crash.html b/LayoutTests/svg/custom/delete-text-crash.html
deleted file mode 100644
index 324fadfa7e18c075107c18f059e04dccc518af94..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/delete-text-crash.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<!-- This test passes if there is no crash or assert -->
-<style type="text/css">
- body {
- overflow: hidden;
- }
-</style>
-<script>
- function testCrash() {
- q = document.getElementById('root');
- r = document.createRange();
- r.selectNodeContents( q.getElementById('t') );
- window.getSelection().addRange(r)
- document.designMode='on';
- document.execCommand('delete');
- document.execCommand('delete');
- }
-
- if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-<body onload="testCrash()">
-<svg id="root" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
- <g>
- <rect filter="url(#x)"/>
- <text>aa</text>
- <rect id="t"/>
- <style></style>
- <text>bb</text>
- </g>
- <filter id="x"></filter>
-</svg>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698