add hw2
This commit is contained in:
		
							
								
								
									
										103
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,103 @@ | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| import type { ErrorResponse } from './generated/webdriver-bidi.js'; | ||||
| import { ErrorCode } from './generated/webdriver-bidi.js'; | ||||
| export declare class Exception extends Error { | ||||
|     error: ErrorCode; | ||||
|     message: string; | ||||
|     stacktrace?: string | undefined; | ||||
|     constructor(error: ErrorCode, message: string, stacktrace?: string | undefined); | ||||
|     toErrorResponse(commandId: number): ErrorResponse; | ||||
| } | ||||
| export declare class InvalidArgumentException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class InvalidSelectorException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class InvalidSessionIdException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class MoveTargetOutOfBoundsException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchAlertException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchElementException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchFrameException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchHandleException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchHistoryEntryException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchInterceptException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchNodeException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchRequestException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchScriptException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchUserContextException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class SessionNotCreatedException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnknownCommandException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnknownErrorException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string | undefined); | ||||
| } | ||||
| export declare class UnableToCaptureScreenException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnableToCloseBrowserException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnsupportedOperationException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchStoragePartitionException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnableToSetCookieException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnableToSetFileInputException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class UnderspecifiedStoragePartitionException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class InvalidWebExtensionException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
| export declare class NoSuchWebExtensionException extends Exception { | ||||
|     constructor(message: string, stacktrace?: string); | ||||
| } | ||||
							
								
								
									
										181
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										181
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,181 @@ | ||||
| "use strict"; | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| exports.NoSuchWebExtensionException = exports.InvalidWebExtensionException = exports.UnderspecifiedStoragePartitionException = exports.UnableToSetFileInputException = exports.UnableToSetCookieException = exports.NoSuchStoragePartitionException = exports.UnsupportedOperationException = exports.UnableToCloseBrowserException = exports.UnableToCaptureScreenException = exports.UnknownErrorException = exports.UnknownCommandException = exports.SessionNotCreatedException = exports.NoSuchUserContextException = exports.NoSuchScriptException = exports.NoSuchRequestException = exports.NoSuchNodeException = exports.NoSuchInterceptException = exports.NoSuchHistoryEntryException = exports.NoSuchHandleException = exports.NoSuchFrameException = exports.NoSuchElementException = exports.NoSuchAlertException = exports.MoveTargetOutOfBoundsException = exports.InvalidSessionIdException = exports.InvalidSelectorException = exports.InvalidArgumentException = exports.Exception = void 0; | ||||
| class Exception extends Error { | ||||
|     error; | ||||
|     message; | ||||
|     stacktrace; | ||||
|     constructor(error, message, stacktrace) { | ||||
|         super(); | ||||
|         this.error = error; | ||||
|         this.message = message; | ||||
|         this.stacktrace = stacktrace; | ||||
|     } | ||||
|     toErrorResponse(commandId) { | ||||
|         return { | ||||
|             type: 'error', | ||||
|             id: commandId, | ||||
|             error: this.error, | ||||
|             message: this.message, | ||||
|             stacktrace: this.stacktrace, | ||||
|         }; | ||||
|     } | ||||
| } | ||||
| exports.Exception = Exception; | ||||
| class InvalidArgumentException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("invalid argument" /* ErrorCode.InvalidArgument */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.InvalidArgumentException = InvalidArgumentException; | ||||
| class InvalidSelectorException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("invalid selector" /* ErrorCode.InvalidSelector */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.InvalidSelectorException = InvalidSelectorException; | ||||
| class InvalidSessionIdException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("invalid session id" /* ErrorCode.InvalidSessionId */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.InvalidSessionIdException = InvalidSessionIdException; | ||||
| class MoveTargetOutOfBoundsException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("move target out of bounds" /* ErrorCode.MoveTargetOutOfBounds */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.MoveTargetOutOfBoundsException = MoveTargetOutOfBoundsException; | ||||
| class NoSuchAlertException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such alert" /* ErrorCode.NoSuchAlert */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchAlertException = NoSuchAlertException; | ||||
| class NoSuchElementException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such element" /* ErrorCode.NoSuchElement */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchElementException = NoSuchElementException; | ||||
| class NoSuchFrameException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such frame" /* ErrorCode.NoSuchFrame */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchFrameException = NoSuchFrameException; | ||||
| class NoSuchHandleException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such handle" /* ErrorCode.NoSuchHandle */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchHandleException = NoSuchHandleException; | ||||
| class NoSuchHistoryEntryException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such history entry" /* ErrorCode.NoSuchHistoryEntry */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchHistoryEntryException = NoSuchHistoryEntryException; | ||||
| class NoSuchInterceptException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such intercept" /* ErrorCode.NoSuchIntercept */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchInterceptException = NoSuchInterceptException; | ||||
| class NoSuchNodeException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such node" /* ErrorCode.NoSuchNode */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchNodeException = NoSuchNodeException; | ||||
| class NoSuchRequestException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such request" /* ErrorCode.NoSuchRequest */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchRequestException = NoSuchRequestException; | ||||
| class NoSuchScriptException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such script" /* ErrorCode.NoSuchScript */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchScriptException = NoSuchScriptException; | ||||
| class NoSuchUserContextException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such user context" /* ErrorCode.NoSuchUserContext */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchUserContextException = NoSuchUserContextException; | ||||
| class SessionNotCreatedException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("session not created" /* ErrorCode.SessionNotCreated */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.SessionNotCreatedException = SessionNotCreatedException; | ||||
| class UnknownCommandException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unknown command" /* ErrorCode.UnknownCommand */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnknownCommandException = UnknownCommandException; | ||||
| class UnknownErrorException extends Exception { | ||||
|     constructor(message, stacktrace = new Error().stack) { | ||||
|         super("unknown error" /* ErrorCode.UnknownError */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnknownErrorException = UnknownErrorException; | ||||
| class UnableToCaptureScreenException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unable to capture screen" /* ErrorCode.UnableToCaptureScreen */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnableToCaptureScreenException = UnableToCaptureScreenException; | ||||
| class UnableToCloseBrowserException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unable to close browser" /* ErrorCode.UnableToCloseBrowser */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnableToCloseBrowserException = UnableToCloseBrowserException; | ||||
| class UnsupportedOperationException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unsupported operation" /* ErrorCode.UnsupportedOperation */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnsupportedOperationException = UnsupportedOperationException; | ||||
| class NoSuchStoragePartitionException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such storage partition" /* ErrorCode.NoSuchStoragePartition */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchStoragePartitionException = NoSuchStoragePartitionException; | ||||
| class UnableToSetCookieException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unable to set cookie" /* ErrorCode.UnableToSetCookie */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnableToSetCookieException = UnableToSetCookieException; | ||||
| class UnableToSetFileInputException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("unable to set file input" /* ErrorCode.UnableToSetFileInput */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnableToSetFileInputException = UnableToSetFileInputException; | ||||
| class UnderspecifiedStoragePartitionException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("underspecified storage partition" /* ErrorCode.UnderspecifiedStoragePartition */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.UnderspecifiedStoragePartitionException = UnderspecifiedStoragePartitionException; | ||||
| class InvalidWebExtensionException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("invalid web extension" /* ErrorCode.InvalidWebExtension */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.InvalidWebExtensionException = InvalidWebExtensionException; | ||||
| class NoSuchWebExtensionException extends Exception { | ||||
|     constructor(message, stacktrace) { | ||||
|         super("no such web extension" /* ErrorCode.NoSuchWebExtension */, message, stacktrace); | ||||
|     } | ||||
| } | ||||
| exports.NoSuchWebExtensionException = NoSuchWebExtensionException; | ||||
| //# sourceMappingURL=ErrorResponse.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/ErrorResponse.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"ErrorResponse.js","sourceRoot":"","sources":["../../../src/protocol/ErrorResponse.ts"],"names":[],"mappings":";;;AAmBA,MAAa,SAAU,SAAQ,KAAK;IAEzB;IACS;IACT;IAHT,YACS,KAAgB,EACP,OAAe,EACxB,UAAmB;QAE1B,KAAK,EAAE,CAAC;QAJD,UAAK,GAAL,KAAK,CAAW;QACP,YAAO,GAAP,OAAO,CAAQ;QACxB,eAAU,GAAV,UAAU,CAAS;IAG5B,CAAC;IAED,eAAe,CAAC,SAAiB;QAC/B,OAAO;YACL,IAAI,EAAE,OAAO;YACb,EAAE,EAAE,SAAS;YACb,KAAK,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Aa,4BAA6B,SAAQ,SAAS;IACzD,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,8DAAgC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC5D,CAAC;CACF;AAJD,oEAIC;AAED,MAAa,2BAA4B,SAAQ,SAAS;IACxD,YAAY,OAAe,EAAE,UAAmB;QAC9C,KAAK,6DAA+B,OAAO,EAAE,UAAU,CAAC,CAAC;IAC3D,CAAC;CACF;AAJD,kEAIC"} | ||||
							
								
								
									
										93
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										93
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,93 @@ | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| import type { Protocol } from 'devtools-protocol'; | ||||
| import type { ProtocolMapping } from 'devtools-protocol/types/protocol-mapping.js'; | ||||
| import type { BrowsingContext, JsUint, Script } from './generated/webdriver-bidi.js'; | ||||
| export type EventNames = Event['method']; | ||||
| export type Message = CommandResponse | Event; | ||||
| export type Command = { | ||||
|     id: JsUint; | ||||
| } & CommandData; | ||||
| export type CommandData = SendCommandCommand | GetSessionCommand | ResolveRealmCommand | DeprecatedSendCommandCommand | DeprecatedGetSessionCommand | DeprecatedResolveRealmCommand; | ||||
| export type CommandResponse = { | ||||
|     type: 'success'; | ||||
|     id: JsUint; | ||||
|     result: ResultData; | ||||
| }; | ||||
| export type ResultData = SendCommandResult | GetSessionResult | ResolveRealmResult; | ||||
| export type DeprecatedSendCommandCommand = { | ||||
|     method: 'cdp.sendCommand'; | ||||
|     params: SendCommandParameters; | ||||
| }; | ||||
| export type SendCommandCommand = { | ||||
|     method: 'goog:cdp.sendCommand'; | ||||
|     params: SendCommandParameters; | ||||
| }; | ||||
| export type SendCommandParameters<Command extends keyof ProtocolMapping.Commands = keyof ProtocolMapping.Commands> = { | ||||
|     method: Command; | ||||
|     params?: ProtocolMapping.Commands[Command]['paramsType'][0]; | ||||
|     session?: Protocol.Target.SessionID; | ||||
| }; | ||||
| export type SendCommandResult = { | ||||
|     result: ProtocolMapping.Commands[keyof ProtocolMapping.Commands]['returnType']; | ||||
|     session?: Protocol.Target.SessionID; | ||||
| }; | ||||
| export type DeprecatedGetSessionCommand = { | ||||
|     method: 'cdp.getSession'; | ||||
|     params: GetSessionParameters; | ||||
| }; | ||||
| export type GetSessionCommand = { | ||||
|     method: 'goog:cdp.getSession'; | ||||
|     params: GetSessionParameters; | ||||
| }; | ||||
| export type GetSessionParameters = { | ||||
|     context: BrowsingContext.BrowsingContext; | ||||
| }; | ||||
| export type GetSessionResult = { | ||||
|     session?: Protocol.Target.SessionID; | ||||
| }; | ||||
| export type DeprecatedResolveRealmCommand = { | ||||
|     method: 'cdp.resolveRealm'; | ||||
|     params: ResolveRealmParameters; | ||||
| }; | ||||
| export type ResolveRealmCommand = { | ||||
|     method: 'goog:cdp.resolveRealm'; | ||||
|     params: ResolveRealmParameters; | ||||
| }; | ||||
| export type ResolveRealmParameters = { | ||||
|     realm: Script.Realm; | ||||
| }; | ||||
| export type ResolveRealmResult = { | ||||
|     executionContextId: Protocol.Runtime.ExecutionContextId; | ||||
| }; | ||||
| export type Event = { | ||||
|     type: 'event'; | ||||
| } & EventData; | ||||
| export type EventData = EventDataFor<keyof ProtocolMapping.Events> | DeprecatedEventDataFor<keyof ProtocolMapping.Events>; | ||||
| export type DeprecatedEventDataFor<EventName extends keyof ProtocolMapping.Events> = { | ||||
|     method: `cdp.${EventName}`; | ||||
|     params: EventParametersFor<EventName>; | ||||
| }; | ||||
| export type EventDataFor<EventName extends keyof ProtocolMapping.Events> = { | ||||
|     method: `goog:cdp.${EventName}`; | ||||
|     params: EventParametersFor<EventName>; | ||||
| }; | ||||
| export type EventParametersFor<EventName extends keyof ProtocolMapping.Events> = { | ||||
|     event: EventName; | ||||
|     params: ProtocolMapping.Events[EventName][0]; | ||||
|     session: Protocol.Target.SessionID; | ||||
| }; | ||||
							
								
								
									
										3
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| "use strict"; | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| //# sourceMappingURL=cdp.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/cdp.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"cdp.js","sourceRoot":"","sources":["../../../src/protocol/cdp.ts"],"names":[],"mappings":""} | ||||
							
								
								
									
										99
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										99
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,99 @@ | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| import type * as Cdp from './cdp.js'; | ||||
| import type * as WebDriverBidiBluetooth from './generated/webdriver-bidi-bluetooth.js'; | ||||
| import type * as WebDriverBidiPermissions from './generated/webdriver-bidi-permissions.js'; | ||||
| import type * as WebDriverBidi from './generated/webdriver-bidi.js'; | ||||
| export type EventNames = Cdp.EventNames | `${BiDiModule}` | `${Bluetooth.EventNames}` | `${BrowsingContext.EventNames}` | `${Log.EventNames}` | `${Network.EventNames}` | `${Script.EventNames}`; | ||||
| export declare enum BiDiModule { | ||||
|     Bluetooth = "bluetooth", | ||||
|     Browser = "browser", | ||||
|     BrowsingContext = "browsingContext", | ||||
|     Cdp = "goog:cdp", | ||||
|     DeprecatedCdp = "cdp", | ||||
|     Input = "input", | ||||
|     Log = "log", | ||||
|     Network = "network", | ||||
|     Script = "script", | ||||
|     Session = "session" | ||||
| } | ||||
| export declare namespace Script { | ||||
|     enum EventNames { | ||||
|         Message = "script.message", | ||||
|         RealmCreated = "script.realmCreated", | ||||
|         RealmDestroyed = "script.realmDestroyed" | ||||
|     } | ||||
| } | ||||
| export declare namespace Log { | ||||
|     enum EventNames { | ||||
|         LogEntryAdded = "log.entryAdded" | ||||
|     } | ||||
| } | ||||
| export declare namespace BrowsingContext { | ||||
|     enum EventNames { | ||||
|         ContextCreated = "browsingContext.contextCreated", | ||||
|         ContextDestroyed = "browsingContext.contextDestroyed", | ||||
|         DomContentLoaded = "browsingContext.domContentLoaded", | ||||
|         DownloadWillBegin = "browsingContext.downloadWillBegin", | ||||
|         FragmentNavigated = "browsingContext.fragmentNavigated", | ||||
|         HistoryUpdated = "browsingContext.historyUpdated", | ||||
|         Load = "browsingContext.load", | ||||
|         NavigationAborted = "browsingContext.navigationAborted", | ||||
|         NavigationFailed = "browsingContext.navigationFailed", | ||||
|         NavigationStarted = "browsingContext.navigationStarted", | ||||
|         UserPromptClosed = "browsingContext.userPromptClosed", | ||||
|         UserPromptOpened = "browsingContext.userPromptOpened" | ||||
|     } | ||||
| } | ||||
| export declare namespace Network { | ||||
|     enum EventNames { | ||||
|         AuthRequired = "network.authRequired", | ||||
|         BeforeRequestSent = "network.beforeRequestSent", | ||||
|         FetchError = "network.fetchError", | ||||
|         ResponseCompleted = "network.responseCompleted", | ||||
|         ResponseStarted = "network.responseStarted" | ||||
|     } | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     enum EventNames { | ||||
|         RequestDevicePromptUpdated = "bluetooth.requestDevicePromptUpdated" | ||||
|     } | ||||
| } | ||||
| export type Command = (WebDriverBidi.Command | Cdp.Command | ({ | ||||
|     id: WebDriverBidi.JsUint; | ||||
| } & WebDriverBidiPermissions.PermissionsCommand) | ({ | ||||
|     id: WebDriverBidi.JsUint; | ||||
| } & WebDriverBidiBluetooth.Bluetooth.HandleRequestDevicePrompt) | ({ | ||||
|     id: WebDriverBidi.JsUint; | ||||
| } & WebDriverBidiBluetooth.Bluetooth.SimulateAdapter) | ({ | ||||
|     id: WebDriverBidi.JsUint; | ||||
| } & WebDriverBidiBluetooth.Bluetooth.SimulatePreconnectedPeripheral) | ({ | ||||
|     id: WebDriverBidi.JsUint; | ||||
| } & WebDriverBidiBluetooth.Bluetooth.SimulateAdvertisement)) & { | ||||
|     channel?: WebDriverBidi.Script.Channel; | ||||
| }; | ||||
| export type CommandResponse = WebDriverBidi.CommandResponse | Cdp.CommandResponse; | ||||
| export type BluetoothEvent = { | ||||
|     type: 'event'; | ||||
| } & (WebDriverBidiBluetooth.Bluetooth.RequestDevicePromptUpdated & WebDriverBidi.Extensible); | ||||
| export type Event = WebDriverBidi.Event | Cdp.Event | BluetoothEvent; | ||||
| export declare const EVENT_NAMES: Set<BiDiModule | BrowsingContext.EventNames | Log.EventNames.LogEntryAdded | Network.EventNames | Script.EventNames>; | ||||
| export type ResultData = WebDriverBidi.ResultData | Cdp.ResultData; | ||||
| export type BidiPlusChannel = string | null; | ||||
| export type Message = (WebDriverBidi.Message | Cdp.Message | BluetoothEvent) & { | ||||
|     channel?: BidiPlusChannel; | ||||
| }; | ||||
							
								
								
									
										103
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										103
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,103 @@ | ||||
| "use strict"; | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| exports.EVENT_NAMES = exports.Bluetooth = exports.Network = exports.BrowsingContext = exports.Log = exports.Script = exports.BiDiModule = void 0; | ||||
| // keep-sorted end | ||||
| var BiDiModule; | ||||
| (function (BiDiModule) { | ||||
|     // keep-sorted start | ||||
|     BiDiModule["Bluetooth"] = "bluetooth"; | ||||
|     BiDiModule["Browser"] = "browser"; | ||||
|     BiDiModule["BrowsingContext"] = "browsingContext"; | ||||
|     BiDiModule["Cdp"] = "goog:cdp"; | ||||
|     BiDiModule["DeprecatedCdp"] = "cdp"; | ||||
|     BiDiModule["Input"] = "input"; | ||||
|     BiDiModule["Log"] = "log"; | ||||
|     BiDiModule["Network"] = "network"; | ||||
|     BiDiModule["Script"] = "script"; | ||||
|     BiDiModule["Session"] = "session"; | ||||
|     // keep-sorted end | ||||
| })(BiDiModule || (exports.BiDiModule = BiDiModule = {})); | ||||
| var Script; | ||||
| (function (Script) { | ||||
|     let EventNames; | ||||
|     (function (EventNames) { | ||||
|         // keep-sorted start | ||||
|         EventNames["Message"] = "script.message"; | ||||
|         EventNames["RealmCreated"] = "script.realmCreated"; | ||||
|         EventNames["RealmDestroyed"] = "script.realmDestroyed"; | ||||
|         // keep-sorted end | ||||
|     })(EventNames = Script.EventNames || (Script.EventNames = {})); | ||||
| })(Script || (exports.Script = Script = {})); | ||||
| var Log; | ||||
| (function (Log) { | ||||
|     let EventNames; | ||||
|     (function (EventNames) { | ||||
|         EventNames["LogEntryAdded"] = "log.entryAdded"; | ||||
|     })(EventNames = Log.EventNames || (Log.EventNames = {})); | ||||
| })(Log || (exports.Log = Log = {})); | ||||
| var BrowsingContext; | ||||
| (function (BrowsingContext) { | ||||
|     let EventNames; | ||||
|     (function (EventNames) { | ||||
|         // keep-sorted start | ||||
|         EventNames["ContextCreated"] = "browsingContext.contextCreated"; | ||||
|         EventNames["ContextDestroyed"] = "browsingContext.contextDestroyed"; | ||||
|         EventNames["DomContentLoaded"] = "browsingContext.domContentLoaded"; | ||||
|         EventNames["DownloadWillBegin"] = "browsingContext.downloadWillBegin"; | ||||
|         EventNames["FragmentNavigated"] = "browsingContext.fragmentNavigated"; | ||||
|         EventNames["HistoryUpdated"] = "browsingContext.historyUpdated"; | ||||
|         EventNames["Load"] = "browsingContext.load"; | ||||
|         EventNames["NavigationAborted"] = "browsingContext.navigationAborted"; | ||||
|         EventNames["NavigationFailed"] = "browsingContext.navigationFailed"; | ||||
|         EventNames["NavigationStarted"] = "browsingContext.navigationStarted"; | ||||
|         EventNames["UserPromptClosed"] = "browsingContext.userPromptClosed"; | ||||
|         EventNames["UserPromptOpened"] = "browsingContext.userPromptOpened"; | ||||
|         // keep-sorted end | ||||
|     })(EventNames = BrowsingContext.EventNames || (BrowsingContext.EventNames = {})); | ||||
| })(BrowsingContext || (exports.BrowsingContext = BrowsingContext = {})); | ||||
| var Network; | ||||
| (function (Network) { | ||||
|     let EventNames; | ||||
|     (function (EventNames) { | ||||
|         // keep-sorted start | ||||
|         EventNames["AuthRequired"] = "network.authRequired"; | ||||
|         EventNames["BeforeRequestSent"] = "network.beforeRequestSent"; | ||||
|         EventNames["FetchError"] = "network.fetchError"; | ||||
|         EventNames["ResponseCompleted"] = "network.responseCompleted"; | ||||
|         EventNames["ResponseStarted"] = "network.responseStarted"; | ||||
|         // keep-sorted end | ||||
|     })(EventNames = Network.EventNames || (Network.EventNames = {})); | ||||
| })(Network || (exports.Network = Network = {})); | ||||
| var Bluetooth; | ||||
| (function (Bluetooth) { | ||||
|     let EventNames; | ||||
|     (function (EventNames) { | ||||
|         EventNames["RequestDevicePromptUpdated"] = "bluetooth.requestDevicePromptUpdated"; | ||||
|     })(EventNames = Bluetooth.EventNames || (Bluetooth.EventNames = {})); | ||||
| })(Bluetooth || (exports.Bluetooth = Bluetooth = {})); | ||||
| exports.EVENT_NAMES = new Set([ | ||||
|     // keep-sorted start | ||||
|     ...Object.values(BiDiModule), | ||||
|     ...Object.values(BrowsingContext.EventNames), | ||||
|     ...Object.values(Log.EventNames), | ||||
|     ...Object.values(Network.EventNames), | ||||
|     ...Object.values(Script.EventNames), | ||||
|     // keep-sorted end | ||||
| ]); | ||||
| //# sourceMappingURL=chromium-bidi.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/chromium-bidi.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"chromium-bidi.js","sourceRoot":"","sources":["../../../src/protocol/chromium-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG;;;AAgBH,kBAAkB;AAElB,IAAY,UAaX;AAbD,WAAY,UAAU;IACpB,oBAAoB;IACpB,qCAAuB,CAAA;IACvB,iCAAmB,CAAA;IACnB,iDAAmC,CAAA;IACnC,8BAAgB,CAAA;IAChB,mCAAqB,CAAA;IACrB,6BAAe,CAAA;IACf,yBAAW,CAAA;IACX,iCAAmB,CAAA;IACnB,+BAAiB,CAAA;IACjB,iCAAmB,CAAA;IACnB,kBAAkB;AACpB,CAAC,EAbW,UAAU,0BAAV,UAAU,QAarB;AAED,IAAiB,MAAM,CAQtB;AARD,WAAiB,MAAM;IACrB,IAAY,UAMX;IAND,WAAY,UAAU;QACpB,oBAAoB;QACpB,wCAA0B,CAAA;QAC1B,kDAAoC,CAAA;QACpC,sDAAwC,CAAA;QACxC,kBAAkB;IACpB,CAAC,EANW,UAAU,GAAV,iBAAU,KAAV,iBAAU,QAMrB;AACH,CAAC,EARgB,MAAM,sBAAN,MAAM,QAQtB;AAED,IAAiB,GAAG,CAInB;AAJD,WAAiB,GAAG;IAClB,IAAY,UAEX;IAFD,WAAY,UAAU;QACpB,8CAAgC,CAAA;IAClC,CAAC,EAFW,UAAU,GAAV,cAAU,KAAV,cAAU,QAErB;AACH,CAAC,EAJgB,GAAG,mBAAH,GAAG,QAInB;AAED,IAAiB,eAAe,CAiB/B;AAjBD,WAAiB,eAAe;IAC9B,IAAY,UAeX;IAfD,WAAY,UAAU;QACpB,oBAAoB;Q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nC,kBAAkB;CACnB,CAAC,CAAC"} | ||||
							
								
								
									
										132
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										132
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,132 @@ | ||||
| /** | ||||
|  * Copyright 2024 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| /** | ||||
|  * THIS FILE IS AUTOGENERATED by cddlconv 0.1.5. | ||||
|  * Run `node tools/generate-bidi-types.mjs` to regenerate. | ||||
|  * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs | ||||
|  */ | ||||
| export declare namespace Bluetooth { | ||||
|     type BluetoothServiceUuid = string; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type BluetoothManufacturerData = { | ||||
|         key: number; | ||||
|         data: string; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type RequestDevice = string; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type RequestDeviceInfo = { | ||||
|         id: Bluetooth.RequestDevice; | ||||
|         name: string | null; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type RequestDevicePrompt = string; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type ScanRecord = { | ||||
|         name?: string; | ||||
|         uuids?: [...Bluetooth.BluetoothServiceUuid[]]; | ||||
|         appearance?: number; | ||||
|         manufacturerData?: [...Bluetooth.BluetoothManufacturerData[]]; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type HandleRequestDevicePrompt = { | ||||
|         method: 'bluetooth.handleRequestDevicePrompt'; | ||||
|         params: Bluetooth.HandleRequestDevicePromptParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type HandleRequestDevicePromptParameters = { | ||||
|         context: string; | ||||
|         prompt: Bluetooth.RequestDevicePrompt; | ||||
|     } & (Bluetooth.HandleRequestDevicePromptAcceptParameters | Bluetooth.HandleRequestDevicePromptCancelParameters); | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type HandleRequestDevicePromptAcceptParameters = { | ||||
|         accept: true; | ||||
|         device: Bluetooth.RequestDevice; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type HandleRequestDevicePromptCancelParameters = { | ||||
|         accept: false; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulateAdapter = { | ||||
|         method: 'bluetooth.simulateAdapter'; | ||||
|         params: Bluetooth.SimulateAdapterParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulateAdapterParameters = { | ||||
|         context: string; | ||||
|         state: 'absent' | 'powered-off' | 'powered-on'; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulatePreconnectedPeripheral = { | ||||
|         method: 'bluetooth.simulatePreconnectedPeripheral'; | ||||
|         params: Bluetooth.SimulatePreconnectedPeripheralParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulatePreconnectedPeripheralParameters = { | ||||
|         context: string; | ||||
|         address: string; | ||||
|         name: string; | ||||
|         manufacturerData: [...Bluetooth.BluetoothManufacturerData[]]; | ||||
|         knownServiceUuids: [...Bluetooth.BluetoothServiceUuid[]]; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulateAdvertisement = { | ||||
|         method: 'bluetooth.simulateAdvertisement'; | ||||
|         params: Bluetooth.SimulateAdvertisementParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulateAdvertisementParameters = { | ||||
|         context: string; | ||||
|         scanEntry: Bluetooth.SimulateAdvertisementScanEntryParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type SimulateAdvertisementScanEntryParameters = { | ||||
|         deviceAddress: string; | ||||
|         rssi: number; | ||||
|         scanRecord: Bluetooth.ScanRecord; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type RequestDevicePromptUpdated = { | ||||
|         method: 'bluetooth.requestDevicePromptUpdated'; | ||||
|         params: Bluetooth.RequestDevicePromptUpdatedParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Bluetooth { | ||||
|     type RequestDevicePromptUpdatedParameters = { | ||||
|         context: string; | ||||
|         prompt: Bluetooth.RequestDevicePrompt; | ||||
|         devices: [...Bluetooth.RequestDeviceInfo[]]; | ||||
|     }; | ||||
| } | ||||
							
								
								
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| "use strict"; | ||||
| /** | ||||
|  * Copyright 2024 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| //# sourceMappingURL=webdriver-bidi-bluetooth.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-bluetooth.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"webdriver-bidi-bluetooth.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-bluetooth.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} | ||||
							
								
								
									
										48
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										48
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,48 @@ | ||||
| /** | ||||
|  * Copyright 2024 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| /** | ||||
|  * THIS FILE IS AUTOGENERATED by cddlconv 0.1.5. | ||||
|  * Run `node tools/generate-bidi-types.mjs` to regenerate. | ||||
|  * @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs | ||||
|  */ | ||||
| export type PermissionsCommand = Permissions.SetPermission; | ||||
| export declare namespace Permissions { | ||||
|     type PermissionDescriptor = { | ||||
|         name: string; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Permissions { | ||||
|     const enum PermissionState { | ||||
|         Granted = "granted", | ||||
|         Denied = "denied", | ||||
|         Prompt = "prompt" | ||||
|     } | ||||
| } | ||||
| export declare namespace Permissions { | ||||
|     type SetPermission = { | ||||
|         method: 'permissions.setPermission'; | ||||
|         params: Permissions.SetPermissionParameters; | ||||
|     }; | ||||
| } | ||||
| export declare namespace Permissions { | ||||
|     type SetPermissionParameters = { | ||||
|         descriptor: Permissions.PermissionDescriptor; | ||||
|         state: Permissions.PermissionState; | ||||
|         origin: string; | ||||
|         userContext?: string; | ||||
|     }; | ||||
| } | ||||
							
								
								
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| "use strict"; | ||||
| /** | ||||
|  * Copyright 2024 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| //# sourceMappingURL=webdriver-bidi-permissions.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi-permissions.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} | ||||
							
								
								
									
										2149
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2149
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| "use strict"; | ||||
| /** | ||||
|  * Copyright 2024 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| //# sourceMappingURL=webdriver-bidi.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/generated/webdriver-bidi.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"webdriver-bidi.js","sourceRoot":"","sources":["../../../../src/protocol/generated/webdriver-bidi.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;GAeG"} | ||||
							
								
								
									
										22
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.d.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| export * as Cdp from './cdp.js'; | ||||
| export * as ChromiumBidi from './chromium-bidi.js'; | ||||
| export * from './generated/webdriver-bidi.js'; | ||||
| export * from './ErrorResponse.js'; | ||||
| export * from './generated/webdriver-bidi-permissions.js'; | ||||
| export * from './generated/webdriver-bidi-bluetooth.js'; | ||||
							
								
								
									
										62
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,62 @@ | ||||
| "use strict"; | ||||
| var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||||
|     if (k2 === undefined) k2 = k; | ||||
|     var desc = Object.getOwnPropertyDescriptor(m, k); | ||||
|     if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||||
|       desc = { enumerable: true, get: function() { return m[k]; } }; | ||||
|     } | ||||
|     Object.defineProperty(o, k2, desc); | ||||
| }) : (function(o, m, k, k2) { | ||||
|     if (k2 === undefined) k2 = k; | ||||
|     o[k2] = m[k]; | ||||
| })); | ||||
| var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||||
|     Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||||
| }) : function(o, v) { | ||||
|     o["default"] = v; | ||||
| }); | ||||
| var __importStar = (this && this.__importStar) || (function () { | ||||
|     var ownKeys = function(o) { | ||||
|         ownKeys = Object.getOwnPropertyNames || function (o) { | ||||
|             var ar = []; | ||||
|             for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k; | ||||
|             return ar; | ||||
|         }; | ||||
|         return ownKeys(o); | ||||
|     }; | ||||
|     return function (mod) { | ||||
|         if (mod && mod.__esModule) return mod; | ||||
|         var result = {}; | ||||
|         if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]); | ||||
|         __setModuleDefault(result, mod); | ||||
|         return result; | ||||
|     }; | ||||
| })(); | ||||
| var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||||
|     for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||||
| }; | ||||
| Object.defineProperty(exports, "__esModule", { value: true }); | ||||
| exports.ChromiumBidi = exports.Cdp = void 0; | ||||
| /** | ||||
|  * Copyright 2023 Google LLC. | ||||
|  * Copyright (c) Microsoft Corporation. | ||||
|  * | ||||
|  * Licensed under the Apache License, Version 2.0 (the "License"); | ||||
|  * you may not use this file except in compliance with the License. | ||||
|  * You may obtain a copy of the License at | ||||
|  * | ||||
|  *     http://www.apache.org/licenses/LICENSE-2.0 | ||||
|  * | ||||
|  * Unless required by applicable law or agreed to in writing, software | ||||
|  * distributed under the License is distributed on an "AS IS" BASIS, | ||||
|  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||||
|  * See the License for the specific language governing permissions and | ||||
|  * limitations under the License. | ||||
|  */ | ||||
| exports.Cdp = __importStar(require("./cdp.js")); | ||||
| exports.ChromiumBidi = __importStar(require("./chromium-bidi.js")); | ||||
| __exportStar(require("./generated/webdriver-bidi.js"), exports); | ||||
| __exportStar(require("./ErrorResponse.js"), exports); | ||||
| __exportStar(require("./generated/webdriver-bidi-permissions.js"), exports); | ||||
| __exportStar(require("./generated/webdriver-bidi-bluetooth.js"), exports); | ||||
| //# sourceMappingURL=protocol.js.map | ||||
							
								
								
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								node_modules/chromium-bidi/lib/cjs/protocol/protocol.js.map
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1 @@ | ||||
| {"version":3,"file":"protocol.js","sourceRoot":"","sources":["../../../src/protocol/protocol.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;;;;;;;;;;;GAeG;AACH,gDAAgC;AAChC,mEAAmD;AACnD,gEAA8C;AAC9C,qDAAmC;AACnC,4EAA0D;AAC1D,0EAAwD"} | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik