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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/elements/accessibility/accessibility-pane-test.js

Issue 2217783002: DevTools: use view locations in the elements and sources sidebars. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: for landing Created 4 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
OLDNEW
1 var initialize_AccessibilityTest = function() { 1 var initialize_AccessibilityTest = function() {
2 2
3 /** 3 /**
4 * @return {Promise} 4 * @return {Promise}
5 */ 5 */
6 InspectorTest.showAccessibilityView = function() 6 InspectorTest.showAccessibilityView = function()
7 { 7 {
8 var sidebarPane = _getAccessibilitySidebarPane(); 8 var sidebarPane = _getAccessibilitySidebarPane();
9 if (sidebarPane) { 9 if (sidebarPane) {
10 sidebarPane.revealWidget(); 10 sidebarPane.revealView();
11 return InspectorTest.waitForAccessibilityNodeUpdate(); 11 return InspectorTest.waitForAccessibilityNodeUpdate();
12 } else { 12 } else {
13 return _waitForViewsLoaded() 13 return _waitForViewsLoaded()
14 .then(() => { 14 .then(() => {
15 return InspectorTest.showAccessibilityView(); 15 return InspectorTest.showAccessibilityView();
16 }); 16 });
17 } 17 }
18 } 18 }
19 19
20 20
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 * @return {Promise} 127 * @return {Promise}
128 */ 128 */
129 InspectorTest.waitForAccessibilityNodeUpdateInARIAPane = function() 129 InspectorTest.waitForAccessibilityNodeUpdateInARIAPane = function()
130 { 130 {
131 return new Promise(function(resolve, reject) 131 return new Promise(function(resolve, reject)
132 { 132 {
133 InspectorTest.addSniffer(WebInspector.ARIAAttributesPane.prototype, "_go tNodeForTest", resolve); 133 InspectorTest.addSniffer(WebInspector.ARIAAttributesPane.prototype, "_go tNodeForTest", resolve);
134 }); 134 });
135 } 135 }
136 }; 136 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698