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

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

Issue 2942573003: [DevTools] New harness for inspector-protocol layout tests (Closed)
Patch Set: Protocol -> dp 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='d1 d2' aria-label='Label'>
7 <div id='d1'>Details 1</div>
8 <div id='d2'>Details 2</div>
9
10 <button data-dump aria-keyshortcuts='Ctrl+A'>Select All</button>
11
12 <input data-dump type='checkbox' aria-roledescription='Lightswitch' checked>
13 `, '');
14
15 var dumpAccessibilityNodesBySelectorAndCompleteTest =
16 (await testRunner.loadScript('../resources/accessibility-dumpAccessibility Nodes.js'))(testRunner, session);
17
18 var msg = await dp.DOM.getDocument();
19 dumpAccessibilityNodesBySelectorAndCompleteTest('[data-dump]', false, msg);
20 })
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698