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

Side by Side Diff: LayoutTests/editing/selection/rtl-delete-within-line-crash.html

Issue 206073002: Remove redundant clusterfuzz test (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/platform/android/editing/selection/rtl-delete-within-line-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 var aoScriptElements = document.getElementsByTagName("script");
9 for(var i = 0; i < aoScriptElements.length; i++) {
10 aoScriptElements[i].parentNode.removeChild(aoScriptElements[i]);
11 }
12
13 function event_handler_384_readystatechange() {
14 var oSelection = window.getSelection();
15 oSelection.deleteFromDocument();
16 document.execCommand("SelectAll", false);
17 }
18 document.addEventListener("readystatechange", event_handler_384_readystate change, false);
19
20 var event_handler_387_DOMCharacterDataModified_active = false;
21 function event_handler_387_DOMCharacterDataModified() {
22 if (event_handler_387_DOMCharacterDataModified_active) return;
23 event_handler_387_DOMCharacterDataModified_active = true;
24 var oElement = event.srcElement;
25 if (oElement.parentNode) {
26 oElement.parentNode.replaceChild((function(){
27 var aoElements = document.getElementsByTagName("*");
28 return aoElements[66 % aoElements.length].cloneNode(true);
29 })(), oElement);
30 }
31 var oSelection=window.getSelection();
32 var oSelectionElement = (function(){
33 var aoElements = document.getElementsByTagName("*");
34 if (aoElements.length) return aoElements[84 % aoElements.length];
35 })();
36 oSelection.collapse(oSelectionElement, oSelectionElement.textContent.len gth?34 % oSelectionElement.textContent.length:0);
37 oSelection.modify('extend', 'backward', 'sentence');
38 var oRange = oSelection.rangeCount ? oSelection.getRangeAt(15 % oSelecti on.rangeCount) : null;
39 if (oRange) oSelection.addRange(oRange.cloneRange());
40 oSelection.modify('extend', 'forward', 'line');
41 var oRange = oSelection.rangeCount ? oSelection.getRangeAt(41 % oSelecti on.rangeCount) : null;
42 if (oRange) {
43 var oDocumentFragment = oRange.extractContents();
44 if (oDocumentFragment) {
45 var oParent = (function(){
46 var aoElements = document.getElementsByTagName("*");
47 if (aoElements.length) return aoElements[21 % aoElements.length];
48 })();
49 if (oParent) {
50 oParent.appendChild(oDocumentFragment);
51 }
52 }
53 }
54 event_handler_387_DOMCharacterDataModified_active = false;
55 }
56 document.addEventListener("DOMCharacterDataModified", event_handler_387_DO MCharacterDataModified, true);
57
58 </script>
59 <style>
60 .CLASS1{display:inline;-webkit-writing-mode:vertical-rl;}
61 .CLASS5{top:inherit;-webkit-text-combine:horizontal;}
62 </style>
63 </head>
64 <body>
65 <meta>
66 <pre>
67 <tt>
68 <rb>
69 <svg></svg>
70 <button>
71 <div class="CLASS1 CLASS5">
72 <fieldset>
73 </fieldset>
74 <table>
75 <caption>
76 <textarea></textarea>
77 <select>
78 </select>
79 <select>
80 <optgroup>
81 <option>
82 </select>
83 TestPassesIfItDoesNotCrash.TestPassesIfItDoesNotCrash.TestPassesIfItDoesNotCrash .
84 </table>
85 A
86 </div>
87 </button>
88 </rb>
89 </tt>
90 </pre>
91 </meta>
92 </body>
93 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/platform/android/editing/selection/rtl-delete-within-line-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698