Skip to content

Commit e74adcd

Browse files
authored
Merge pull request #297 from mattsse/ef-update-chrome
Update chrome
2 parents 7c08883 + 16d7ebe commit e74adcd

File tree

18 files changed

+3396
-1127
lines changed

18 files changed

+3396
-1127
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99

1010
### Changed
1111

12+
- Bump fetcher chromium to `r1585606`
13+
- Bump CDP to `r1566079`
1214
- Use a struct `Arg` for arguments to combine flags automatically
1315
- Browser process no longer inherits stdout
1416

chromiumoxide_cdp/pdl/domains/Animation.pdl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ experimental domain Animation
6868
number endDelay
6969
# `AnimationEffect`'s iteration start.
7070
number iterationStart
71-
# `AnimationEffect`'s iterations.
72-
number iterations
71+
# `AnimationEffect`'s iterations. Omitted if the value is infinite.
72+
optional number iterations
7373
# `AnimationEffect`'s iteration duration.
7474
# Milliseconds for time based animations and
7575
# percentage [0 - 100] for scroll driven animations

chromiumoxide_cdp/pdl/domains/Audits.pdl

Lines changed: 53 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,12 +405,16 @@ experimental domain Audits
405405
FormInputWithNoLabelError
406406
FormAutocompleteAttributeEmptyError
407407
FormEmptyIdAndNameAttributesForInputError
408-
FormAriaLabelledByToNonExistingId
408+
FormAriaLabelledByToNonExistingIdError
409409
FormInputAssignedAutocompleteValueToIdOrNameAttributeError
410-
FormLabelHasNeitherForNorNestedInput
410+
FormLabelHasNeitherForNorNestedInputError
411411
FormLabelForMatchesNonExistingIdError
412412
FormInputHasWrongButWellIntendedAutocompleteValueError
413413
ResponseWasBlockedByORB
414+
NavigationEntryMarkedSkippable
415+
AutofillAndManualTextPolicyControlledFeaturesInfo
416+
AutofillPolicyControlledFeatureInfo
417+
ManualTextPolicyControlledFeatureInfo
414418

415419
# Depending on the concrete errorType, different properties are set.
416420
type GenericIssueDetails extends object
@@ -631,6 +635,51 @@ experimental domain Audits
631635
# Applies to NoisedCanvasReadback issue type.
632636
optional SourceCodeLocation sourceCodeLocation
633637

638+
type PermissionElementIssueType extends string
639+
enum
640+
InvalidType
641+
FencedFrameDisallowed
642+
CspFrameAncestorsMissing
643+
PermissionsPolicyBlocked
644+
PaddingRightUnsupported
645+
PaddingBottomUnsupported
646+
InsetBoxShadowUnsupported
647+
RequestInProgress
648+
UntrustedEvent
649+
RegistrationFailed
650+
TypeNotSupported
651+
InvalidTypeActivation
652+
SecurityChecksFailed
653+
ActivationDisabled
654+
GeolocationDeprecated
655+
InvalidDisplayStyle
656+
NonOpaqueColor
657+
LowContrast
658+
FontSizeTooSmall
659+
FontSizeTooLarge
660+
InvalidSizeValue
661+
662+
# This issue warns about improper usage of the <permission> element.
663+
type PermissionElementIssueDetails extends object
664+
properties
665+
PermissionElementIssueType issueType
666+
# The value of the type attribute.
667+
optional string type
668+
# The node ID of the <permission> element.
669+
optional DOM.BackendNodeId nodeId
670+
# True if the issue is a warning, false if it is an error.
671+
optional boolean isWarning
672+
673+
# Fields for message construction:
674+
# Used for messages that reference a specific permission name
675+
optional string permissionName
676+
# Used for messages about occlusion
677+
optional string occluderNodeInfo
678+
# Used for messages about occluder's parent
679+
optional string occluderParentNodeInfo
680+
# Used for messages about activation disabled reason
681+
optional string disableReason
682+
634683
# A unique identifier for the type of issue. Each type may use one of the
635684
# optional fields in InspectorIssueDetails to convey more specific
636685
# information about the kind of issue.
@@ -663,6 +712,7 @@ experimental domain Audits
663712
SRIMessageSignatureIssue
664713
UnencodedDigestIssue
665714
UserReidentificationIssue
715+
PermissionElementIssue
666716

667717
# This struct holds a list of optional fields with additional information
668718
# specific to the kind of issue. When adding a new issue code, please also
@@ -695,6 +745,7 @@ experimental domain Audits
695745
optional SRIMessageSignatureIssueDetails sriMessageSignatureIssueDetails
696746
optional UnencodedDigestIssueDetails unencodedDigestIssueDetails
697747
optional UserReidentificationIssueDetails userReidentificationIssueDetails
748+
optional PermissionElementIssueDetails permissionElementIssueDetails
698749

699750
# A unique id for a DevTools inspector issue. Allows other entities (e.g.
700751
# exceptions, CDP message, console messages, etc.) to reference an issue.

chromiumoxide_cdp/pdl/domains/Browser.pdl

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ domain Browser
4949
idleDetection
5050
keyboardLock
5151
localFonts
52+
localNetwork
5253
localNetworkAccess
54+
loopbackNetwork
5355
midi
5456
midiSysex
5557
nfc
@@ -103,24 +105,25 @@ domain Browser
103105
closeTabSearch
104106
openGlic
105107

106-
# Set permission settings for given requesting and embedding origins.
108+
# Set permission settings for given embedding and embedded origins.
107109
experimental command setPermission
108110
parameters
109111
# Descriptor of permission to override.
110112
PermissionDescriptor permission
111113
# Setting of the permission.
112114
PermissionSetting setting
113-
# Requesting origin the permission applies to, all origins if not specified.
115+
# Embedding origin the permission applies to, all origins if not specified.
114116
optional string origin
115-
# Embedding origin the permission applies to. It is ignored unless the requesting origin is
116-
# present and valid. If the requesting origin is provided but the embedding origin isn't, the
117-
# requesting origin is used as the embedding origin.
118-
optional string embeddingOrigin
117+
# Embedded origin the permission applies to. It is ignored unless the embedding origin is
118+
# present and valid. If the embedding origin is provided but the embedded origin isn't, the
119+
# embedding origin is used as the embedded origin.
120+
optional string embeddedOrigin
119121
# Context to override. When omitted, default browser context is used.
120122
optional BrowserContextID browserContextId
121123

122-
# Grant specific permissions to the given origin and reject all others.
123-
experimental command grantPermissions
124+
# Grant specific permissions to the given origin and reject all others. Deprecated. Use
125+
# setPermission instead.
126+
experimental deprecated command grantPermissions
124127
parameters
125128
array of PermissionType permissions
126129
# Origin the permission applies to, all origins if not specified.

0 commit comments

Comments
 (0)