devtools-protocol 0.0.1339468 → 0.0.1340018

Sign up to get free protection for your applications and to get access to all the features.
@@ -20179,6 +20179,16 @@
20179
20179
  "name": "url",
20180
20180
  "description": "Frame's new url.",
20181
20181
  "type": "string"
20182
+ },
20183
+ {
20184
+ "name": "navigationType",
20185
+ "description": "Navigation type",
20186
+ "type": "string",
20187
+ "enum": [
20188
+ "fragment",
20189
+ "historyApi",
20190
+ "other"
20191
+ ]
20182
20192
  }
20183
20193
  ]
20184
20194
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1339468",
3
+ "version": "0.0.1340018",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -9512,6 +9512,15 @@ domain Page
9512
9512
  FrameId frameId
9513
9513
  # Frame's new url.
9514
9514
  string url
9515
+ # Navigation type
9516
+ enum navigationType
9517
+ # Navigation due to fragment navigation.
9518
+ fragment
9519
+ # Navigation due to history API usage.
9520
+ historyApi
9521
+ # Navigation due to other reasons.
9522
+ other
9523
+
9515
9524
 
9516
9525
  # Compressed image data requested by the `startScreencast`.
9517
9526
  experimental event screencastFrame
@@ -15082,6 +15082,12 @@ export namespace Protocol {
15082
15082
  timestamp: Network.MonotonicTime;
15083
15083
  }
15084
15084
 
15085
+ export const enum NavigatedWithinDocumentEventNavigationType {
15086
+ Fragment = 'fragment',
15087
+ HistoryAPI = 'historyApi',
15088
+ Other = 'other',
15089
+ }
15090
+
15085
15091
  /**
15086
15092
  * Fired when same-document navigation happens, e.g. due to history API usage or anchor navigation.
15087
15093
  */
@@ -15094,6 +15100,10 @@ export namespace Protocol {
15094
15100
  * Frame's new url.
15095
15101
  */
15096
15102
  url: string;
15103
+ /**
15104
+ * Navigation type (NavigatedWithinDocumentEventNavigationType enum)
15105
+ */
15106
+ navigationType: ('fragment' | 'historyApi' | 'other');
15097
15107
  }
15098
15108
 
15099
15109
  /**