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

Side by Side Diff: LayoutTests/fast/forms/placeholder-crash-with-scrollbar-corner.html

Issue 7703003: Merge 93382 - REGRESSION(r90971): Null pointer dereference with placeholder and webkit-scrollbar-... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 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/fast/forms/placeholder-crash-with-scrollbar-corner-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
1 <style> 1 <style>
2 ::-webkit-scrollbar-corner { 2 ::-webkit-scrollbar-corner {
3 color: Red; 3 color: Red;
4 } 4 }
5 </style> 5 </style>
6 <p>Focus on the input and hit Escape and see if the browser crashes.</p> 6 <p>Focus on the input and hit Escape and see if the browser crashes.</p>
7 <input placeholder="foo" id=i> 7 <input placeholder="foo" id=i>
8 <div id=console></div> 8 <div id=console></div>
9 <script> 9 <script>
10 document.getElementById('i').addEventListener("keydown", function() { 10 document.getElementById('i').addEventListener("keydown", function() {
11 this.style.display = "none"; 11 this.style.display = "none";
12 document.getElementById('console').innerText = 'PASS (not crashed)'; 12 document.getElementById('console').innerText = 'PASS (not crashed)';
13 if (window.layoutTestController) 13 if (window.layoutTestController)
14 layoutTestController.notifyDone(); 14 layoutTestController.notifyDone();
15 }); 15 });
16 16
17 if (window.layoutTestController && window.eventSender) { 17 if (window.layoutTestController && window.eventSender) {
18 layoutTestController.dumpAsText(); 18 layoutTestController.dumpAsText();
19 layoutTestController.waitUntilDone(); 19 layoutTestController.waitUntilDone();
20 setTimeout(function() { 20 setTimeout(function() {
21 document.getElementById('i').focus(); 21 document.getElementById('i').focus();
22 eventSender.keyDown('a'); 22 eventSender.keyDown('a');
23 }, 0); 23 }, 0);
24 } 24 }
25 25
26 </script> 26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/forms/placeholder-crash-with-scrollbar-corner-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698