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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html

Issue 2693813002: Selection API: Some functions should throw InvalidNodeTypeError and IndexSizeError. (Closed)
Patch Set: adjust 2 more tests Created 3 years, 10 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: third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html b/third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html
deleted file mode 100644
index f2283eb8b8f203d08fea54ceb3ea983e07b40006..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/forms/file/file-crash-by-runin-parent.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<style>
-.c0 {
- display: list-item;
-}
-.c7 {
- -webkit-wrap-flow: auto;
- display: run-in;
-}
-</style>
-<script>
-// This test requires ASAN to detect a regression.
-onload = function() {
- document.body.innerHTML += '<nav class="c0"></nav>';
- document.designMode = 'on';
- window.getSelection().setBaseAndExtent(document.createElement('q'), 1, document.querySelector('nav'), 6);
- document.designMode = 'off';
- document.querySelector('nav').classList.add('c7');
-
- if (window.testRunner)
- testRunner.dumpAsText();
- document.body.innerHTML += 'PASS if not crash.';
-}
-</script>
-<body><rp class="c7"><input type="file"></rp></body>

Powered by Google App Engine
This is Rietveld 408576698