devtools-protocol 0.0.1347815 → 0.0.1348440

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -19974,6 +19974,18 @@
19974
19974
  }
19975
19975
  ]
19976
19976
  },
19977
+ {
19978
+ "name": "frameSubtreeWillBeDetached",
19979
+ "description": "Fired before frame subtree is detached. Emitted before any frame of the\nsubtree is actually detached.",
19980
+ "experimental": true,
19981
+ "parameters": [
19982
+ {
19983
+ "name": "frameId",
19984
+ "description": "Id of the frame that is the root of the subtree that will be detached.",
19985
+ "$ref": "FrameId"
19986
+ }
19987
+ ]
19988
+ },
19977
19989
  {
19978
19990
  "name": "frameNavigated",
19979
19991
  "description": "Fired once navigation of the frame has completed. Frame is now associated with the new loader.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1347815",
3
+ "version": "0.0.1348440",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9220,6 +9220,13 @@ domain Page
9220
9220
  # A new frame target will be created (see Target.attachedToTarget).
9221
9221
  swap
9222
9222
 
9223
+ # Fired before frame subtree is detached. Emitted before any frame of the
9224
+ # subtree is actually detached.
9225
+ experimental event frameSubtreeWillBeDetached
9226
+ parameters
9227
+ # Id of the frame that is the root of the subtree that will be detached.
9228
+ FrameId frameId
9229
+
9223
9230
  # The type of a frameNavigated event.
9224
9231
  experimental type NavigationType extends string
9225
9232
  enum
@@ -435,6 +435,11 @@ export namespace ProtocolMapping {
435
435
  * Fired when frame has been detached from its parent.
436
436
  */
437
437
  'Page.frameDetached': [Protocol.Page.FrameDetachedEvent];
438
+ /**
439
+ * Fired before frame subtree is detached. Emitted before any frame of the
440
+ * subtree is actually detached.
441
+ */
442
+ 'Page.frameSubtreeWillBeDetached': [Protocol.Page.FrameSubtreeWillBeDetachedEvent];
438
443
  /**
439
444
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
440
445
  */
@@ -3215,6 +3215,12 @@ export namespace ProtocolProxyApi {
3215
3215
  */
3216
3216
  on(event: 'frameDetached', listener: (params: Protocol.Page.FrameDetachedEvent) => void): void;
3217
3217
 
3218
+ /**
3219
+ * Fired before frame subtree is detached. Emitted before any frame of the
3220
+ * subtree is actually detached.
3221
+ */
3222
+ on(event: 'frameSubtreeWillBeDetached', listener: (params: Protocol.Page.FrameSubtreeWillBeDetachedEvent) => void): void;
3223
+
3218
3224
  /**
3219
3225
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
3220
3226
  */
@@ -3435,6 +3435,14 @@ export namespace ProtocolTestsProxyApi {
3435
3435
  offFrameDetached(listener: (event: { params: Protocol.Page.FrameDetachedEvent }) => void): void;
3436
3436
  onceFrameDetached(eventMatcher?: (event: { params: Protocol.Page.FrameDetachedEvent }) => boolean): Promise<{ params: Protocol.Page.FrameDetachedEvent }>;
3437
3437
 
3438
+ /**
3439
+ * Fired before frame subtree is detached. Emitted before any frame of the
3440
+ * subtree is actually detached.
3441
+ */
3442
+ onFrameSubtreeWillBeDetached(listener: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => void): void;
3443
+ offFrameSubtreeWillBeDetached(listener: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => void): void;
3444
+ onceFrameSubtreeWillBeDetached(eventMatcher?: (event: { params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }) => boolean): Promise<{ params: Protocol.Page.FrameSubtreeWillBeDetachedEvent }>;
3445
+
3438
3446
  /**
3439
3447
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
3440
3448
  */
@@ -14917,6 +14917,17 @@ export namespace Protocol {
14917
14917
  reason: ('remove' | 'swap');
14918
14918
  }
14919
14919
 
14920
+ /**
14921
+ * Fired before frame subtree is detached. Emitted before any frame of the
14922
+ * subtree is actually detached.
14923
+ */
14924
+ export interface FrameSubtreeWillBeDetachedEvent {
14925
+ /**
14926
+ * Id of the frame that is the root of the subtree that will be detached.
14927
+ */
14928
+ frameId: FrameId;
14929
+ }
14930
+
14920
14931
  /**
14921
14932
  * Fired once navigation of the frame has completed. Frame is now associated with the new loader.
14922
14933
  */