A big commit with a bunch of node modules so I could run puppeteer for Walmart. Added some todos and Headway's templates.

This commit is contained in:
Norm Rasmussen
2024-02-28 17:13:10 -05:00
parent dbcdfc8472
commit 1184fe0cd1
1107 changed files with 76526 additions and 8934 deletions

View File

@ -498,6 +498,7 @@ experimental domain Audits
WarnAttributeValueExceedsMaxSize
WarnDomainNonASCII
WarnThirdPartyPhaseout
WarnCrossSiteRedirectDowngradeChangesInclusion
type CookieOperation extends string
enum
@ -770,6 +771,15 @@ experimental domain Audits
properties
array of string trackingSites
# This issue warns about third-party sites that are accessing cookies on the
# current page, and have been permitted due to having a global metadata grant.
# Note that in this context 'site' means eTLD+1. For example, if the URL
# `https://example.test:80/web_page` was accessing cookies, the site reported
# would be `example.test`.
type CookieDeprecationMetadataIssueDetails extends object
properties
array of string allowedSites
type ClientHintIssueReason extends string
enum
# Items in the accept-ch meta tag allow list must be valid origins.
@ -817,6 +827,8 @@ experimental domain Audits
IdTokenHttpNotFound
IdTokenNoResponse
IdTokenInvalidResponse
IdTokenIdpErrorResponse
IdTokenCrossSiteIdpErrorResponse
IdTokenInvalidRequest
IdTokenInvalidContentType
ErrorIdToken
@ -824,6 +836,7 @@ experimental domain Audits
RpPageNotVisible
SilentMediationFailure
ThirdPartyCookiesBlocked
NotSignedInWithIdp
type FederatedAuthUserInfoRequestIssueDetails extends object
properties
@ -914,6 +927,7 @@ experimental domain Audits
ClientHintIssue
FederatedAuthRequestIssue
BounceTrackingIssue
CookieDeprecationMetadataIssue
StylesheetLoadingIssue
FederatedAuthUserInfoRequestIssue
PropertyRuleIssue
@ -939,6 +953,7 @@ experimental domain Audits
optional ClientHintIssueDetails clientHintIssueDetails
optional FederatedAuthRequestIssueDetails federatedAuthRequestIssueDetails
optional BounceTrackingIssueDetails bounceTrackingIssueDetails
optional CookieDeprecationMetadataIssueDetails cookieDeprecationMetadataIssueDetails
optional StylesheetLoadingIssueDetails stylesheetLoadingIssueDetails
optional PropertyRuleIssueDetails propertyRuleIssueDetails
optional FederatedAuthUserInfoRequestIssueDetails federatedAuthUserInfoRequestIssueDetails
@ -1236,7 +1251,7 @@ domain Browser
prompt
# Definition of PermissionDescriptor defined in the Permissions API:
# https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
# https://w3c.github.io/permissions/#dom-permissiondescriptor.
experimental type PermissionDescriptor extends object
properties
# Name of permission.
@ -1832,6 +1847,8 @@ experimental domain CSS
properties
# Font's family name reported by platform.
string familyName
# Font's PostScript name reported by platform.
string postScriptName
# Indicates if the font was downloaded or resolved locally.
boolean isCustomFont
# Amount of glyphs that were rendered with this font.
@ -1911,6 +1928,19 @@ experimental domain CSS
string syntax
# CSS font-palette-values rule representation.
type CSSFontPaletteValuesRule extends object
properties
# The css style sheet identifier (absent for user agent stylesheet and user-specified
# stylesheet rules) this rule came from.
optional StyleSheetId styleSheetId
# Parent stylesheet's origin.
StyleSheetOrigin origin
# Associated font palette name.
Value fontPaletteName
# Associated style declaration.
CSSStyle style
# CSS property at-rule representation.
type CSSPropertyRule extends object
properties
@ -2055,6 +2085,8 @@ experimental domain CSS
optional array of CSSPropertyRule cssPropertyRules
# A list of CSS property registrations matching this node.
optional array of CSSPropertyRegistration cssPropertyRegistrations
# A font-palette-values rule matching this node.
optional CSSFontPaletteValuesRule cssFontPaletteValuesRule
# Id of the first parent element that does not have display: contents.
experimental optional DOM.NodeId parentLayoutNodeId
@ -3268,7 +3300,6 @@ domain DOM
# execution will stop on these operations as if there was a regular breakpoint set.
domain DOMDebugger
depends on DOM
depends on Debugger
depends on Runtime
# DOM breakpoint type.
@ -3340,7 +3371,8 @@ domain DOMDebugger
experimental optional string targetName
# Removes breakpoint on particular native event.
experimental command removeInstrumentationBreakpoint
experimental deprecated command removeInstrumentationBreakpoint
redirect EventBreakpoints
parameters
# Instrumentation name to stop on.
string eventName
@ -3375,7 +3407,8 @@ domain DOMDebugger
experimental optional string targetName
# Sets breakpoint on particular native event.
experimental command setInstrumentationBreakpoint
experimental deprecated command setInstrumentationBreakpoint
redirect EventBreakpoints
parameters
# Instrumentation name to stop on.
string eventName
@ -3386,10 +3419,9 @@ domain DOMDebugger
# Resource URL substring. All XHRs having this substring in the URL will get stopped upon.
string url
# EventBreakpoints permits setting breakpoints on particular operations and
# events in targets that run JavaScript but do not have a DOM.
# JavaScript execution will stop on these operations as if there was a regular
# breakpoint set.
# EventBreakpoints permits setting JavaScript breakpoints on operations and events
# occurring in native code invoked from JavaScript. Once breakpoint is hit, it is
# reported through Debugger domain, similarly to regular breakpoints being hit.
experimental domain EventBreakpoints
# Sets breakpoint on particular native event.
command setInstrumentationBreakpoint
@ -3403,6 +3435,9 @@ experimental domain EventBreakpoints
# Instrumentation name to stop on.
string eventName
# Removes all breakpoints
command disable
# This domain facilitates obtaining document snapshots with DOM, layout, and style information.
experimental domain DOMSnapshot
depends on CSS
@ -3881,6 +3916,13 @@ domain Emulation
# A display feature that only splits content will have a 0 mask_length.
integer maskLength
type DevicePosture extends object
properties
# Current posture of the device
enum type
continuous
folded
type MediaFeature extends object
properties
string name
@ -3919,6 +3961,49 @@ domain Emulation
optional string bitness
optional boolean wow64
# Used to specify sensor types to emulate.
# See https://w3c.github.io/sensors/#automation for more information.
experimental type SensorType extends string
enum
absolute-orientation
accelerometer
ambient-light
gravity
gyroscope
linear-acceleration
magnetometer
proximity
relative-orientation
experimental type SensorMetadata extends object
properties
optional boolean available
optional number minimumFrequency
optional number maximumFrequency
experimental type SensorReadingSingle extends object
properties
number value
experimental type SensorReadingXYZ extends object
properties
number x
number y
number z
experimental type SensorReadingQuaternion extends object
properties
number x
number y
number z
number w
experimental type SensorReading extends object
properties
optional SensorReadingSingle single
optional SensorReadingXYZ xyz
optional SensorReadingQuaternion quaternion
# Tells whether emulation is supported.
command canEmulate
returns
@ -3995,6 +4080,9 @@ domain Emulation
# If set, the display feature of a multi-segment screen. If not set, multi-segment support
# is turned-off.
experimental optional DisplayFeature displayFeature
# If set, the posture of a foldable device. If not set the posture is set
# to continuous.
experimental optional DevicePosture devicePosture
experimental command setScrollbarsHidden
parameters
@ -4048,6 +4136,30 @@ domain Emulation
# Mock accuracy
optional number accuracy
experimental command getOverriddenSensorInformation
parameters
SensorType type
returns
number requestedSamplingFrequency
# Overrides a platform sensor of a given type. If |enabled| is true, calls to
# Sensor.start() will use a virtual sensor as backend rather than fetching
# data from a real hardware sensor. Otherwise, existing virtual
# sensor-backend Sensor objects will fire an error event and new calls to
# Sensor.start() will attempt to use a real sensor instead.
experimental command setSensorOverrideEnabled
parameters
boolean enabled
SensorType type
optional SensorMetadata metadata
# Updates the sensor readings reported by a sensor type previously overriden
# by setSensorOverrideEnabled.
experimental command setSensorOverrideReadings
parameters
SensorType type
SensorReading reading
# Overrides the Idle state.
experimental command setIdleOverride
parameters
@ -4150,7 +4262,7 @@ domain Emulation
parameters
# User agent to use.
string userAgent
# Browser langugage to emulate.
# Browser language to emulate.
optional string acceptLanguage
# The platform navigator.platform should return.
optional string platform
@ -4495,9 +4607,9 @@ domain Input
# The normalized tangential pressure, which has a range of [-1,1] (default: 0).
experimental optional number tangentialPressure
# The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0)
experimental optional integer tiltX
optional number tiltX
# The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).
experimental optional integer tiltY
optional number tiltY
# The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
experimental optional integer twist
# Identifier used to track touch sources between events, must be unique within an event.
@ -4663,9 +4775,9 @@ domain Input
# The normalized tangential pressure, which has a range of [-1,1] (default: 0).
experimental optional number tangentialPressure
# The plane angle between the Y-Z plane and the plane containing both the stylus axis and the Y axis, in degrees of the range [-90,90], a positive tiltX is to the right (default: 0).
experimental optional integer tiltX
optional number tiltX
# The plane angle between the X-Z plane and the plane containing both the stylus axis and the X axis, in degrees of the range [-90,90], a positive tiltY is towards the user (default: 0).
experimental optional integer tiltY
optional number tiltY
# The clockwise rotation of a pen stylus around its own major axis, in degrees in the range [0,359] (default: 0).
experimental optional integer twist
# X delta in CSS pixels for mouse wheel event (default: 0).
@ -5577,6 +5689,10 @@ domain Network
# This value is used when the reason is unknown.
unspecifiedReason
experimental type ServiceWorkerRouterInfo extends object
properties
integer ruleIdMatched
# HTTP response data.
type Response extends object
properties
@ -5610,6 +5726,8 @@ domain Network
optional boolean fromServiceWorker
# Specifies that the request was served from the prefetch cache.
optional boolean fromPrefetchCache
# Infomation about how Service Worker Static Router was used.
experimental optional ServiceWorkerRouterInfo serviceWorkerRouterInfo
# Total number of bytes received for this request so far.
number encodedDataLength
# Timing information for the given request.
@ -5725,7 +5843,7 @@ domain Network
# Cookie Priority
experimental CookiePriority priority
# True if cookie is SameParty.
experimental boolean sameParty
experimental deprecated boolean sameParty
# Cookie source scheme type.
experimental CookieSourceScheme sourceScheme
# Cookie source port. Valid values are {-1, [1, 65535]}, -1 indicates an unspecified port.
@ -6327,7 +6445,7 @@ domain Network
parameters
# User agent to use.
string userAgent
# Browser langugage to emulate.
# Browser language to emulate.
optional string acceptLanguage
# The platform navigator.platform should return.
optional string platform
@ -7107,6 +7225,16 @@ experimental domain Overlay
# The content box highlight outline color (default: transparent).
optional DOM.RGBA outlineColor
# Configuration for Window Controls Overlay
type WindowControlsOverlayConfig extends object
properties
# Whether the title bar CSS should be shown when emulating the Window Controls Overlay.
boolean showCSS
# Seleted platforms to show the overlay.
string selectedPlatform
# The theme color defined in app manifest.
string themeColor
type ContainerQueryHighlightConfig extends object
properties
# A descriptor for the highlight appearance of container query containers.
@ -7357,6 +7485,12 @@ experimental domain Overlay
# An array of node identifiers and descriptors for the highlight appearance.
array of IsolatedElementHighlightConfig isolatedElementHighlightConfigs
# Show Window Controls Overlay for PWA
command setShowWindowControlsOverlay
parameters
# Window Controls Overlay data, null means hide Window Controls Overlay
optional WindowControlsOverlayConfig windowControlsOverlayConfig
# Fired when the node should be inspected. This happens after call to `setInspectMode` or when
# user manually inspects an element.
event inspectNodeRequested
@ -7527,7 +7661,9 @@ domain Page
sync-xhr
unload
usb
usb-unrestricted
vertical-scroll
web-printing
web-share
# Alias for 'window-placement' (crbug.com/1328581).
window-management
@ -8036,16 +8172,6 @@ domain Page
# as an ad. Only sent if frame is labelled as an ad and id is available.
optional AdScriptId adScriptId
# Returns all browser cookies for the page and all of its subframes. Depending
# on the backend support, will return detailed cookie information in the
# `cookies` field.
experimental deprecated command getCookies
# Use 'Network.getCookies' instead
redirect Network
returns
# Array of cookie objects.
array of Network.Cookie cookies
# Returns present frame tree structure.
command getFrameTree
returns
@ -8188,6 +8314,8 @@ domain Page
ReturnAsStream
# Whether or not to generate tagged (accessible) PDF. Defaults to embedder choice.
experimental optional boolean generateTaggedPDF
# Whether or not to embed the document outline into the PDF.
experimental optional boolean generateDocumentOutline
returns
# Base64-encoded pdf data. Empty if |returnAsStream| is specified.
binary data
@ -8787,6 +8915,17 @@ domain Page
PageSupportNeeded
Circumstantial
experimental type BackForwardCacheBlockingDetails extends object
properties
# Url of the file where blockage happened. Optional because of tests.
optional string url
# Function name where blockage happened. Optional because of anonymous functions and tests.
optional string function
# Line number in the script (0-based).
integer lineNumber
# Column number in the script (0-based).
integer columnNumber
experimental type BackForwardCacheNotRestoredExplanation extends object
properties
# Type of the reason
@ -8798,6 +8937,7 @@ domain Page
# - EmbedderExtensionSentMessageToCachedFrame: the extension ID.
#
optional string context
optional array of BackForwardCacheBlockingDetails details
experimental type BackForwardCacheNotRestoredExplanationTree extends object
properties
@ -9233,6 +9373,7 @@ experimental domain ServiceWorker
optional number scriptResponseTime
optional array of Target.TargetID controlledClients
optional Target.TargetID targetId
optional string routerRules
# ServiceWorker error message.
type ServiceWorkerErrorMessage extends object
@ -9359,6 +9500,7 @@ experimental domain Storage
win
additionalBid
additionalBidWin
clear
# Ad advertising element inside an interest group.
type InterestGroupAd extends object
@ -9815,17 +9957,26 @@ experimental domain Storage
# duration in seconds
array of integer ends
experimental type AttributionReportingTriggerSpec extends object
properties
# number instead of integer because not all uint32 can be represented by
# int
array of number triggerData
AttributionReportingEventReportWindows eventReportWindows
experimental type AttributionReportingTriggerDataMatching extends string
enum
exact
modulus
experimental type AttributionReportingSourceRegistration extends object
properties
Network.TimeSinceEpoch time
# duration in seconds
optional integer expiry
# eventReportWindow and eventReportWindows are mutually exclusive
integer expiry
array of AttributionReportingTriggerSpec triggerSpecs
# duration in seconds
optional integer eventReportWindow
optional AttributionReportingEventReportWindows eventReportWindows
# duration in seconds
optional integer aggregatableReportWindow
integer aggregatableReportWindow
AttributionReportingSourceType type
string sourceOrigin
string reportingOrigin
@ -9835,6 +9986,7 @@ experimental domain Storage
array of AttributionReportingFilterDataEntry filterData
array of AttributionReportingAggregationKeysEntry aggregationKeys
optional UnsignedInt64AsBase10 debugKey
AttributionReportingTriggerDataMatching triggerDataMatching
experimental type AttributionReportingSourceRegistrationResult extends string
enum
@ -10961,6 +11113,14 @@ experimental domain WebAuthn
# Sets whether User Verification succeeds or fails for an authenticator.
# Defaults to false.
optional boolean isUserVerified
# Credentials created by this authenticator will have the backup
# eligibility (BE) flag set to this value. Defaults to false.
# https://w3c.github.io/webauthn/#sctn-credential-backup
optional boolean defaultBackupEligibility
# Credentials created by this authenticator will have the backup state
# (BS) flag set to this value. Defaults to false.
# https://w3c.github.io/webauthn/#sctn-credential-backup
optional boolean defaultBackupState
type Credential extends object
properties
@ -11374,7 +11534,6 @@ experimental domain Preload
MemoryPressureOnTrigger
MemoryPressureAfterTriggered
PrerenderingDisabledByDevTools
ResourceLoadBlockedByClient
SpeculationRuleRemoved
ActivatedWithAuxiliaryBrowsingContexts
MaxNumOfRunningEagerPrerendersExceeded
@ -11457,6 +11616,13 @@ experimental domain Preload
PrefetchStatus prefetchStatus
Network.RequestId requestId
# Information of headers to be displayed when the header mismatch occurred.
type PrerenderMismatchedHeaders extends object
properties
string headerName
optional string initialValue
optional string activationValue
# Fired when a prerender attempt is updated.
event prerenderStatusUpdated
parameters
@ -11466,6 +11632,7 @@ experimental domain Preload
# This is used to give users more information about the name of Mojo interface
# that is incompatible with prerender and has caused the cancellation of the attempt.
optional string disallowedMojoInterface
optional array of PrerenderMismatchedHeaders mismatchedHeaders
# Send a list of sources for all preloading attempts in a document.
event preloadingAttemptSourcesUpdated
@ -11482,12 +11649,20 @@ experimental domain FedCm
SignIn
SignUp
# Whether the dialog shown is an account chooser or an auto re-authentication dialog.
# The types of FedCM dialogs.
type DialogType extends string
enum
AccountChooser
AutoReauthn
ConfirmIdpSignin
ConfirmIdpLogin
Error
# The buttons on the FedCM dialog.
type DialogButton extends string
enum
ConfirmIdpLoginContinue
ErrorGotIt
ErrorMoreDetails
# Corresponds to IdentityRequestAccount
type Account extends object
@ -11498,7 +11673,7 @@ experimental domain FedCm
string givenName
string pictureUrl
string idpConfigUrl
string idpSigninUrl
string idpLoginUrl
LoginState loginState
# These two are only set if the loginState is signUp
optional string termsOfServiceUrl
@ -11514,6 +11689,12 @@ experimental domain FedCm
string title
optional string subtitle
# Triggered when a dialog is closed, either by user action, JS abort,
# or a command below.
event dialogClosed
parameters
string dialogId
command enable
parameters
# Allows callers to disable the promise rejection delay that would
@ -11528,11 +11709,10 @@ experimental domain FedCm
string dialogId
integer accountIndex
# Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had
# clicked the continue button.
command confirmIdpSignin
command clickDialogButton
parameters
string dialogId
DialogButton dialogButton
command dismissDialog
parameters