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

Side by Side Diff: LayoutTests/accessibility/contenteditable-notifications.html

Issue 1014573010: Get rid of postToElement argument for accessibility notifications. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@postnotification_1
Patch Set: Rebaseline test Created 5 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/accessibility/contenteditable-notifications-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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../resources/js-test.js"></script> 4 <script src="../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 7
8 <div id="textbox" contentEditable="true">First<p>Second</p></div> 8 <div id="textbox" contentEditable="true">First<p>Second</p></div>
9 9
10 <div id="console"></div> 10 <div id="console"></div>
(...skipping 20 matching lines...) Expand all
31 // page and initially setting focus. 31 // page and initially setting focus.
32 window.setTimeout(function() { 32 window.setTimeout(function() {
33 axTextBox.addNotificationListener(function(notification) { 33 axTextBox.addNotificationListener(function(notification) {
34 testPassed("Got notification: " + notification); 34 testPassed("Got notification: " + notification);
35 35
36 if (notification == "ValueChanged") 36 if (notification == "ValueChanged")
37 valueChangedCount++; 37 valueChangedCount++;
38 else if (notification == "SelectedTextChanged") 38 else if (notification == "SelectedTextChanged")
39 selectedTextChangedCount++; 39 selectedTextChangedCount++;
40 40
41 if (valueChangedCount == 3 && selectedTextChangedCount == 6) { 41 if (valueChangedCount == 8 && selectedTextChangedCount == 6) {
42 textbox.style.display = "none"; 42 textbox.style.display = "none";
43 finishJSTest(); 43 finishJSTest();
44 } 44 }
45 }); 45 });
46 46
47 eventSender.keyDown("leftArrow", []); 47 eventSender.keyDown("leftArrow", []);
48 eventSender.keyDown("leftArrow", []); 48 eventSender.keyDown("leftArrow", []);
49 eventSender.keyDown("leftArrow", []); 49 eventSender.keyDown("w", []);
50 eventSender.keyDown("x", []); 50 eventSender.keyDown("x", []);
51 eventSender.keyDown("y", []); 51 eventSender.keyDown("y", []);
52 eventSender.keyDown("z", []); 52 eventSender.keyDown("z", []);
53 53
54 }, 0); 54 }, 0);
55 } 55 }
56 56
57 </script> 57 </script>
58 58
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/accessibility/contenteditable-notifications-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698