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

@ -1011,7 +1011,8 @@
"WarnSameSiteLaxCrossDowngradeLax",
"WarnAttributeValueExceedsMaxSize",
"WarnDomainNonASCII",
"WarnThirdPartyPhaseout"
"WarnThirdPartyPhaseout",
"WarnCrossSiteRedirectDowngradeChangesInclusion"
]
},
{
@ -1581,6 +1582,20 @@
}
]
},
{
"id": "CookieDeprecationMetadataIssueDetails",
"description": "This issue warns about third-party sites that are accessing cookies on the\ncurrent page, and have been permitted due to having a global metadata grant.\nNote that in this context 'site' means eTLD+1. For example, if the URL\n`https://example.test:80/web_page` was accessing cookies, the site reported\nwould be `example.test`.",
"type": "object",
"properties": [
{
"name": "allowedSites",
"type": "array",
"items": {
"type": "string"
}
}
]
},
{
"id": "ClientHintIssueReason",
"type": "string",
@ -1632,13 +1647,16 @@
"IdTokenHttpNotFound",
"IdTokenNoResponse",
"IdTokenInvalidResponse",
"IdTokenIdpErrorResponse",
"IdTokenCrossSiteIdpErrorResponse",
"IdTokenInvalidRequest",
"IdTokenInvalidContentType",
"ErrorIdToken",
"Canceled",
"RpPageNotVisible",
"SilentMediationFailure",
"ThirdPartyCookiesBlocked"
"ThirdPartyCookiesBlocked",
"NotSignedInWithIdp"
]
},
{
@ -1788,6 +1806,7 @@
"ClientHintIssue",
"FederatedAuthRequestIssue",
"BounceTrackingIssue",
"CookieDeprecationMetadataIssue",
"StylesheetLoadingIssue",
"FederatedAuthUserInfoRequestIssue",
"PropertyRuleIssue"
@ -1879,6 +1898,11 @@
"optional": true,
"$ref": "BounceTrackingIssueDetails"
},
{
"name": "cookieDeprecationMetadataIssueDetails",
"optional": true,
"$ref": "CookieDeprecationMetadataIssueDetails"
},
{
"name": "stylesheetLoadingIssueDetails",
"optional": true,
@ -2495,7 +2519,7 @@
},
{
"id": "PermissionDescriptor",
"description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dictdef-permissiondescriptor.",
"description": "Definition of PermissionDescriptor defined in the Permissions API:\nhttps://w3c.github.io/permissions/#dom-permissiondescriptor.",
"experimental": true,
"type": "object",
"properties": [
@ -3842,6 +3866,11 @@
"description": "Font's family name reported by platform.",
"type": "string"
},
{
"name": "postScriptName",
"description": "Font's PostScript name reported by platform.",
"type": "string"
},
{
"name": "isCustomFont",
"description": "Indicates if the font was downloaded or resolved locally.",
@ -4033,6 +4062,34 @@
}
]
},
{
"id": "CSSFontPaletteValuesRule",
"description": "CSS font-palette-values rule representation.",
"type": "object",
"properties": [
{
"name": "styleSheetId",
"description": "The css style sheet identifier (absent for user agent stylesheet and user-specified\nstylesheet rules) this rule came from.",
"optional": true,
"$ref": "StyleSheetId"
},
{
"name": "origin",
"description": "Parent stylesheet's origin.",
"$ref": "StyleSheetOrigin"
},
{
"name": "fontPaletteName",
"description": "Associated font palette name.",
"$ref": "Value"
},
{
"name": "style",
"description": "Associated style declaration.",
"$ref": "CSSStyle"
}
]
},
{
"id": "CSSPropertyRule",
"description": "CSS property at-rule representation.",
@ -4377,6 +4434,12 @@
"$ref": "CSSPropertyRegistration"
}
},
{
"name": "cssFontPaletteValuesRule",
"description": "A font-palette-values rule matching this node.",
"optional": true,
"$ref": "CSSFontPaletteValuesRule"
},
{
"name": "parentLayoutNodeId",
"description": "Id of the first parent element that does not have display: contents.",
@ -6980,7 +7043,6 @@
"description": "DOM debugging allows setting breakpoints on particular DOM operations and events. JavaScript\nexecution will stop on these operations as if there was a regular breakpoint set.",
"dependencies": [
"DOM",
"Debugger",
"Runtime"
],
"types": [
@ -7137,6 +7199,8 @@
"name": "removeInstrumentationBreakpoint",
"description": "Removes breakpoint on particular native event.",
"experimental": true,
"deprecated": true,
"redirect": "EventBreakpoints",
"parameters": [
{
"name": "eventName",
@ -7209,6 +7273,8 @@
"name": "setInstrumentationBreakpoint",
"description": "Sets breakpoint on particular native event.",
"experimental": true,
"deprecated": true,
"redirect": "EventBreakpoints",
"parameters": [
{
"name": "eventName",
@ -7232,7 +7298,7 @@
},
{
"domain": "EventBreakpoints",
"description": "EventBreakpoints permits setting breakpoints on particular operations and\nevents in targets that run JavaScript but do not have a DOM.\nJavaScript execution will stop on these operations as if there was a regular\nbreakpoint set.",
"description": "EventBreakpoints permits setting JavaScript breakpoints on operations and events\noccurring in native code invoked from JavaScript. Once breakpoint is hit, it is\nreported through Debugger domain, similarly to regular breakpoints being hit.",
"experimental": true,
"commands": [
{
@ -7256,6 +7322,10 @@
"type": "string"
}
]
},
{
"name": "disable",
"description": "Removes all breakpoints"
}
]
},
@ -8501,6 +8571,21 @@
}
]
},
{
"id": "DevicePosture",
"type": "object",
"properties": [
{
"name": "type",
"description": "Current posture of the device",
"type": "string",
"enum": [
"continuous",
"folded"
]
}
]
},
{
"id": "MediaFeature",
"type": "object",
@ -8604,6 +8689,120 @@
}
]
},
{
"id": "SensorType",
"description": "Used to specify sensor types to emulate.\nSee https://w3c.github.io/sensors/#automation for more information.",
"experimental": true,
"type": "string",
"enum": [
"absolute-orientation",
"accelerometer",
"ambient-light",
"gravity",
"gyroscope",
"linear-acceleration",
"magnetometer",
"proximity",
"relative-orientation"
]
},
{
"id": "SensorMetadata",
"experimental": true,
"type": "object",
"properties": [
{
"name": "available",
"optional": true,
"type": "boolean"
},
{
"name": "minimumFrequency",
"optional": true,
"type": "number"
},
{
"name": "maximumFrequency",
"optional": true,
"type": "number"
}
]
},
{
"id": "SensorReadingSingle",
"experimental": true,
"type": "object",
"properties": [
{
"name": "value",
"type": "number"
}
]
},
{
"id": "SensorReadingXYZ",
"experimental": true,
"type": "object",
"properties": [
{
"name": "x",
"type": "number"
},
{
"name": "y",
"type": "number"
},
{
"name": "z",
"type": "number"
}
]
},
{
"id": "SensorReadingQuaternion",
"experimental": true,
"type": "object",
"properties": [
{
"name": "x",
"type": "number"
},
{
"name": "y",
"type": "number"
},
{
"name": "z",
"type": "number"
},
{
"name": "w",
"type": "number"
}
]
},
{
"id": "SensorReading",
"experimental": true,
"type": "object",
"properties": [
{
"name": "single",
"optional": true,
"$ref": "SensorReadingSingle"
},
{
"name": "xyz",
"optional": true,
"$ref": "SensorReadingXYZ"
},
{
"name": "quaternion",
"optional": true,
"$ref": "SensorReadingQuaternion"
}
]
},
{
"id": "DisabledImageType",
"description": "Enum of image types that can be disabled.",
@ -8774,6 +8973,13 @@
"experimental": true,
"optional": true,
"$ref": "DisplayFeature"
},
{
"name": "devicePosture",
"description": "If set, the posture of a foldable device. If not set the posture is set\nto continuous.",
"experimental": true,
"optional": true,
"$ref": "DevicePosture"
}
]
},
@ -8886,6 +9092,57 @@
}
]
},
{
"name": "getOverriddenSensorInformation",
"experimental": true,
"parameters": [
{
"name": "type",
"$ref": "SensorType"
}
],
"returns": [
{
"name": "requestedSamplingFrequency",
"type": "number"
}
]
},
{
"name": "setSensorOverrideEnabled",
"description": "Overrides a platform sensor of a given type. If |enabled| is true, calls to\nSensor.start() will use a virtual sensor as backend rather than fetching\ndata from a real hardware sensor. Otherwise, existing virtual\nsensor-backend Sensor objects will fire an error event and new calls to\nSensor.start() will attempt to use a real sensor instead.",
"experimental": true,
"parameters": [
{
"name": "enabled",
"type": "boolean"
},
{
"name": "type",
"$ref": "SensorType"
},
{
"name": "metadata",
"optional": true,
"$ref": "SensorMetadata"
}
]
},
{
"name": "setSensorOverrideReadings",
"description": "Updates the sensor readings reported by a sensor type previously overriden\nby setSensorOverrideEnabled.",
"experimental": true,
"parameters": [
{
"name": "type",
"$ref": "SensorType"
},
{
"name": "reading",
"$ref": "SensorReading"
}
]
},
{
"name": "setIdleOverride",
"description": "Overrides the Idle state.",
@ -9076,7 +9333,7 @@
},
{
"name": "acceptLanguage",
"description": "Browser langugage to emulate.",
"description": "Browser language to emulate.",
"optional": true,
"type": "string"
},
@ -9862,16 +10119,14 @@
{
"name": "tiltX",
"description": "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": true,
"optional": true,
"type": "integer"
"type": "number"
},
{
"name": "tiltY",
"description": "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": true,
"optional": true,
"type": "integer"
"type": "number"
},
{
"name": "twist",
@ -10235,16 +10490,14 @@
{
"name": "tiltX",
"description": "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": true,
"optional": true,
"type": "integer"
"type": "number"
},
{
"name": "tiltY",
"description": "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": true,
"optional": true,
"type": "integer"
"type": "number"
},
{
"name": "twist",
@ -12031,6 +12284,17 @@
"unspecifiedReason"
]
},
{
"id": "ServiceWorkerRouterInfo",
"experimental": true,
"type": "object",
"properties": [
{
"name": "ruleIdMatched",
"type": "integer"
}
]
},
{
"id": "Response",
"description": "HTTP response data.",
@ -12121,6 +12385,13 @@
"optional": true,
"type": "boolean"
},
{
"name": "serviceWorkerRouterInfo",
"description": "Infomation about how Service Worker Static Router was used.",
"experimental": true,
"optional": true,
"$ref": "ServiceWorkerRouterInfo"
},
{
"name": "encodedDataLength",
"description": "Total number of bytes received for this request so far.",
@ -12394,6 +12665,7 @@
"name": "sameParty",
"description": "True if cookie is SameParty.",
"experimental": true,
"deprecated": true,
"type": "boolean"
},
{
@ -13828,7 +14100,7 @@
},
{
"name": "acceptLanguage",
"description": "Browser langugage to emulate.",
"description": "Browser language to emulate.",
"optional": true,
"type": "string"
},
@ -15274,6 +15546,28 @@
}
]
},
{
"id": "WindowControlsOverlayConfig",
"description": "Configuration for Window Controls Overlay",
"type": "object",
"properties": [
{
"name": "showCSS",
"description": "Whether the title bar CSS should be shown when emulating the Window Controls Overlay.",
"type": "boolean"
},
{
"name": "selectedPlatform",
"description": "Seleted platforms to show the overlay.",
"type": "string"
},
{
"name": "themeColor",
"description": "The theme color defined in app manifest.",
"type": "string"
}
]
},
{
"id": "ContainerQueryHighlightConfig",
"type": "object",
@ -15808,6 +16102,18 @@
}
}
]
},
{
"name": "setShowWindowControlsOverlay",
"description": "Show Window Controls Overlay for PWA",
"parameters": [
{
"name": "windowControlsOverlayConfig",
"description": "Window Controls Overlay data, null means hide Window Controls Overlay",
"optional": true,
"$ref": "WindowControlsOverlayConfig"
}
]
}
],
"events": [
@ -16038,7 +16344,9 @@
"sync-xhr",
"unload",
"usb",
"usb-unrestricted",
"vertical-scroll",
"web-printing",
"web-share",
"window-management",
"window-placement",
@ -17012,6 +17320,35 @@
"Circumstantial"
]
},
{
"id": "BackForwardCacheBlockingDetails",
"experimental": true,
"type": "object",
"properties": [
{
"name": "url",
"description": "Url of the file where blockage happened. Optional because of tests.",
"optional": true,
"type": "string"
},
{
"name": "function",
"description": "Function name where blockage happened. Optional because of anonymous functions and tests.",
"optional": true,
"type": "string"
},
{
"name": "lineNumber",
"description": "Line number in the script (0-based).",
"type": "integer"
},
{
"name": "columnNumber",
"description": "Column number in the script (0-based).",
"type": "integer"
}
]
},
{
"id": "BackForwardCacheNotRestoredExplanation",
"experimental": true,
@ -17032,6 +17369,14 @@
"description": "Context associated with the reason. The meaning of this context is\ndependent on the reason:\n- EmbedderExtensionSentMessageToCachedFrame: the extension ID.",
"optional": true,
"type": "string"
},
{
"name": "details",
"optional": true,
"type": "array",
"items": {
"$ref": "BackForwardCacheBlockingDetails"
}
}
]
},
@ -17376,23 +17721,6 @@
}
]
},
{
"name": "getCookies",
"description": "Returns all browser cookies for the page and all of its subframes. Depending\non the backend support, will return detailed cookie information in the\n`cookies` field.",
"experimental": true,
"deprecated": true,
"redirect": "Network",
"returns": [
{
"name": "cookies",
"description": "Array of cookie objects.",
"type": "array",
"items": {
"$ref": "Network.Cookie"
}
}
]
},
{
"name": "getFrameTree",
"description": "Returns present frame tree structure.",
@ -17695,6 +18023,13 @@
"experimental": true,
"optional": true,
"type": "boolean"
},
{
"name": "generateDocumentOutline",
"description": "Whether or not to embed the document outline into the PDF.",
"experimental": true,
"optional": true,
"type": "boolean"
}
],
"returns": [
@ -19555,6 +19890,11 @@
"name": "targetId",
"optional": true,
"$ref": "Target.TargetID"
},
{
"name": "routerRules",
"optional": true,
"type": "string"
}
]
},
@ -19833,7 +20173,8 @@
"bid",
"win",
"additionalBid",
"additionalBidWin"
"additionalBidWin",
"clear"
]
},
{
@ -20197,6 +20538,34 @@
}
]
},
{
"id": "AttributionReportingTriggerSpec",
"experimental": true,
"type": "object",
"properties": [
{
"name": "triggerData",
"description": "number instead of integer because not all uint32 can be represented by\nint",
"type": "array",
"items": {
"type": "number"
}
},
{
"name": "eventReportWindows",
"$ref": "AttributionReportingEventReportWindows"
}
]
},
{
"id": "AttributionReportingTriggerDataMatching",
"experimental": true,
"type": "string",
"enum": [
"exact",
"modulus"
]
},
{
"id": "AttributionReportingSourceRegistration",
"experimental": true,
@ -20209,24 +20578,18 @@
{
"name": "expiry",
"description": "duration in seconds",
"optional": true,
"type": "integer"
},
{
"name": "eventReportWindow",
"description": "eventReportWindow and eventReportWindows are mutually exclusive\nduration in seconds",
"optional": true,
"type": "integer"
},
{
"name": "eventReportWindows",
"optional": true,
"$ref": "AttributionReportingEventReportWindows"
"name": "triggerSpecs",
"type": "array",
"items": {
"$ref": "AttributionReportingTriggerSpec"
}
},
{
"name": "aggregatableReportWindow",
"description": "duration in seconds",
"optional": true,
"type": "integer"
},
{
@ -20274,6 +20637,10 @@
"name": "debugKey",
"optional": true,
"$ref": "UnsignedInt64AsBase10"
},
{
"name": "triggerDataMatching",
"$ref": "AttributionReportingTriggerDataMatching"
}
]
},
@ -23272,6 +23639,18 @@
"description": "Sets whether User Verification succeeds or fails for an authenticator.\nDefaults to false.",
"optional": true,
"type": "boolean"
},
{
"name": "defaultBackupEligibility",
"description": "Credentials created by this authenticator will have the backup\neligibility (BE) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
"optional": true,
"type": "boolean"
},
{
"name": "defaultBackupState",
"description": "Credentials created by this authenticator will have the backup state\n(BS) flag set to this value. Defaults to false.\nhttps://w3c.github.io/webauthn/#sctn-credential-backup",
"optional": true,
"type": "boolean"
}
]
},
@ -24020,7 +24399,6 @@
"MemoryPressureOnTrigger",
"MemoryPressureAfterTriggered",
"PrerenderingDisabledByDevTools",
"ResourceLoadBlockedByClient",
"SpeculationRuleRemoved",
"ActivatedWithAuxiliaryBrowsingContexts",
"MaxNumOfRunningEagerPrerendersExceeded",
@ -24080,6 +24458,27 @@
"PrefetchSuccessfulButNotUsed",
"PrefetchNotUsedProbeFailed"
]
},
{
"id": "PrerenderMismatchedHeaders",
"description": "Information of headers to be displayed when the header mismatch occurred.",
"type": "object",
"properties": [
{
"name": "headerName",
"type": "string"
},
{
"name": "initialValue",
"optional": true,
"type": "string"
},
{
"name": "activationValue",
"optional": true,
"type": "string"
}
]
}
],
"commands": [
@ -24189,6 +24588,14 @@
"description": "This is used to give users more information about the name of Mojo interface\nthat is incompatible with prerender and has caused the cancellation of the attempt.",
"optional": true,
"type": "string"
},
{
"name": "mismatchedHeaders",
"optional": true,
"type": "array",
"items": {
"$ref": "PrerenderMismatchedHeaders"
}
}
]
},
@ -24227,12 +24634,23 @@
},
{
"id": "DialogType",
"description": "Whether the dialog shown is an account chooser or an auto re-authentication dialog.",
"description": "The types of FedCM dialogs.",
"type": "string",
"enum": [
"AccountChooser",
"AutoReauthn",
"ConfirmIdpSignin"
"ConfirmIdpLogin",
"Error"
]
},
{
"id": "DialogButton",
"description": "The buttons on the FedCM dialog.",
"type": "string",
"enum": [
"ConfirmIdpLoginContinue",
"ErrorGotIt",
"ErrorMoreDetails"
]
},
{
@ -24265,7 +24683,7 @@
"type": "string"
},
{
"name": "idpSigninUrl",
"name": "idpLoginUrl",
"type": "string"
},
{
@ -24316,6 +24734,16 @@
"type": "string"
}
]
},
{
"name": "dialogClosed",
"description": "Triggered when a dialog is closed, either by user action, JS abort,\nor a command below.",
"parameters": [
{
"name": "dialogId",
"type": "string"
}
]
}
],
"commands": [
@ -24347,12 +24775,15 @@
]
},
{
"name": "confirmIdpSignin",
"description": "Only valid if the dialog type is ConfirmIdpSignin. Acts as if the user had\nclicked the continue button.",
"name": "clickDialogButton",
"parameters": [
{
"name": "dialogId",
"type": "string"
},
{
"name": "dialogButton",
"$ref": "DialogButton"
}
]
},