Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / text-set-value-crash.html
bloba87b9850b73f64b43a9291ff3aa96d14a8461443
1 <html>
2 <head>
3 <title></title>
4 </head>
5 <body>
6 <p>
7 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11115">http://bugs.webkit.org/show_bug.cgi?id=11115</a>
8 REGRESSION: Crash on Flickr after hitting cancel from adding a note</i>.
9 </p>
10 <p>
11 No crash means test PASS.
12 </p>
13 <div id="q">
14 <textarea id="t">Lorem ipsum</textarea>
15 </div>
16 <div id="r">
17 <input id="u" value="Lorem ipsum">
18 </div>
19 <script>
20 if (window.testRunner)
21 testRunner.dumpAsText();
23 var t = document.getElementById("t");
24 var q = document.getElementById("q");
25 t.focus();
26 q.style.display='none';
27 t.value='';
29 var u = document.getElementById("u");
30 var r = document.getElementById("r");
31 u.focus();
32 r.style.display='none';
33 u.value='';
34 </script>
35 </body>
36 </html>