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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
diff --git a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
index 8847a56e23cadec9648d599c9c6ef8ed797acad6..35fd9bac90690b3cdefbf4c734a8b0433cbee745 100644
--- a/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
+++ b/third_party/WebKit/LayoutTests/inspector-protocol/accessibility/accessibility-getRelationships-expected.txt
@@ -22,6 +22,41 @@ Ginger Ale
"type": "role",
"value": "radiogroup"
},
+ "name": {
+ "type": "computedString",
+ "value": "Lunch Options",
+ "sources": [
+ {
+ "type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Lunch Options"
+ },
+ "attribute": "aria-labelledby",
+ "attributeValue": {
+ "type": "idrefList",
+ "value": "rg1_label",
+ "relatedNodes": [
+ {
+ "idref": "rg1_label",
+ "text": "Lunch Options",
+ "nodeResult": "h3#rg1_label"
+ }
+ ]
+ }
+ },
+ {
+ "type": "attribute",
+ "attribute": "aria-label",
+ "superseded": true
+ },
+ {
+ "type": "attribute",
+ "attribute": "title",
+ "superseded": true
+ }
+ ]
+ },
"properties": [
{
"name": "required",
@@ -55,29 +90,42 @@ Ginger Ale
]
}
}
- ],
+ ]
+ }
+ }
+}
+{
+ "id": "<int>",
+ "result": {
+ "accessibilityNode": {
+ "nodeId": "<string>",
+ "ignored": false,
+ "role": {
+ "type": "role",
+ "value": "radiogroup"
+ },
"name": {
"type": "computedString",
- "value": "Lunch Options",
+ "value": "Drink Options",
"sources": [
{
"type": "relatedElement",
+ "value": {
+ "type": "computedString",
+ "value": "Drink Options"
+ },
+ "attribute": "aria-labelledby",
"attributeValue": {
"type": "idrefList",
+ "value": "rg2_label",
"relatedNodes": [
{
- "idref": "rg1_label",
- "text": "Lunch Options",
- "nodeResult": "h3#rg1_label"
+ "idref": "rg2_label",
+ "text": "Drink Options",
+ "nodeResult": "h3#rg2_label"
}
- ],
- "value": "rg1_label"
- },
- "value": {
- "type": "computedString",
- "value": "Lunch Options"
- },
- "attribute": "aria-labelledby"
+ ]
+ }
},
{
"type": "attribute",
@@ -90,19 +138,6 @@ Ginger Ale
"superseded": true
}
]
- }
- }
- }
-}
-{
- "id": "<int>",
- "result": {
- "accessibilityNode": {
- "nodeId": "<string>",
- "ignored": false,
- "role": {
- "type": "role",
- "value": "radiogroup"
},
"properties": [
{
@@ -125,42 +160,7 @@ Ginger Ale
]
}
}
- ],
- "name": {
- "type": "computedString",
- "value": "Drink Options",
- "sources": [
- {
- "type": "relatedElement",
- "attributeValue": {
- "type": "idrefList",
- "relatedNodes": [
- {
- "idref": "rg2_label",
- "text": "Drink Options",
- "nodeResult": "h3#rg2_label"
- }
- ],
- "value": "rg2_label"
- },
- "value": {
- "type": "computedString",
- "value": "Drink Options"
- },
- "attribute": "aria-labelledby"
- },
- {
- "type": "attribute",
- "attribute": "aria-label",
- "superseded": true
- },
- {
- "type": "attribute",
- "attribute": "title",
- "superseded": true
- }
- ]
- }
+ ]
}
}
}

Powered by Google App Engine
This is Rietveld 408576698