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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt

Issue 1739613002: DevTools: validate protocol input parameters. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebaselined a test. Created 4 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
OLDNEW
1 Lunch Options 1 Lunch Options
2 2
3 Thai 3 Thai
4 Subway 4 Subway
5 Jimmy Johns 5 Jimmy Johns
6 Radio Maria 6 Radio Maria
7 Rainbow Gardens 7 Rainbow Gardens
8 Drink Options 8 Drink Options
9 9
10 Water 10 Water
11 Tea 11 Tea
12 Coffee 12 Coffee
13 Cola 13 Cola
14 Ginger Ale 14 Ginger Ale
15 { 15 {
16 "id": "<int>", 16 "id": "<int>",
17 "result": { 17 "result": {
18 "accessibilityNode": { 18 "accessibilityNode": {
19 "nodeId": "<string>", 19 "nodeId": "<string>",
20 "ignored": false, 20 "ignored": false,
21 "role": { 21 "role": {
22 "type": "role", 22 "type": "role",
23 "value": "radiogroup" 23 "value": "radiogroup"
24 }, 24 },
25 "name": {
26 "type": "computedString",
27 "value": "Lunch Options",
28 "sources": [
29 {
30 "type": "relatedElement",
31 "value": {
32 "type": "computedString",
33 "value": "Lunch Options"
34 },
35 "attribute": "aria-labelledby",
36 "attributeValue": {
37 "type": "idrefList",
38 "value": "rg1_label",
39 "relatedNodes": [
40 {
41 "idref": "rg1_label",
42 "text": "Lunch Options",
43 "nodeResult": "h3#rg1_label"
44 }
45 ]
46 }
47 },
48 {
49 "type": "attribute",
50 "attribute": "aria-label",
51 "superseded": true
52 },
53 {
54 "type": "attribute",
55 "attribute": "title",
56 "superseded": true
57 }
58 ]
59 },
25 "properties": [ 60 "properties": [
26 { 61 {
27 "name": "required", 62 "name": "required",
28 "value": { 63 "value": {
29 "type": "boolean", 64 "type": "boolean",
30 "value": false 65 "value": false
31 } 66 }
32 }, 67 },
33 { 68 {
34 "name": "activedescendant", 69 "name": "activedescendant",
(...skipping 13 matching lines...) Expand all
48 "type": "nodeList", 83 "type": "nodeList",
49 "relatedNodes": [ 84 "relatedNodes": [
50 { 85 {
51 "idref": "rg1_label", 86 "idref": "rg1_label",
52 "text": "Lunch Options", 87 "text": "Lunch Options",
53 "nodeResult": "h3#rg1_label" 88 "nodeResult": "h3#rg1_label"
54 } 89 }
55 ] 90 ]
56 } 91 }
57 } 92 }
58 ], 93 ]
94 }
95 }
96 }
97 {
98 "id": "<int>",
99 "result": {
100 "accessibilityNode": {
101 "nodeId": "<string>",
102 "ignored": false,
103 "role": {
104 "type": "role",
105 "value": "radiogroup"
106 },
59 "name": { 107 "name": {
60 "type": "computedString", 108 "type": "computedString",
61 "value": "Lunch Options", 109 "value": "Drink Options",
62 "sources": [ 110 "sources": [
63 { 111 {
64 "type": "relatedElement", 112 "type": "relatedElement",
113 "value": {
114 "type": "computedString",
115 "value": "Drink Options"
116 },
117 "attribute": "aria-labelledby",
65 "attributeValue": { 118 "attributeValue": {
66 "type": "idrefList", 119 "type": "idrefList",
120 "value": "rg2_label",
67 "relatedNodes": [ 121 "relatedNodes": [
68 { 122 {
69 "idref": "rg1_label", 123 "idref": "rg2_label",
70 "text": "Lunch Options", 124 "text": "Drink Options",
71 "nodeResult": "h3#rg1_label" 125 "nodeResult": "h3#rg2_label"
72 } 126 }
73 ], 127 ]
74 "value": "rg1_label" 128 }
75 },
76 "value": {
77 "type": "computedString",
78 "value": "Lunch Options"
79 },
80 "attribute": "aria-labelledby"
81 }, 129 },
82 { 130 {
83 "type": "attribute", 131 "type": "attribute",
84 "attribute": "aria-label", 132 "attribute": "aria-label",
85 "superseded": true 133 "superseded": true
86 }, 134 },
87 { 135 {
88 "type": "attribute", 136 "type": "attribute",
89 "attribute": "title", 137 "attribute": "title",
90 "superseded": true 138 "superseded": true
91 } 139 }
92 ] 140 ]
93 }
94 }
95 }
96 }
97 {
98 "id": "<int>",
99 "result": {
100 "accessibilityNode": {
101 "nodeId": "<string>",
102 "ignored": false,
103 "role": {
104 "type": "role",
105 "value": "radiogroup"
106 }, 141 },
107 "properties": [ 142 "properties": [
108 { 143 {
109 "name": "required", 144 "name": "required",
110 "value": { 145 "value": {
111 "type": "boolean", 146 "type": "boolean",
112 "value": false 147 "value": false
113 } 148 }
114 }, 149 },
115 { 150 {
116 "name": "labelledby", 151 "name": "labelledby",
117 "value": { 152 "value": {
118 "type": "nodeList", 153 "type": "nodeList",
119 "relatedNodes": [ 154 "relatedNodes": [
120 { 155 {
121 "idref": "rg2_label", 156 "idref": "rg2_label",
122 "text": "Drink Options", 157 "text": "Drink Options",
123 "nodeResult": "h3#rg2_label" 158 "nodeResult": "h3#rg2_label"
124 } 159 }
125 ] 160 ]
126 } 161 }
127 } 162 }
128 ], 163 ]
129 "name": {
130 "type": "computedString",
131 "value": "Drink Options",
132 "sources": [
133 {
134 "type": "relatedElement",
135 "attributeValue": {
136 "type": "idrefList",
137 "relatedNodes": [
138 {
139 "idref": "rg2_label",
140 "text": "Drink Options",
141 "nodeResult": "h3#rg2_label"
142 }
143 ],
144 "value": "rg2_label"
145 },
146 "value": {
147 "type": "computedString",
148 "value": "Drink Options"
149 },
150 "attribute": "aria-labelledby"
151 },
152 {
153 "type": "attribute",
154 "attribute": "aria-label",
155 "superseded": true
156 },
157 {
158 "type": "attribute",
159 "attribute": "title",
160 "superseded": true
161 }
162 ]
163 }
164 } 164 }
165 } 165 }
166 } 166 }
167 167
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698