feat: 将发布预检移入内置浏览器
This commit is contained in:
@@ -32,6 +32,7 @@ export interface AgentBrowserWebContentsPort {
|
||||
isDestroyed(): boolean;
|
||||
isDevToolsOpened(): boolean;
|
||||
reload(): void;
|
||||
executeJavaScript(code: string): Promise<unknown>;
|
||||
denyWindowOpen(): void;
|
||||
on(event: string, listener: PortListener): void;
|
||||
removeListener(event: string, listener: PortListener): void;
|
||||
@@ -49,4 +50,5 @@ export interface AgentBrowserAdapter {
|
||||
unmount(view: AgentBrowserViewPort): void;
|
||||
destroy(view: AgentBrowserViewPort): void;
|
||||
resetPartition(partition: string): Promise<void>;
|
||||
restrictPartitionToOrigin(partition: string, origin: string): () => void;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user