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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-aria-1.1.js

Issue 2951183002: [DevTools] Move inspector-protocol/accessibility tests to new harness (Closed)
Patch Set: Created 3 years, 6 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
(Empty)
1 (async function(testRunner) {
2 let {page, session, dp} = await testRunner.startHTML(`
3 <input data-dump aria-errormessage='err'>
4 <h3 id='err'>This text field has an error!</h3>
5
6 <img data-dump aria-details='d' aria-label='Label'>
7 <div id='d'>Details</div>
8
9 <button data-dump aria-keyshortcuts='Ctrl+A'>Select All</button>
10
11 <input data-dump type='checkbox' aria-roledescription='Lightswitch' checked>
12 `, '');
13
14 var dumpAccessibilityNodesBySelectorAndCompleteTest =
15 (await testRunner.loadScript('../resources/accessibility-dumpAccessibility Nodes.js'))(testRunner, session);
16
17 var msg = await dp.DOM.getDocument();
18 dumpAccessibilityNodesBySelectorAndCompleteTest('[data-dump]', false, msg);
19 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698