Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(webkit): roll to r2135 #34779

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/playwright-core/browsers.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
{
"name": "webkit",
"revision": "2134",
"revision": "2135",
"installByDefault": true,
"revisionOverrides": {
"debian11-x64": "2105",
Expand Down
232 changes: 0 additions & 232 deletions packages/playwright-core/src/server/webkit/protocol.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,142 +193,6 @@ export module Protocol {
}
}

export module ApplicationCache {
/**
* Detailed application cache resource information.
*/
export interface ApplicationCacheResource {
/**
* Resource url.
*/
url: string;
/**
* Resource size.
*/
size: number;
/**
* Resource type.
*/
type: string;
}
/**
* Detailed application cache information.
*/
export interface ApplicationCache {
/**
* Manifest URL.
*/
manifestURL: string;
/**
* Application cache size.
*/
size: number;
/**
* Application cache creation time.
*/
creationTime: number;
/**
* Application cache update time.
*/
updateTime: number;
/**
* Application cache resources.
*/
resources: ApplicationCacheResource[];
}
/**
* Frame identifier - manifest URL pair.
*/
export interface FrameWithManifest {
/**
* Frame identifier.
*/
frameId: Network.FrameId;
/**
* Manifest URL.
*/
manifestURL: string;
/**
* Application cache status.
*/
status: number;
}

export type applicationCacheStatusUpdatedPayload = {
/**
* Identifier of the frame containing document whose application cache updated status.
*/
frameId: Network.FrameId;
/**
* Manifest URL.
*/
manifestURL: string;
/**
* Updated application cache status.
*/
status: number;
}
export type networkStateUpdatedPayload = {
isNowOnline: boolean;
}

/**
* Returns array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
*/
export type getFramesWithManifestsParameters = {
}
export type getFramesWithManifestsReturnValue = {
/**
* Array of frame identifiers with manifest urls for each frame containing a document associated with some application cache.
*/
frameIds: FrameWithManifest[];
}
/**
* Enables application cache domain notifications.
*/
export type enableParameters = {
}
export type enableReturnValue = {
}
/**
* Disable application cache domain notifications.
*/
export type disableParameters = {
}
export type disableReturnValue = {
}
/**
* Returns manifest URL for document in the given frame.
*/
export type getManifestForFrameParameters = {
/**
* Identifier of the frame containing document whose manifest is retrieved.
*/
frameId: Network.FrameId;
}
export type getManifestForFrameReturnValue = {
/**
* Manifest URL for document in the given frame.
*/
manifestURL: string;
}
/**
* Returns relevant application cache data for the document in given frame.
*/
export type getApplicationCacheForFrameParameters = {
/**
* Identifier of the frame containing document whose application cache is retrieved.
*/
frameId: Network.FrameId;
}
export type getApplicationCacheForFrameReturnValue = {
/**
* Relevant application cache data for the document in given frame.
*/
applicationCache: ApplicationCache;
}
}

export module Audit {


Expand Down Expand Up @@ -3644,81 +3508,6 @@ might return multiple quads for inline nodes.
}
}

export module Database {
/**
* Unique identifier of Database object.
*/
export type DatabaseId = string;
/**
* Database object.
*/
export interface Database {
/**
* Database ID.
*/
id: DatabaseId;
/**
* Database domain.
*/
domain: string;
/**
* Database name.
*/
name: string;
/**
* Database version.
*/
version: string;
}
/**
* Database error.
*/
export interface Error {
/**
* Error message.
*/
message: string;
/**
* Error code.
*/
code: number;
}

export type addDatabasePayload = {
database: Database;
}

/**
* Enables database tracking, database events will now be delivered to the client.
*/
export type enableParameters = {
}
export type enableReturnValue = {
}
/**
* Disables database tracking, prevents database events from being sent to the client.
*/
export type disableParameters = {
}
export type disableReturnValue = {
}
export type getDatabaseTableNamesParameters = {
databaseId: DatabaseId;
}
export type getDatabaseTableNamesReturnValue = {
tableNames: string[];
}
export type executeSQLParameters = {
databaseId: DatabaseId;
query: string;
}
export type executeSQLReturnValue = {
columnNames?: string[];
values?: any[];
sqlError?: Error;
}
}

/**
* Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.
*/
Expand Down Expand Up @@ -9285,8 +9074,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Animation.trackingStart": Animation.trackingStartPayload;
"Animation.trackingUpdate": Animation.trackingUpdatePayload;
"Animation.trackingComplete": Animation.trackingCompletePayload;
"ApplicationCache.applicationCacheStatusUpdated": ApplicationCache.applicationCacheStatusUpdatedPayload;
"ApplicationCache.networkStateUpdated": ApplicationCache.networkStateUpdatedPayload;
"Browser.extensionsEnabled": Browser.extensionsEnabledPayload;
"Browser.extensionsDisabled": Browser.extensionsDisabledPayload;
"CPUProfiler.trackingStart": CPUProfiler.trackingStartPayload;
Expand Down Expand Up @@ -9336,7 +9123,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOMStorage.domStorageItemRemoved": DOMStorage.domStorageItemRemovedPayload;
"DOMStorage.domStorageItemAdded": DOMStorage.domStorageItemAddedPayload;
"DOMStorage.domStorageItemUpdated": DOMStorage.domStorageItemUpdatedPayload;
"Database.addDatabase": Database.addDatabasePayload;
"Debugger.globalObjectCleared": Debugger.globalObjectClearedPayload;
"Debugger.scriptParsed": Debugger.scriptParsedPayload;
"Debugger.scriptFailedToParse": Debugger.scriptFailedToParsePayload;
Expand Down Expand Up @@ -9418,11 +9204,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Animation.resolveAnimation": Animation.resolveAnimationParameters;
"Animation.startTracking": Animation.startTrackingParameters;
"Animation.stopTracking": Animation.stopTrackingParameters;
"ApplicationCache.getFramesWithManifests": ApplicationCache.getFramesWithManifestsParameters;
"ApplicationCache.enable": ApplicationCache.enableParameters;
"ApplicationCache.disable": ApplicationCache.disableParameters;
"ApplicationCache.getManifestForFrame": ApplicationCache.getManifestForFrameParameters;
"ApplicationCache.getApplicationCacheForFrame": ApplicationCache.getApplicationCacheForFrameParameters;
"Audit.setup": Audit.setupParameters;
"Audit.run": Audit.runParameters;
"Audit.teardown": Audit.teardownParameters;
Expand Down Expand Up @@ -9532,10 +9313,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemParameters;
"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemParameters;
"DOMStorage.clearDOMStorageItems": DOMStorage.clearDOMStorageItemsParameters;
"Database.enable": Database.enableParameters;
"Database.disable": Database.disableParameters;
"Database.getDatabaseTableNames": Database.getDatabaseTableNamesParameters;
"Database.executeSQL": Database.executeSQLParameters;
"Debugger.enable": Debugger.enableParameters;
"Debugger.disable": Debugger.disableParameters;
"Debugger.setAsyncStackTraceDepth": Debugger.setAsyncStackTraceDepthParameters;
Expand Down Expand Up @@ -9731,11 +9508,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"Animation.resolveAnimation": Animation.resolveAnimationReturnValue;
"Animation.startTracking": Animation.startTrackingReturnValue;
"Animation.stopTracking": Animation.stopTrackingReturnValue;
"ApplicationCache.getFramesWithManifests": ApplicationCache.getFramesWithManifestsReturnValue;
"ApplicationCache.enable": ApplicationCache.enableReturnValue;
"ApplicationCache.disable": ApplicationCache.disableReturnValue;
"ApplicationCache.getManifestForFrame": ApplicationCache.getManifestForFrameReturnValue;
"ApplicationCache.getApplicationCacheForFrame": ApplicationCache.getApplicationCacheForFrameReturnValue;
"Audit.setup": Audit.setupReturnValue;
"Audit.run": Audit.runReturnValue;
"Audit.teardown": Audit.teardownReturnValue;
Expand Down Expand Up @@ -9845,10 +9617,6 @@ the top of the viewport and Y increases as it proceeds towards the bottom of the
"DOMStorage.setDOMStorageItem": DOMStorage.setDOMStorageItemReturnValue;
"DOMStorage.removeDOMStorageItem": DOMStorage.removeDOMStorageItemReturnValue;
"DOMStorage.clearDOMStorageItems": DOMStorage.clearDOMStorageItemsReturnValue;
"Database.enable": Database.enableReturnValue;
"Database.disable": Database.disableReturnValue;
"Database.getDatabaseTableNames": Database.getDatabaseTableNamesReturnValue;
"Database.executeSQL": Database.executeSQLReturnValue;
"Debugger.enable": Debugger.enableReturnValue;
"Debugger.disable": Debugger.disableReturnValue;
"Debugger.setAsyncStackTraceDepth": Debugger.setAsyncStackTraceDepthReturnValue;
Expand Down