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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-node-removed-from-document-crash.html

Issue 1522803002: Move textarea-related tests to fast/forms/textarea/, part 1. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@color-uaf
Patch Set: Created 5 years 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
OLDNEW
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xht="http://www.w3.org/1999/xht ml"> 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xht="http://www.w3.org/1999/xht ml">
2 <script type="text/javascript"> 2 <script type="text/javascript">
3 if (window.testRunner) 3 if (window.testRunner)
4 { 4 {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.waitUntilDone(); 6 testRunner.waitUntilDone();
7 } 7 }
8 8
9 function runTest() 9 function runTest()
10 { 10 {
11 var elements = document.getElementsByTagNameNS('http://www.w3.org/19 99/xhtml','html'); 11 var elements = document.getElementsByTagNameNS('http://www.w3.org/19 99/xhtml','html');
12 elements[0].textContent = "PASS"; 12 elements[0].textContent = "PASS";
13 13
14 if (window.testRunner) 14 if (window.testRunner)
15 testRunner.notifyDone(); 15 testRunner.notifyDone();
16 } 16 }
17 </script> 17 </script>
18 <xht:object> 18 <xht:object>
19 <input autofocus="" onfocus="runTest();"/> 19 <input autofocus="" onfocus="runTest();"/>
20 <xht:textarea></xht:textarea> 20 <xht:textarea></xht:textarea>
21 </xht:object> 21 </xht:object>
22 </html> 22 </html>
23 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698