From 90aa1ba3d993c5125b9190d2c69c55d44d28997d Mon Sep 17 00:00:00 2001 From: Paul Schoenfelder Date: Thu, 25 Jan 2024 11:40:22 -0500 Subject: [PATCH 1/8] Update js_protocol.pdl --- .../src/main/resources/js_protocol.pdl | 13106 ++++++++++++++-- 1 file changed, 11495 insertions(+), 1611 deletions(-) diff --git a/CodeGeneration/src/main/resources/js_protocol.pdl b/CodeGeneration/src/main/resources/js_protocol.pdl index 6285d9b..736a689 100644 --- a/CodeGeneration/src/main/resources/js_protocol.pdl +++ b/CodeGeneration/src/main/resources/js_protocol.pdl @@ -1,1776 +1,11660 @@ -# Copyright 2017 The Chromium Authors. All rights reserved. +# Copyright 2017 The Chromium Authors # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. +# +# Contributing to Chrome DevTools Protocol: https://goo.gle/devtools-contribution-guide-cdp version major 1 minor 3 -# This domain is deprecated - use Runtime or Log instead. -deprecated domain Console +experimental domain Accessibility + depends on DOM + + # Unique accessibility node identifier. + type AXNodeId extends string + + # Enum of possible property types. + type AXValueType extends string + enum + boolean + tristate + booleanOrUndefined + idref + idrefList + integer + node + nodeList + number + string + computedString + token + tokenList + domRelation + role + internalRole + valueUndefined + + # Enum of possible property sources. + type AXValueSourceType extends string + enum + attribute + implicit + style + contents + placeholder + relatedElement + + # Enum of possible native property sources (as a subtype of a particular AXValueSourceType). + type AXValueNativeSourceType extends string + enum + description + figcaption + label + labelfor + labelwrapped + legend + rubyannotation + tablecaption + title + other + + # A single source for a computed AX property. + type AXValueSource extends object + properties + # What type of source this is. + AXValueSourceType type + # The value of this property source. + optional AXValue value + # The name of the relevant attribute, if any. + optional string attribute + # The value of the relevant attribute, if any. + optional AXValue attributeValue + # Whether this source is superseded by a higher priority source. + optional boolean superseded + # The native markup source for this value, e.g. a `