@triniwiz/nativescript-masonkit 1.0.0-alpha.9 → 1.0.0-beta.0

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.
Files changed (397) hide show
  1. package/button/index.android.d.ts +13 -0
  2. package/button/index.android.js +56 -0
  3. package/button/index.android.js.map +1 -0
  4. package/button/index.ios.d.ts +21 -0
  5. package/button/index.ios.js +216 -0
  6. package/button/index.ios.js.map +1 -0
  7. package/common.d.ts +78 -33
  8. package/common.js +1121 -251
  9. package/common.js.map +1 -1
  10. package/img/index.android.d.ts +10 -0
  11. package/img/index.android.js +40 -0
  12. package/img/index.android.js.map +1 -0
  13. package/img/index.ios.d.ts +13 -0
  14. package/img/index.ios.js +102 -0
  15. package/img/index.ios.js.map +1 -0
  16. package/index.android.d.ts +6 -34
  17. package/index.android.js +6 -139
  18. package/index.android.js.map +1 -1
  19. package/index.d.ts +88 -60
  20. package/index.ios.d.ts +6 -48
  21. package/index.ios.js +6 -355
  22. package/index.ios.js.map +1 -1
  23. package/package.json +5 -2
  24. package/platforms/android/include.gradle +5 -1
  25. package/platforms/android/masonkit-release.aar +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +794 -284
  27. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +0 -5
  28. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +118 -93
  30. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  32. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +58079 -23135
  34. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1234 -255
  35. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +1234 -255
  37. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  38. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4252 -1932
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +1588 -568
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +0 -5
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +118 -93
  43. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  44. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  45. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  46. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  47. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +58076 -23132
  48. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1211 -232
  49. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  50. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1211 -232
  51. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +58076 -23132
  52. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1211 -232
  53. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  54. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1211 -232
  55. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +31 -31
  56. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  57. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4246 -1932
  58. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +4124 -1883
  59. package/scroll/index.android.d.ts +12 -0
  60. package/scroll/index.android.js +50 -0
  61. package/scroll/index.android.js.map +1 -0
  62. package/scroll/index.ios.d.ts +14 -0
  63. package/scroll/index.ios.js +120 -0
  64. package/scroll/index.ios.js.map +1 -0
  65. package/style.d.ts +110 -53
  66. package/style.js +1176 -110
  67. package/style.js.map +1 -1
  68. package/text/index.android.d.ts +30 -0
  69. package/text/index.android.js +124 -0
  70. package/text/index.android.js.map +1 -0
  71. package/text/index.ios.d.ts +38 -0
  72. package/text/index.ios.js +251 -0
  73. package/text/index.ios.js.map +1 -0
  74. package/tree/index.android.d.ts +28 -0
  75. package/tree/index.android.js +77 -0
  76. package/tree/index.android.js.map +1 -0
  77. package/tree/index.ios.d.ts +29 -0
  78. package/tree/index.ios.js +76 -0
  79. package/tree/index.ios.js.map +1 -0
  80. package/utils/index.android.d.ts +187 -0
  81. package/utils/index.android.js +514 -0
  82. package/utils/index.android.js.map +1 -0
  83. package/utils/index.ios.d.ts +198 -0
  84. package/utils/index.ios.js +710 -0
  85. package/utils/index.ios.js.map +1 -0
  86. package/view/index.android.d.ts +12 -0
  87. package/view/index.android.js +50 -0
  88. package/view/index.android.js.map +1 -0
  89. package/view/index.ios.d.ts +16 -0
  90. package/view/index.ios.js +124 -0
  91. package/view/index.ios.js.map +1 -0
  92. package/web.d.ts +55 -0
  93. package/web.js +189 -0
  94. package/web.js.map +1 -0
  95. package/helpers.d.ts +0 -255
  96. package/helpers.js +0 -1318
  97. package/helpers.js.map +0 -1
  98. package/node.d.ts +0 -2
  99. package/node.js +0 -3
  100. package/node.js.map +0 -1
  101. package/platforms/ios/Podfile +0 -1
  102. package/platforms/ios/build.xcconfig +0 -5
  103. package/platforms/ios/prebuild.sh +0 -101
  104. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  105. package/platforms/new_native_src/cpp/Caches.h +0 -42
  106. package/platforms/new_native_src/cpp/Common.h +0 -34
  107. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  108. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  109. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  110. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  111. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  112. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  113. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  114. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  115. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  116. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  117. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  118. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  119. package/src-native/pods/Headers/include/DEPS +0 -10
  120. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  121. package/src-native/pods/Headers/include/OWNERS +0 -23
  122. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  123. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  124. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  125. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  126. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  127. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  128. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  129. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  130. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  131. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  132. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  133. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  134. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  135. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  136. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  137. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  138. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  139. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  140. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  141. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  142. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  143. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  144. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  145. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  146. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  147. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  148. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  149. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  150. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  151. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  152. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  153. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  154. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  155. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  156. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  157. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  158. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  159. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  160. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  161. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  162. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  163. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  164. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  165. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  166. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  167. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  168. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  169. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  170. package/src-native/pods/Headers/include/libffi.h +0 -12
  171. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  172. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  173. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  174. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  175. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  176. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  177. package/src-native/pods/Headers/include/v8-container.h +0 -129
  178. package/src-native/pods/Headers/include/v8-context.h +0 -407
  179. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  180. package/src-native/pods/Headers/include/v8-data.h +0 -80
  181. package/src-native/pods/Headers/include/v8-date.h +0 -43
  182. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  183. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  184. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  185. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  186. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  187. package/src-native/pods/Headers/include/v8-external.h +0 -37
  188. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  189. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  190. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  191. package/src-native/pods/Headers/include/v8-function.h +0 -125
  192. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  193. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  194. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  195. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  196. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  197. package/src-native/pods/Headers/include/v8-json.h +0 -47
  198. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  199. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  200. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  201. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  202. package/src-native/pods/Headers/include/v8-message.h +0 -216
  203. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  204. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  205. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  206. package/src-native/pods/Headers/include/v8-object.h +0 -775
  207. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  208. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  209. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  210. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  211. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  212. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  213. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  214. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  215. package/src-native/pods/Headers/include/v8-script.h +0 -748
  216. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  217. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  218. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  219. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  220. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  221. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  222. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  223. package/src-native/pods/Headers/include/v8-util.h +0 -658
  224. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  225. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  226. package/src-native/pods/Headers/include/v8-value.h +0 -526
  227. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  228. package/src-native/pods/Headers/include/v8-version.h +0 -20
  229. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  230. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  231. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  232. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  233. package/src-native/pods/Headers/include/v8.h +0 -88
  234. package/src-native/pods/Headers/include/v8config.h +0 -605
  235. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  236. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  237. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  238. package/src-native/pods/Headers/inspector/base64.h +0 -9
  239. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  240. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  241. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  242. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  243. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  244. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  245. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  246. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  247. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  248. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  249. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  250. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  251. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  252. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  253. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  254. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  255. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  256. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  257. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  258. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  259. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  260. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  261. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  262. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  263. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  264. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  265. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  266. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  267. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  268. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  269. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  270. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  271. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  272. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  273. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  274. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  275. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  276. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  277. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  278. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  279. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  280. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  281. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  282. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  283. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  284. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  285. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  286. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  287. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  288. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  289. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  290. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  291. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  292. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  293. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  294. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  295. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  296. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  297. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  298. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  299. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  300. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  301. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  302. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  303. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  304. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  305. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  306. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  307. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  308. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  309. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  310. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  311. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  312. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  313. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  314. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  315. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  316. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  317. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  318. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  319. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  320. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  321. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  322. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  323. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  324. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  325. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  326. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  327. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  328. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  329. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  330. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  331. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  332. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  333. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  334. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  335. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  336. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  337. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  338. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  339. package/src-native/pods/Headers/inspector/utils.h +0 -32
  340. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  341. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  342. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  343. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  344. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  345. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  346. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  347. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  348. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  349. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  350. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  351. package/src-native/pods/Headers/runtime/Common.h +0 -9
  352. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  353. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  354. package/src-native/pods/Headers/runtime/Console.h +0 -27
  355. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  356. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  357. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  358. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  359. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  360. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  361. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  362. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  363. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  364. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  365. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  366. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  367. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  368. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  369. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  370. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  371. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  372. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  373. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  374. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  375. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  376. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  377. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  378. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  379. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  380. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  381. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  382. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  383. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  384. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  385. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  386. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  387. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  388. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  389. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  390. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  391. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  392. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  393. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  394. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  395. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  396. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  397. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,1709 +0,0 @@
1
- # Copyright 2017 The Chromium Authors. All rights reserved.
2
- # Use of this source code is governed by a BSD-style license that can be
3
- # found in the LICENSE file.
4
-
5
- version
6
- major 1
7
- minor 3
8
-
9
- # This domain is deprecated - use Runtime or Log instead.
10
- deprecated domain Console
11
- depends on Runtime
12
-
13
- # Console message.
14
- type ConsoleMessage extends object
15
- properties
16
- # Message source.
17
- enum source
18
- xml
19
- javascript
20
- network
21
- console-api
22
- storage
23
- appcache
24
- rendering
25
- security
26
- other
27
- deprecation
28
- worker
29
- # Message severity.
30
- enum level
31
- log
32
- warning
33
- error
34
- debug
35
- info
36
- # Message text.
37
- string text
38
- # URL of the message origin.
39
- optional string url
40
- # Line number in the resource that generated this message (1-based).
41
- optional integer line
42
- # Column number in the resource that generated this message (1-based).
43
- optional integer column
44
-
45
- # Does nothing.
46
- command clearMessages
47
-
48
- # Disables console domain, prevents further console messages from being reported to the client.
49
- command disable
50
-
51
- # Enables console domain, sends the messages collected so far to the client by means of the
52
- # `messageAdded` notification.
53
- command enable
54
-
55
- # Issued when new console message is added.
56
- event messageAdded
57
- parameters
58
- # Console message that has been added.
59
- ConsoleMessage message
60
-
61
- # Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing
62
- # breakpoints, stepping through execution, exploring stack traces, etc.
63
- domain Debugger
64
- depends on Runtime
65
-
66
- # Breakpoint identifier.
67
- type BreakpointId extends string
68
-
69
- # Call frame identifier.
70
- type CallFrameId extends string
71
-
72
- # Location in the source code.
73
- type Location extends object
74
- properties
75
- # Script identifier as reported in the `Debugger.scriptParsed`.
76
- Runtime.ScriptId scriptId
77
- # Line number in the script (0-based).
78
- integer lineNumber
79
- # Column number in the script (0-based).
80
- optional integer columnNumber
81
-
82
- # Location in the source code.
83
- experimental type ScriptPosition extends object
84
- properties
85
- integer lineNumber
86
- integer columnNumber
87
-
88
- # Location range within one script.
89
- experimental type LocationRange extends object
90
- properties
91
- Runtime.ScriptId scriptId
92
- ScriptPosition start
93
- ScriptPosition end
94
-
95
- # JavaScript call frame. Array of call frames form the call stack.
96
- type CallFrame extends object
97
- properties
98
- # Call frame identifier. This identifier is only valid while the virtual machine is paused.
99
- CallFrameId callFrameId
100
- # Name of the JavaScript function called on this call frame.
101
- string functionName
102
- # Location in the source code.
103
- optional Location functionLocation
104
- # Location in the source code.
105
- Location location
106
- # JavaScript script name or url.
107
- # Deprecated in favor of using the `location.scriptId` to resolve the URL via a previously
108
- # sent `Debugger.scriptParsed` event.
109
- deprecated string url
110
- # Scope chain for this call frame.
111
- array of Scope scopeChain
112
- # `this` object for this call frame.
113
- Runtime.RemoteObject this
114
- # The value being returned, if the function is at return point.
115
- optional Runtime.RemoteObject returnValue
116
- # Valid only while the VM is paused and indicates whether this frame
117
- # can be restarted or not. Note that a `true` value here does not
118
- # guarantee that Debugger#restartFrame with this CallFrameId will be
119
- # successful, but it is very likely.
120
- experimental optional boolean canBeRestarted
121
-
122
- # Scope description.
123
- type Scope extends object
124
- properties
125
- # Scope type.
126
- enum type
127
- global
128
- local
129
- with
130
- closure
131
- catch
132
- block
133
- script
134
- eval
135
- module
136
- wasm-expression-stack
137
- # Object representing the scope. For `global` and `with` scopes it represents the actual
138
- # object; for the rest of the scopes, it is artificial transient object enumerating scope
139
- # variables as its properties.
140
- Runtime.RemoteObject object
141
- optional string name
142
- # Location in the source code where scope starts
143
- optional Location startLocation
144
- # Location in the source code where scope ends
145
- optional Location endLocation
146
-
147
- # Search match for resource.
148
- type SearchMatch extends object
149
- properties
150
- # Line number in resource content.
151
- number lineNumber
152
- # Line with match content.
153
- string lineContent
154
-
155
- type BreakLocation extends object
156
- properties
157
- # Script identifier as reported in the `Debugger.scriptParsed`.
158
- Runtime.ScriptId scriptId
159
- # Line number in the script (0-based).
160
- integer lineNumber
161
- # Column number in the script (0-based).
162
- optional integer columnNumber
163
- optional enum type
164
- debuggerStatement
165
- call
166
- return
167
-
168
- # Continues execution until specific location is reached.
169
- command continueToLocation
170
- parameters
171
- # Location to continue to.
172
- Location location
173
- optional enum targetCallFrames
174
- any
175
- current
176
-
177
- # Disables debugger for given page.
178
- command disable
179
-
180
- # Enables debugger for the given page. Clients should not assume that the debugging has been
181
- # enabled until the result for this command is received.
182
- command enable
183
- parameters
184
- # The maximum size in bytes of collected scripts (not referenced by other heap objects)
185
- # the debugger can hold. Puts no limit if parameter is omitted.
186
- experimental optional number maxScriptsCacheSize
187
- returns
188
- # Unique identifier of the debugger.
189
- experimental Runtime.UniqueDebuggerId debuggerId
190
-
191
- # Evaluates expression on a given call frame.
192
- command evaluateOnCallFrame
193
- parameters
194
- # Call frame identifier to evaluate on.
195
- CallFrameId callFrameId
196
- # Expression to evaluate.
197
- string expression
198
- # String object group name to put result into (allows rapid releasing resulting object handles
199
- # using `releaseObjectGroup`).
200
- optional string objectGroup
201
- # Specifies whether command line API should be available to the evaluated expression, defaults
202
- # to false.
203
- optional boolean includeCommandLineAPI
204
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
205
- # execution. Overrides `setPauseOnException` state.
206
- optional boolean silent
207
- # Whether the result is expected to be a JSON object that should be sent by value.
208
- optional boolean returnByValue
209
- # Whether preview should be generated for the result.
210
- experimental optional boolean generatePreview
211
- # Whether to throw an exception if side effect cannot be ruled out during evaluation.
212
- optional boolean throwOnSideEffect
213
- # Terminate execution after timing out (number of milliseconds).
214
- experimental optional Runtime.TimeDelta timeout
215
- returns
216
- # Object wrapper for the evaluation result.
217
- Runtime.RemoteObject result
218
- # Exception details.
219
- optional Runtime.ExceptionDetails exceptionDetails
220
-
221
- # Returns possible locations for breakpoint. scriptId in start and end range locations should be
222
- # the same.
223
- command getPossibleBreakpoints
224
- parameters
225
- # Start of range to search possible breakpoint locations in.
226
- Location start
227
- # End of range to search possible breakpoint locations in (excluding). When not specified, end
228
- # of scripts is used as end of range.
229
- optional Location end
230
- # Only consider locations which are in the same (non-nested) function as start.
231
- optional boolean restrictToFunction
232
- returns
233
- # List of the possible breakpoint locations.
234
- array of BreakLocation locations
235
-
236
- # Returns source for the script with given id.
237
- command getScriptSource
238
- parameters
239
- # Id of the script to get source for.
240
- Runtime.ScriptId scriptId
241
- returns
242
- # Script source (empty in case of Wasm bytecode).
243
- string scriptSource
244
- # Wasm bytecode.
245
- optional binary bytecode
246
-
247
- # This command is deprecated. Use getScriptSource instead.
248
- deprecated command getWasmBytecode
249
- parameters
250
- # Id of the Wasm script to get source for.
251
- Runtime.ScriptId scriptId
252
- returns
253
- # Script source.
254
- binary bytecode
255
-
256
- # Returns stack trace with given `stackTraceId`.
257
- experimental command getStackTrace
258
- parameters
259
- Runtime.StackTraceId stackTraceId
260
- returns
261
- Runtime.StackTrace stackTrace
262
-
263
- # Stops on the next JavaScript statement.
264
- command pause
265
-
266
- experimental deprecated command pauseOnAsyncCall
267
- parameters
268
- # Debugger will pause when async call with given stack trace is started.
269
- Runtime.StackTraceId parentStackTraceId
270
-
271
- # Removes JavaScript breakpoint.
272
- command removeBreakpoint
273
- parameters
274
- BreakpointId breakpointId
275
-
276
- # Restarts particular call frame from the beginning.
277
- deprecated command restartFrame
278
- parameters
279
- # Call frame identifier to evaluate on.
280
- CallFrameId callFrameId
281
- returns
282
- # New stack trace.
283
- array of CallFrame callFrames
284
- # Async stack trace, if any.
285
- optional Runtime.StackTrace asyncStackTrace
286
- # Async stack trace, if any.
287
- experimental optional Runtime.StackTraceId asyncStackTraceId
288
-
289
- # Resumes JavaScript execution.
290
- command resume
291
- parameters
292
- # Set to true to terminate execution upon resuming execution. In contrast
293
- # to Runtime.terminateExecution, this will allows to execute further
294
- # JavaScript (i.e. via evaluation) until execution of the paused code
295
- # is actually resumed, at which point termination is triggered.
296
- # If execution is currently not paused, this parameter has no effect.
297
- optional boolean terminateOnResume
298
-
299
- # Searches for given string in script content.
300
- command searchInContent
301
- parameters
302
- # Id of the script to search in.
303
- Runtime.ScriptId scriptId
304
- # String to search for.
305
- string query
306
- # If true, search is case sensitive.
307
- optional boolean caseSensitive
308
- # If true, treats string parameter as regex.
309
- optional boolean isRegex
310
- returns
311
- # List of search matches.
312
- array of SearchMatch result
313
-
314
- # Enables or disables async call stacks tracking.
315
- command setAsyncCallStackDepth
316
- parameters
317
- # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
318
- # call stacks (default).
319
- integer maxDepth
320
-
321
- # Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in
322
- # scripts with url matching one of the patterns. VM will try to leave blackboxed script by
323
- # performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
324
- experimental command setBlackboxPatterns
325
- parameters
326
- # Array of regexps that will be used to check script url for blackbox state.
327
- array of string patterns
328
-
329
- # Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted
330
- # scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful.
331
- # Positions array contains positions where blackbox state is changed. First interval isn't
332
- # blackboxed. Array should be sorted.
333
- experimental command setBlackboxedRanges
334
- parameters
335
- # Id of the script.
336
- Runtime.ScriptId scriptId
337
- array of ScriptPosition positions
338
-
339
- # Sets JavaScript breakpoint at a given location.
340
- command setBreakpoint
341
- parameters
342
- # Location to set breakpoint in.
343
- Location location
344
- # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
345
- # breakpoint if this expression evaluates to true.
346
- optional string condition
347
- returns
348
- # Id of the created breakpoint for further reference.
349
- BreakpointId breakpointId
350
- # Location this breakpoint resolved into.
351
- Location actualLocation
352
-
353
- # Sets instrumentation breakpoint.
354
- command setInstrumentationBreakpoint
355
- parameters
356
- # Instrumentation name.
357
- enum instrumentation
358
- beforeScriptExecution
359
- beforeScriptWithSourceMapExecution
360
- returns
361
- # Id of the created breakpoint for further reference.
362
- BreakpointId breakpointId
363
-
364
- # Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this
365
- # command is issued, all existing parsed scripts will have breakpoints resolved and returned in
366
- # `locations` property. Further matching script parsing will result in subsequent
367
- # `breakpointResolved` events issued. This logical breakpoint will survive page reloads.
368
- command setBreakpointByUrl
369
- parameters
370
- # Line number to set breakpoint at.
371
- integer lineNumber
372
- # URL of the resources to set breakpoint on.
373
- optional string url
374
- # Regex pattern for the URLs of the resources to set breakpoints on. Either `url` or
375
- # `urlRegex` must be specified.
376
- optional string urlRegex
377
- # Script hash of the resources to set breakpoint on.
378
- optional string scriptHash
379
- # Offset in the line to set breakpoint at.
380
- optional integer columnNumber
381
- # Expression to use as a breakpoint condition. When specified, debugger will only stop on the
382
- # breakpoint if this expression evaluates to true.
383
- optional string condition
384
- returns
385
- # Id of the created breakpoint for further reference.
386
- BreakpointId breakpointId
387
- # List of the locations this breakpoint resolved into upon addition.
388
- array of Location locations
389
-
390
- # Sets JavaScript breakpoint before each call to the given function.
391
- # If another function was created from the same source as a given one,
392
- # calling it will also trigger the breakpoint.
393
- experimental command setBreakpointOnFunctionCall
394
- parameters
395
- # Function object id.
396
- Runtime.RemoteObjectId objectId
397
- # Expression to use as a breakpoint condition. When specified, debugger will
398
- # stop on the breakpoint if this expression evaluates to true.
399
- optional string condition
400
- returns
401
- # Id of the created breakpoint for further reference.
402
- BreakpointId breakpointId
403
-
404
- # Activates / deactivates all breakpoints on the page.
405
- command setBreakpointsActive
406
- parameters
407
- # New value for breakpoints active state.
408
- boolean active
409
-
410
- # Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or
411
- # no exceptions. Initial pause on exceptions state is `none`.
412
- command setPauseOnExceptions
413
- parameters
414
- # Pause on exceptions mode.
415
- enum state
416
- none
417
- uncaught
418
- all
419
-
420
- # Changes return value in top frame. Available only at return break position.
421
- experimental command setReturnValue
422
- parameters
423
- # New return value.
424
- Runtime.CallArgument newValue
425
-
426
- # Edits JavaScript source live.
427
- command setScriptSource
428
- parameters
429
- # Id of the script to edit.
430
- Runtime.ScriptId scriptId
431
- # New content of the script.
432
- string scriptSource
433
- # If true the change will not actually be applied. Dry run may be used to get result
434
- # description without actually modifying the code.
435
- optional boolean dryRun
436
- returns
437
- # New stack trace in case editing has happened while VM was stopped.
438
- optional array of CallFrame callFrames
439
- # Whether current call stack was modified after applying the changes.
440
- optional boolean stackChanged
441
- # Async stack trace, if any.
442
- optional Runtime.StackTrace asyncStackTrace
443
- # Async stack trace, if any.
444
- experimental optional Runtime.StackTraceId asyncStackTraceId
445
- # Exception details if any.
446
- optional Runtime.ExceptionDetails exceptionDetails
447
-
448
- # Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc).
449
- command setSkipAllPauses
450
- parameters
451
- # New value for skip pauses state.
452
- boolean skip
453
-
454
- # Changes value of variable in a callframe. Object-based scopes are not supported and must be
455
- # mutated manually.
456
- command setVariableValue
457
- parameters
458
- # 0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch'
459
- # scope types are allowed. Other scopes could be manipulated manually.
460
- integer scopeNumber
461
- # Variable name.
462
- string variableName
463
- # New variable value.
464
- Runtime.CallArgument newValue
465
- # Id of callframe that holds variable.
466
- CallFrameId callFrameId
467
-
468
- # Steps into the function call.
469
- command stepInto
470
- parameters
471
- # Debugger will pause on the execution of the first async task which was scheduled
472
- # before next pause.
473
- experimental optional boolean breakOnAsyncCall
474
- # The skipList specifies location ranges that should be skipped on step into.
475
- experimental optional array of LocationRange skipList
476
-
477
- # Steps out of the function call.
478
- command stepOut
479
-
480
- # Steps over the statement.
481
- command stepOver
482
- parameters
483
- # The skipList specifies location ranges that should be skipped on step over.
484
- experimental optional array of LocationRange skipList
485
-
486
- # Fired when breakpoint is resolved to an actual script and location.
487
- event breakpointResolved
488
- parameters
489
- # Breakpoint unique identifier.
490
- BreakpointId breakpointId
491
- # Actual breakpoint location.
492
- Location location
493
-
494
- # Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria.
495
- event paused
496
- parameters
497
- # Call stack the virtual machine stopped on.
498
- array of CallFrame callFrames
499
- # Pause reason.
500
- enum reason
501
- ambiguous
502
- assert
503
- CSPViolation
504
- debugCommand
505
- DOM
506
- EventListener
507
- exception
508
- instrumentation
509
- OOM
510
- other
511
- promiseRejection
512
- XHR
513
- # Object containing break-specific auxiliary properties.
514
- optional object data
515
- # Hit breakpoints IDs
516
- optional array of string hitBreakpoints
517
- # Async stack trace, if any.
518
- optional Runtime.StackTrace asyncStackTrace
519
- # Async stack trace, if any.
520
- experimental optional Runtime.StackTraceId asyncStackTraceId
521
- # Never present, will be removed.
522
- experimental deprecated optional Runtime.StackTraceId asyncCallStackTraceId
523
-
524
- # Fired when the virtual machine resumed execution.
525
- event resumed
526
-
527
- # Enum of possible script languages.
528
- type ScriptLanguage extends string
529
- enum
530
- JavaScript
531
- WebAssembly
532
-
533
- # Debug symbols available for a wasm script.
534
- type DebugSymbols extends object
535
- properties
536
- # Type of the debug symbols.
537
- enum type
538
- None
539
- SourceMap
540
- EmbeddedDWARF
541
- ExternalDWARF
542
- # URL of the external symbol source.
543
- optional string externalURL
544
-
545
- # Fired when virtual machine fails to parse the script.
546
- event scriptFailedToParse
547
- parameters
548
- # Identifier of the script parsed.
549
- Runtime.ScriptId scriptId
550
- # URL or name of the script parsed (if any).
551
- string url
552
- # Line offset of the script within the resource with given URL (for script tags).
553
- integer startLine
554
- # Column offset of the script within the resource with given URL.
555
- integer startColumn
556
- # Last line of the script.
557
- integer endLine
558
- # Length of the last line of the script.
559
- integer endColumn
560
- # Specifies script creation context.
561
- Runtime.ExecutionContextId executionContextId
562
- # Content hash of the script.
563
- string hash
564
- # Embedder-specific auxiliary data.
565
- optional object executionContextAuxData
566
- # URL of source map associated with script (if any).
567
- optional string sourceMapURL
568
- # True, if this script has sourceURL.
569
- optional boolean hasSourceURL
570
- # True, if this script is ES6 module.
571
- optional boolean isModule
572
- # This script length.
573
- optional integer length
574
- # JavaScript top stack frame of where the script parsed event was triggered if available.
575
- experimental optional Runtime.StackTrace stackTrace
576
- # If the scriptLanguage is WebAssembly, the code section offset in the module.
577
- experimental optional integer codeOffset
578
- # The language of the script.
579
- experimental optional Debugger.ScriptLanguage scriptLanguage
580
- # The name the embedder supplied for this script.
581
- experimental optional string embedderName
582
-
583
- # Fired when virtual machine parses script. This event is also fired for all known and uncollected
584
- # scripts upon enabling debugger.
585
- event scriptParsed
586
- parameters
587
- # Identifier of the script parsed.
588
- Runtime.ScriptId scriptId
589
- # URL or name of the script parsed (if any).
590
- string url
591
- # Line offset of the script within the resource with given URL (for script tags).
592
- integer startLine
593
- # Column offset of the script within the resource with given URL.
594
- integer startColumn
595
- # Last line of the script.
596
- integer endLine
597
- # Length of the last line of the script.
598
- integer endColumn
599
- # Specifies script creation context.
600
- Runtime.ExecutionContextId executionContextId
601
- # Content hash of the script.
602
- string hash
603
- # Embedder-specific auxiliary data.
604
- optional object executionContextAuxData
605
- # True, if this script is generated as a result of the live edit operation.
606
- experimental optional boolean isLiveEdit
607
- # URL of source map associated with script (if any).
608
- optional string sourceMapURL
609
- # True, if this script has sourceURL.
610
- optional boolean hasSourceURL
611
- # True, if this script is ES6 module.
612
- optional boolean isModule
613
- # This script length.
614
- optional integer length
615
- # JavaScript top stack frame of where the script parsed event was triggered if available.
616
- experimental optional Runtime.StackTrace stackTrace
617
- # If the scriptLanguage is WebAssembly, the code section offset in the module.
618
- experimental optional integer codeOffset
619
- # The language of the script.
620
- experimental optional Debugger.ScriptLanguage scriptLanguage
621
- # If the scriptLanguage is WebASsembly, the source of debug symbols for the module.
622
- experimental optional Debugger.DebugSymbols debugSymbols
623
- # The name the embedder supplied for this script.
624
- experimental optional string embedderName
625
-
626
- experimental domain HeapProfiler
627
- depends on Runtime
628
-
629
- # Heap snapshot object id.
630
- type HeapSnapshotObjectId extends string
631
-
632
- # Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
633
- type SamplingHeapProfileNode extends object
634
- properties
635
- # Function location.
636
- Runtime.CallFrame callFrame
637
- # Allocations size in bytes for the node excluding children.
638
- number selfSize
639
- # Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
640
- integer id
641
- # Child nodes.
642
- array of SamplingHeapProfileNode children
643
-
644
- # A single sample from a sampling profile.
645
- type SamplingHeapProfileSample extends object
646
- properties
647
- # Allocation size in bytes attributed to the sample.
648
- number size
649
- # Id of the corresponding profile tree node.
650
- integer nodeId
651
- # Time-ordered sample ordinal number. It is unique across all profiles retrieved
652
- # between startSampling and stopSampling.
653
- number ordinal
654
-
655
- # Sampling profile.
656
- type SamplingHeapProfile extends object
657
- properties
658
- SamplingHeapProfileNode head
659
- array of SamplingHeapProfileSample samples
660
-
661
- # Enables console to refer to the node with given id via $x (see Command Line API for more details
662
- # $x functions).
663
- command addInspectedHeapObject
664
- parameters
665
- # Heap snapshot object id to be accessible by means of $x command line API.
666
- HeapSnapshotObjectId heapObjectId
667
-
668
- command collectGarbage
669
-
670
- command disable
671
-
672
- command enable
673
-
674
- command getHeapObjectId
675
- parameters
676
- # Identifier of the object to get heap object id for.
677
- Runtime.RemoteObjectId objectId
678
- returns
679
- # Id of the heap snapshot object corresponding to the passed remote object id.
680
- HeapSnapshotObjectId heapSnapshotObjectId
681
-
682
- command getObjectByHeapObjectId
683
- parameters
684
- HeapSnapshotObjectId objectId
685
- # Symbolic group name that can be used to release multiple objects.
686
- optional string objectGroup
687
- returns
688
- # Evaluation result.
689
- Runtime.RemoteObject result
690
-
691
- command getSamplingProfile
692
- returns
693
- # Return the sampling profile being collected.
694
- SamplingHeapProfile profile
695
-
696
- command startSampling
697
- parameters
698
- # Average sample interval in bytes. Poisson distribution is used for the intervals. The
699
- # default value is 32768 bytes.
700
- optional number samplingInterval
701
-
702
- command startTrackingHeapObjects
703
- parameters
704
- optional boolean trackAllocations
705
-
706
- command stopSampling
707
- returns
708
- # Recorded sampling heap profile.
709
- SamplingHeapProfile profile
710
-
711
- command stopTrackingHeapObjects
712
- parameters
713
- # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken
714
- # when the tracking is stopped.
715
- optional boolean reportProgress
716
- optional boolean treatGlobalObjectsAsRoots
717
- # If true, numerical values are included in the snapshot
718
- optional boolean captureNumericValue
719
-
720
- command takeHeapSnapshot
721
- parameters
722
- # If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken.
723
- optional boolean reportProgress
724
- # If true, a raw snapshot without artificial roots will be generated
725
- optional boolean treatGlobalObjectsAsRoots
726
- # If true, numerical values are included in the snapshot
727
- optional boolean captureNumericValue
728
-
729
- event addHeapSnapshotChunk
730
- parameters
731
- string chunk
732
-
733
- # If heap objects tracking has been started then backend may send update for one or more fragments
734
- event heapStatsUpdate
735
- parameters
736
- # An array of triplets. Each triplet describes a fragment. The first integer is the fragment
737
- # index, the second integer is a total count of objects for the fragment, the third integer is
738
- # a total size of the objects for the fragment.
739
- array of integer statsUpdate
740
-
741
- # If heap objects tracking has been started then backend regularly sends a current value for last
742
- # seen object id and corresponding timestamp. If the were changes in the heap since last event
743
- # then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.
744
- event lastSeenObjectId
745
- parameters
746
- integer lastSeenObjectId
747
- number timestamp
748
-
749
- event reportHeapSnapshotProgress
750
- parameters
751
- integer done
752
- integer total
753
- optional boolean finished
754
-
755
- event resetProfiles
756
-
757
- domain Profiler
758
- depends on Runtime
759
- depends on Debugger
760
-
761
- # Profile node. Holds callsite information, execution statistics and child nodes.
762
- type ProfileNode extends object
763
- properties
764
- # Unique id of the node.
765
- integer id
766
- # Function location.
767
- Runtime.CallFrame callFrame
768
- # Number of samples where this node was on top of the call stack.
769
- optional integer hitCount
770
- # Child node ids.
771
- optional array of integer children
772
- # The reason of being not optimized. The function may be deoptimized or marked as don't
773
- # optimize.
774
- optional string deoptReason
775
- # An array of source position ticks.
776
- optional array of PositionTickInfo positionTicks
777
-
778
- # Profile.
779
- type Profile extends object
780
- properties
781
- # The list of profile nodes. First item is the root node.
782
- array of ProfileNode nodes
783
- # Profiling start timestamp in microseconds.
784
- number startTime
785
- # Profiling end timestamp in microseconds.
786
- number endTime
787
- # Ids of samples top nodes.
788
- optional array of integer samples
789
- # Time intervals between adjacent samples in microseconds. The first delta is relative to the
790
- # profile startTime.
791
- optional array of integer timeDeltas
792
-
793
- # Specifies a number of samples attributed to a certain source position.
794
- type PositionTickInfo extends object
795
- properties
796
- # Source line number (1-based).
797
- integer line
798
- # Number of samples attributed to the source line.
799
- integer ticks
800
-
801
- # Coverage data for a source range.
802
- type CoverageRange extends object
803
- properties
804
- # JavaScript script source offset for the range start.
805
- integer startOffset
806
- # JavaScript script source offset for the range end.
807
- integer endOffset
808
- # Collected execution count of the source range.
809
- integer count
810
-
811
- # Coverage data for a JavaScript function.
812
- type FunctionCoverage extends object
813
- properties
814
- # JavaScript function name.
815
- string functionName
816
- # Source ranges inside the function with coverage data.
817
- array of CoverageRange ranges
818
- # Whether coverage data for this function has block granularity.
819
- boolean isBlockCoverage
820
-
821
- # Coverage data for a JavaScript script.
822
- type ScriptCoverage extends object
823
- properties
824
- # JavaScript script id.
825
- Runtime.ScriptId scriptId
826
- # JavaScript script name or url.
827
- string url
828
- # Functions contained in the script that has coverage data.
829
- array of FunctionCoverage functions
830
-
831
- # Describes a type collected during runtime.
832
- experimental type TypeObject extends object
833
- properties
834
- # Name of a type collected with type profiling.
835
- string name
836
-
837
- # Source offset and types for a parameter or return value.
838
- experimental type TypeProfileEntry extends object
839
- properties
840
- # Source offset of the parameter or end of function for return values.
841
- integer offset
842
- # The types for this parameter or return value.
843
- array of TypeObject types
844
-
845
- # Type profile data collected during runtime for a JavaScript script.
846
- experimental type ScriptTypeProfile extends object
847
- properties
848
- # JavaScript script id.
849
- Runtime.ScriptId scriptId
850
- # JavaScript script name or url.
851
- string url
852
- # Type profile entries for parameters and return values of the functions in the script.
853
- array of TypeProfileEntry entries
854
-
855
- command disable
856
-
857
- command enable
858
-
859
- # Collect coverage data for the current isolate. The coverage data may be incomplete due to
860
- # garbage collection.
861
- command getBestEffortCoverage
862
- returns
863
- # Coverage data for the current isolate.
864
- array of ScriptCoverage result
865
-
866
- # Changes CPU profiler sampling interval. Must be called before CPU profiles recording started.
867
- command setSamplingInterval
868
- parameters
869
- # New sampling interval in microseconds.
870
- integer interval
871
-
872
- command start
873
-
874
- # Enable precise code coverage. Coverage data for JavaScript executed before enabling precise code
875
- # coverage may be incomplete. Enabling prevents running optimized code and resets execution
876
- # counters.
877
- command startPreciseCoverage
878
- parameters
879
- # Collect accurate call counts beyond simple 'covered' or 'not covered'.
880
- optional boolean callCount
881
- # Collect block-based coverage.
882
- optional boolean detailed
883
- # Allow the backend to send updates on its own initiative
884
- optional boolean allowTriggeredUpdates
885
- returns
886
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
887
- number timestamp
888
-
889
- # Enable type profile.
890
- experimental command startTypeProfile
891
-
892
- command stop
893
- returns
894
- # Recorded profile.
895
- Profile profile
896
-
897
- # Disable precise code coverage. Disabling releases unnecessary execution count records and allows
898
- # executing optimized code.
899
- command stopPreciseCoverage
900
-
901
- # Disable type profile. Disabling releases type profile data collected so far.
902
- experimental command stopTypeProfile
903
-
904
- # Collect coverage data for the current isolate, and resets execution counters. Precise code
905
- # coverage needs to have started.
906
- command takePreciseCoverage
907
- returns
908
- # Coverage data for the current isolate.
909
- array of ScriptCoverage result
910
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
911
- number timestamp
912
-
913
- # Collect type profile.
914
- experimental command takeTypeProfile
915
- returns
916
- # Type profile for all scripts since startTypeProfile() was turned on.
917
- array of ScriptTypeProfile result
918
-
919
- event consoleProfileFinished
920
- parameters
921
- string id
922
- # Location of console.profileEnd().
923
- Debugger.Location location
924
- Profile profile
925
- # Profile title passed as an argument to console.profile().
926
- optional string title
927
-
928
- # Sent when new profile recording is started using console.profile() call.
929
- event consoleProfileStarted
930
- parameters
931
- string id
932
- # Location of console.profile().
933
- Debugger.Location location
934
- # Profile title passed as an argument to console.profile().
935
- optional string title
936
-
937
- # Reports coverage delta since the last poll (either from an event like this, or from
938
- # `takePreciseCoverage` for the current isolate. May only be sent if precise code
939
- # coverage has been started. This event can be trigged by the embedder to, for example,
940
- # trigger collection of coverage data immediately at a certain point in time.
941
- experimental event preciseCoverageDeltaUpdate
942
- parameters
943
- # Monotonically increasing time (in seconds) when the coverage update was taken in the backend.
944
- number timestamp
945
- # Identifier for distinguishing coverage events.
946
- string occasion
947
- # Coverage data for the current isolate.
948
- array of ScriptCoverage result
949
-
950
- # Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects.
951
- # Evaluation results are returned as mirror object that expose object type, string representation
952
- # and unique identifier that can be used for further object reference. Original objects are
953
- # maintained in memory unless they are either explicitly released or are released along with the
954
- # other objects in their object group.
955
- domain Runtime
956
-
957
- # Unique script identifier.
958
- type ScriptId extends string
959
-
960
- # Represents the value serialiazed by the WebDriver BiDi specification
961
- # https://w3c.github.io/webdriver-bidi.
962
- type WebDriverValue extends object
963
- properties
964
- enum type
965
- undefined
966
- null
967
- string
968
- number
969
- boolean
970
- bigint
971
- regexp
972
- date
973
- symbol
974
- array
975
- object
976
- function
977
- map
978
- set
979
- weakmap
980
- weakset
981
- error
982
- proxy
983
- promise
984
- typedarray
985
- arraybuffer
986
- node
987
- window
988
- optional any value
989
- optional string objectId
990
-
991
- # Unique object identifier.
992
- type RemoteObjectId extends string
993
-
994
- # Primitive value which cannot be JSON-stringified. Includes values `-0`, `NaN`, `Infinity`,
995
- # `-Infinity`, and bigint literals.
996
- type UnserializableValue extends string
997
-
998
- # Mirror object referencing original JavaScript object.
999
- type RemoteObject extends object
1000
- properties
1001
- # Object type.
1002
- enum type
1003
- object
1004
- function
1005
- undefined
1006
- string
1007
- number
1008
- boolean
1009
- symbol
1010
- bigint
1011
- # Object subtype hint. Specified for `object` type values only.
1012
- # NOTE: If you change anything here, make sure to also update
1013
- # `subtype` in `ObjectPreview` and `PropertyPreview` below.
1014
- optional enum subtype
1015
- array
1016
- null
1017
- node
1018
- regexp
1019
- date
1020
- map
1021
- set
1022
- weakmap
1023
- weakset
1024
- iterator
1025
- generator
1026
- error
1027
- proxy
1028
- promise
1029
- typedarray
1030
- arraybuffer
1031
- dataview
1032
- webassemblymemory
1033
- wasmvalue
1034
- # Object class (constructor) name. Specified for `object` type values only.
1035
- optional string className
1036
- # Remote object value in case of primitive values or JSON values (if it was requested).
1037
- optional any value
1038
- # Primitive value which can not be JSON-stringified does not have `value`, but gets this
1039
- # property.
1040
- optional UnserializableValue unserializableValue
1041
- # String representation of the object.
1042
- optional string description
1043
- # WebDriver BiDi representation of the value.
1044
- experimental optional WebDriverValue webDriverValue
1045
- # Unique object identifier (for non-primitive values).
1046
- optional RemoteObjectId objectId
1047
- # Preview containing abbreviated property values. Specified for `object` type values only.
1048
- experimental optional ObjectPreview preview
1049
- experimental optional CustomPreview customPreview
1050
-
1051
- experimental type CustomPreview extends object
1052
- properties
1053
- # The JSON-stringified result of formatter.header(object, config) call.
1054
- # It contains json ML array that represents RemoteObject.
1055
- string header
1056
- # If formatter returns true as a result of formatter.hasBody call then bodyGetterId will
1057
- # contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.
1058
- # The result value is json ML array.
1059
- optional RemoteObjectId bodyGetterId
1060
-
1061
- # Object containing abbreviated remote object value.
1062
- experimental type ObjectPreview extends object
1063
- properties
1064
- # Object type.
1065
- enum type
1066
- object
1067
- function
1068
- undefined
1069
- string
1070
- number
1071
- boolean
1072
- symbol
1073
- bigint
1074
- # Object subtype hint. Specified for `object` type values only.
1075
- optional enum subtype
1076
- array
1077
- null
1078
- node
1079
- regexp
1080
- date
1081
- map
1082
- set
1083
- weakmap
1084
- weakset
1085
- iterator
1086
- generator
1087
- error
1088
- proxy
1089
- promise
1090
- typedarray
1091
- arraybuffer
1092
- dataview
1093
- webassemblymemory
1094
- wasmvalue
1095
- # String representation of the object.
1096
- optional string description
1097
- # True iff some of the properties or entries of the original object did not fit.
1098
- boolean overflow
1099
- # List of the properties.
1100
- array of PropertyPreview properties
1101
- # List of the entries. Specified for `map` and `set` subtype values only.
1102
- optional array of EntryPreview entries
1103
-
1104
- experimental type PropertyPreview extends object
1105
- properties
1106
- # Property name.
1107
- string name
1108
- # Object type. Accessor means that the property itself is an accessor property.
1109
- enum type
1110
- object
1111
- function
1112
- undefined
1113
- string
1114
- number
1115
- boolean
1116
- symbol
1117
- accessor
1118
- bigint
1119
- # User-friendly property value string.
1120
- optional string value
1121
- # Nested value preview.
1122
- optional ObjectPreview valuePreview
1123
- # Object subtype hint. Specified for `object` type values only.
1124
- optional enum subtype
1125
- array
1126
- null
1127
- node
1128
- regexp
1129
- date
1130
- map
1131
- set
1132
- weakmap
1133
- weakset
1134
- iterator
1135
- generator
1136
- error
1137
- proxy
1138
- promise
1139
- typedarray
1140
- arraybuffer
1141
- dataview
1142
- webassemblymemory
1143
- wasmvalue
1144
-
1145
- experimental type EntryPreview extends object
1146
- properties
1147
- # Preview of the key. Specified for map-like collection entries.
1148
- optional ObjectPreview key
1149
- # Preview of the value.
1150
- ObjectPreview value
1151
-
1152
- # Object property descriptor.
1153
- type PropertyDescriptor extends object
1154
- properties
1155
- # Property name or symbol description.
1156
- string name
1157
- # The value associated with the property.
1158
- optional RemoteObject value
1159
- # True if the value associated with the property may be changed (data descriptors only).
1160
- optional boolean writable
1161
- # A function which serves as a getter for the property, or `undefined` if there is no getter
1162
- # (accessor descriptors only).
1163
- optional RemoteObject get
1164
- # A function which serves as a setter for the property, or `undefined` if there is no setter
1165
- # (accessor descriptors only).
1166
- optional RemoteObject set
1167
- # True if the type of this property descriptor may be changed and if the property may be
1168
- # deleted from the corresponding object.
1169
- boolean configurable
1170
- # True if this property shows up during enumeration of the properties on the corresponding
1171
- # object.
1172
- boolean enumerable
1173
- # True if the result was thrown during the evaluation.
1174
- optional boolean wasThrown
1175
- # True if the property is owned for the object.
1176
- optional boolean isOwn
1177
- # Property symbol object, if the property is of the `symbol` type.
1178
- optional RemoteObject symbol
1179
-
1180
- # Object internal property descriptor. This property isn't normally visible in JavaScript code.
1181
- type InternalPropertyDescriptor extends object
1182
- properties
1183
- # Conventional property name.
1184
- string name
1185
- # The value associated with the property.
1186
- optional RemoteObject value
1187
-
1188
- # Object private field descriptor.
1189
- experimental type PrivatePropertyDescriptor extends object
1190
- properties
1191
- # Private property name.
1192
- string name
1193
- # The value associated with the private property.
1194
- optional RemoteObject value
1195
- # A function which serves as a getter for the private property,
1196
- # or `undefined` if there is no getter (accessor descriptors only).
1197
- optional RemoteObject get
1198
- # A function which serves as a setter for the private property,
1199
- # or `undefined` if there is no setter (accessor descriptors only).
1200
- optional RemoteObject set
1201
-
1202
- # Represents function call argument. Either remote object id `objectId`, primitive `value`,
1203
- # unserializable primitive value or neither of (for undefined) them should be specified.
1204
- type CallArgument extends object
1205
- properties
1206
- # Primitive value or serializable javascript object.
1207
- optional any value
1208
- # Primitive value which can not be JSON-stringified.
1209
- optional UnserializableValue unserializableValue
1210
- # Remote object handle.
1211
- optional RemoteObjectId objectId
1212
-
1213
- # Id of an execution context.
1214
- type ExecutionContextId extends integer
1215
-
1216
- # Description of an isolated world.
1217
- type ExecutionContextDescription extends object
1218
- properties
1219
- # Unique id of the execution context. It can be used to specify in which execution context
1220
- # script evaluation should be performed.
1221
- ExecutionContextId id
1222
- # Execution context origin.
1223
- string origin
1224
- # Human readable name describing given context.
1225
- string name
1226
- # A system-unique execution context identifier. Unlike the id, this is unique across
1227
- # multiple processes, so can be reliably used to identify specific context while backend
1228
- # performs a cross-process navigation.
1229
- experimental string uniqueId
1230
- # Embedder-specific auxiliary data.
1231
- optional object auxData
1232
-
1233
- # Detailed information about exception (or error) that was thrown during script compilation or
1234
- # execution.
1235
- type ExceptionDetails extends object
1236
- properties
1237
- # Exception id.
1238
- integer exceptionId
1239
- # Exception text, which should be used together with exception object when available.
1240
- string text
1241
- # Line number of the exception location (0-based).
1242
- integer lineNumber
1243
- # Column number of the exception location (0-based).
1244
- integer columnNumber
1245
- # Script ID of the exception location.
1246
- optional ScriptId scriptId
1247
- # URL of the exception location, to be used when the script was not reported.
1248
- optional string url
1249
- # JavaScript stack trace if available.
1250
- optional StackTrace stackTrace
1251
- # Exception object if available.
1252
- optional RemoteObject exception
1253
- # Identifier of the context where exception happened.
1254
- optional ExecutionContextId executionContextId
1255
- # Dictionary with entries of meta data that the client associated
1256
- # with this exception, such as information about associated network
1257
- # requests, etc.
1258
- experimental optional object exceptionMetaData
1259
-
1260
- # Number of milliseconds since epoch.
1261
- type Timestamp extends number
1262
-
1263
- # Number of milliseconds.
1264
- type TimeDelta extends number
1265
-
1266
- # Stack entry for runtime errors and assertions.
1267
- type CallFrame extends object
1268
- properties
1269
- # JavaScript function name.
1270
- string functionName
1271
- # JavaScript script id.
1272
- ScriptId scriptId
1273
- # JavaScript script name or url.
1274
- string url
1275
- # JavaScript script line number (0-based).
1276
- integer lineNumber
1277
- # JavaScript script column number (0-based).
1278
- integer columnNumber
1279
-
1280
- # Call frames for assertions or error messages.
1281
- type StackTrace extends object
1282
- properties
1283
- # String label of this stack trace. For async traces this may be a name of the function that
1284
- # initiated the async call.
1285
- optional string description
1286
- # JavaScript function name.
1287
- array of CallFrame callFrames
1288
- # Asynchronous JavaScript stack trace that preceded this stack, if available.
1289
- optional StackTrace parent
1290
- # Asynchronous JavaScript stack trace that preceded this stack, if available.
1291
- experimental optional StackTraceId parentId
1292
-
1293
- # Unique identifier of current debugger.
1294
- experimental type UniqueDebuggerId extends string
1295
-
1296
- # If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This
1297
- # allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages.
1298
- experimental type StackTraceId extends object
1299
- properties
1300
- string id
1301
- optional UniqueDebuggerId debuggerId
1302
-
1303
- # Add handler to promise with given promise object id.
1304
- command awaitPromise
1305
- parameters
1306
- # Identifier of the promise.
1307
- RemoteObjectId promiseObjectId
1308
- # Whether the result is expected to be a JSON object that should be sent by value.
1309
- optional boolean returnByValue
1310
- # Whether preview should be generated for the result.
1311
- optional boolean generatePreview
1312
- returns
1313
- # Promise result. Will contain rejected value if promise was rejected.
1314
- RemoteObject result
1315
- # Exception details if stack strace is available.
1316
- optional ExceptionDetails exceptionDetails
1317
-
1318
- # Calls function with given declaration on the given object. Object group of the result is
1319
- # inherited from the target object.
1320
- command callFunctionOn
1321
- parameters
1322
- # Declaration of the function to call.
1323
- string functionDeclaration
1324
- # Identifier of the object to call function on. Either objectId or executionContextId should
1325
- # be specified.
1326
- optional RemoteObjectId objectId
1327
- # Call arguments. All call arguments must belong to the same JavaScript world as the target
1328
- # object.
1329
- optional array of CallArgument arguments
1330
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1331
- # execution. Overrides `setPauseOnException` state.
1332
- optional boolean silent
1333
- # Whether the result is expected to be a JSON object which should be sent by value.
1334
- optional boolean returnByValue
1335
- # Whether preview should be generated for the result.
1336
- experimental optional boolean generatePreview
1337
- # Whether execution should be treated as initiated by user in the UI.
1338
- optional boolean userGesture
1339
- # Whether execution should `await` for resulting value and return once awaited promise is
1340
- # resolved.
1341
- optional boolean awaitPromise
1342
- # Specifies execution context which global object will be used to call function on. Either
1343
- # executionContextId or objectId should be specified.
1344
- optional ExecutionContextId executionContextId
1345
- # Symbolic group name that can be used to release multiple objects. If objectGroup is not
1346
- # specified and objectId is, objectGroup will be inherited from object.
1347
- optional string objectGroup
1348
- # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1349
- experimental optional boolean throwOnSideEffect
1350
- # Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
1351
- experimental optional boolean generateWebDriverValue
1352
- returns
1353
- # Call result.
1354
- RemoteObject result
1355
- # Exception details.
1356
- optional ExceptionDetails exceptionDetails
1357
-
1358
- # Compiles expression.
1359
- command compileScript
1360
- parameters
1361
- # Expression to compile.
1362
- string expression
1363
- # Source url to be set for the script.
1364
- string sourceURL
1365
- # Specifies whether the compiled script should be persisted.
1366
- boolean persistScript
1367
- # Specifies in which execution context to perform script run. If the parameter is omitted the
1368
- # evaluation will be performed in the context of the inspected page.
1369
- optional ExecutionContextId executionContextId
1370
- returns
1371
- # Id of the script.
1372
- optional ScriptId scriptId
1373
- # Exception details.
1374
- optional ExceptionDetails exceptionDetails
1375
-
1376
- # Disables reporting of execution contexts creation.
1377
- command disable
1378
-
1379
- # Discards collected exceptions and console API calls.
1380
- command discardConsoleEntries
1381
-
1382
- # Enables reporting of execution contexts creation by means of `executionContextCreated` event.
1383
- # When the reporting gets enabled the event will be sent immediately for each existing execution
1384
- # context.
1385
- command enable
1386
-
1387
- # Evaluates expression on global object.
1388
- command evaluate
1389
- parameters
1390
- # Expression to evaluate.
1391
- string expression
1392
- # Symbolic group name that can be used to release multiple objects.
1393
- optional string objectGroup
1394
- # Determines whether Command Line API should be available during the evaluation.
1395
- optional boolean includeCommandLineAPI
1396
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1397
- # execution. Overrides `setPauseOnException` state.
1398
- optional boolean silent
1399
- # Specifies in which execution context to perform evaluation. If the parameter is omitted the
1400
- # evaluation will be performed in the context of the inspected page.
1401
- # This is mutually exclusive with `uniqueContextId`, which offers an
1402
- # alternative way to identify the execution context that is more reliable
1403
- # in a multi-process environment.
1404
- optional ExecutionContextId contextId
1405
- # Whether the result is expected to be a JSON object that should be sent by value.
1406
- optional boolean returnByValue
1407
- # Whether preview should be generated for the result.
1408
- experimental optional boolean generatePreview
1409
- # Whether execution should be treated as initiated by user in the UI.
1410
- optional boolean userGesture
1411
- # Whether execution should `await` for resulting value and return once awaited promise is
1412
- # resolved.
1413
- optional boolean awaitPromise
1414
- # Whether to throw an exception if side effect cannot be ruled out during evaluation.
1415
- # This implies `disableBreaks` below.
1416
- experimental optional boolean throwOnSideEffect
1417
- # Terminate execution after timing out (number of milliseconds).
1418
- experimental optional TimeDelta timeout
1419
- # Disable breakpoints during execution.
1420
- experimental optional boolean disableBreaks
1421
- # Setting this flag to true enables `let` re-declaration and top-level `await`.
1422
- # Note that `let` variables can only be re-declared if they originate from
1423
- # `replMode` themselves.
1424
- experimental optional boolean replMode
1425
- # The Content Security Policy (CSP) for the target might block 'unsafe-eval'
1426
- # which includes eval(), Function(), setTimeout() and setInterval()
1427
- # when called with non-callable arguments. This flag bypasses CSP for this
1428
- # evaluation and allows unsafe-eval. Defaults to true.
1429
- experimental optional boolean allowUnsafeEvalBlockedByCSP
1430
- # An alternative way to specify the execution context to evaluate in.
1431
- # Compared to contextId that may be reused across processes, this is guaranteed to be
1432
- # system-unique, so it can be used to prevent accidental evaluation of the expression
1433
- # in context different than intended (e.g. as a result of navigation across process
1434
- # boundaries).
1435
- # This is mutually exclusive with `contextId`.
1436
- experimental optional string uniqueContextId
1437
- # Whether the result should be serialized according to https://w3c.github.io/webdriver-bidi.
1438
- experimental optional boolean generateWebDriverValue
1439
- returns
1440
- # Evaluation result.
1441
- RemoteObject result
1442
- # Exception details.
1443
- optional ExceptionDetails exceptionDetails
1444
-
1445
- # Returns the isolate id.
1446
- experimental command getIsolateId
1447
- returns
1448
- # The isolate id.
1449
- string id
1450
-
1451
- # Returns the JavaScript heap usage.
1452
- # It is the total usage of the corresponding isolate not scoped to a particular Runtime.
1453
- experimental command getHeapUsage
1454
- returns
1455
- # Used heap size in bytes.
1456
- number usedSize
1457
- # Allocated heap size in bytes.
1458
- number totalSize
1459
-
1460
- # Returns properties of a given object. Object group of the result is inherited from the target
1461
- # object.
1462
- command getProperties
1463
- parameters
1464
- # Identifier of the object to return properties for.
1465
- RemoteObjectId objectId
1466
- # If true, returns properties belonging only to the element itself, not to its prototype
1467
- # chain.
1468
- optional boolean ownProperties
1469
- # If true, returns accessor properties (with getter/setter) only; internal properties are not
1470
- # returned either.
1471
- experimental optional boolean accessorPropertiesOnly
1472
- # Whether preview should be generated for the results.
1473
- experimental optional boolean generatePreview
1474
- # If true, returns non-indexed properties only.
1475
- experimental optional boolean nonIndexedPropertiesOnly
1476
- returns
1477
- # Object properties.
1478
- array of PropertyDescriptor result
1479
- # Internal object properties (only of the element itself).
1480
- optional array of InternalPropertyDescriptor internalProperties
1481
- # Object private properties.
1482
- experimental optional array of PrivatePropertyDescriptor privateProperties
1483
- # Exception details.
1484
- optional ExceptionDetails exceptionDetails
1485
-
1486
- # Returns all let, const and class variables from global scope.
1487
- command globalLexicalScopeNames
1488
- parameters
1489
- # Specifies in which execution context to lookup global scope variables.
1490
- optional ExecutionContextId executionContextId
1491
- returns
1492
- array of string names
1493
-
1494
- command queryObjects
1495
- parameters
1496
- # Identifier of the prototype to return objects for.
1497
- RemoteObjectId prototypeObjectId
1498
- # Symbolic group name that can be used to release the results.
1499
- optional string objectGroup
1500
- returns
1501
- # Array with objects.
1502
- RemoteObject objects
1503
-
1504
- # Releases remote object with given id.
1505
- command releaseObject
1506
- parameters
1507
- # Identifier of the object to release.
1508
- RemoteObjectId objectId
1509
-
1510
- # Releases all remote objects that belong to a given group.
1511
- command releaseObjectGroup
1512
- parameters
1513
- # Symbolic object group name.
1514
- string objectGroup
1515
-
1516
- # Tells inspected instance to run if it was waiting for debugger to attach.
1517
- command runIfWaitingForDebugger
1518
-
1519
- # Runs script with given id in a given context.
1520
- command runScript
1521
- parameters
1522
- # Id of the script to run.
1523
- ScriptId scriptId
1524
- # Specifies in which execution context to perform script run. If the parameter is omitted the
1525
- # evaluation will be performed in the context of the inspected page.
1526
- optional ExecutionContextId executionContextId
1527
- # Symbolic group name that can be used to release multiple objects.
1528
- optional string objectGroup
1529
- # In silent mode exceptions thrown during evaluation are not reported and do not pause
1530
- # execution. Overrides `setPauseOnException` state.
1531
- optional boolean silent
1532
- # Determines whether Command Line API should be available during the evaluation.
1533
- optional boolean includeCommandLineAPI
1534
- # Whether the result is expected to be a JSON object which should be sent by value.
1535
- optional boolean returnByValue
1536
- # Whether preview should be generated for the result.
1537
- optional boolean generatePreview
1538
- # Whether execution should `await` for resulting value and return once awaited promise is
1539
- # resolved.
1540
- optional boolean awaitPromise
1541
- returns
1542
- # Run result.
1543
- RemoteObject result
1544
- # Exception details.
1545
- optional ExceptionDetails exceptionDetails
1546
-
1547
- # Enables or disables async call stacks tracking.
1548
- command setAsyncCallStackDepth
1549
- redirect Debugger
1550
- parameters
1551
- # Maximum depth of async call stacks. Setting to `0` will effectively disable collecting async
1552
- # call stacks (default).
1553
- integer maxDepth
1554
-
1555
- experimental command setCustomObjectFormatterEnabled
1556
- parameters
1557
- boolean enabled
1558
-
1559
- experimental command setMaxCallStackSizeToCapture
1560
- parameters
1561
- integer size
1562
-
1563
- # Terminate current or next JavaScript execution.
1564
- # Will cancel the termination when the outer-most script execution ends.
1565
- experimental command terminateExecution
1566
-
1567
- # If executionContextId is empty, adds binding with the given name on the
1568
- # global objects of all inspected contexts, including those created later,
1569
- # bindings survive reloads.
1570
- # Binding function takes exactly one argument, this argument should be string,
1571
- # in case of any other input, function throws an exception.
1572
- # Each binding function call produces Runtime.bindingCalled notification.
1573
- experimental command addBinding
1574
- parameters
1575
- string name
1576
- # If specified, the binding would only be exposed to the specified
1577
- # execution context. If omitted and `executionContextName` is not set,
1578
- # the binding is exposed to all execution contexts of the target.
1579
- # This parameter is mutually exclusive with `executionContextName`.
1580
- # Deprecated in favor of `executionContextName` due to an unclear use case
1581
- # and bugs in implementation (crbug.com/1169639). `executionContextId` will be
1582
- # removed in the future.
1583
- deprecated optional ExecutionContextId executionContextId
1584
- # If specified, the binding is exposed to the executionContext with
1585
- # matching name, even for contexts created after the binding is added.
1586
- # See also `ExecutionContext.name` and `worldName` parameter to
1587
- # `Page.addScriptToEvaluateOnNewDocument`.
1588
- # This parameter is mutually exclusive with `executionContextId`.
1589
- experimental optional string executionContextName
1590
-
1591
- # This method does not remove binding function from global object but
1592
- # unsubscribes current runtime agent from Runtime.bindingCalled notifications.
1593
- experimental command removeBinding
1594
- parameters
1595
- string name
1596
-
1597
- # This method tries to lookup and populate exception details for a
1598
- # JavaScript Error object.
1599
- # Note that the stackTrace portion of the resulting exceptionDetails will
1600
- # only be populated if the Runtime domain was enabled at the time when the
1601
- # Error was thrown.
1602
- experimental command getExceptionDetails
1603
- parameters
1604
- # The error object for which to resolve the exception details.
1605
- RemoteObjectId errorObjectId
1606
- returns
1607
- optional ExceptionDetails exceptionDetails
1608
-
1609
- # Notification is issued every time when binding is called.
1610
- experimental event bindingCalled
1611
- parameters
1612
- string name
1613
- string payload
1614
- # Identifier of the context where the call was made.
1615
- ExecutionContextId executionContextId
1616
-
1617
- # Issued when console API was called.
1618
- event consoleAPICalled
1619
- parameters
1620
- # Type of the call.
1621
- enum type
1622
- log
1623
- debug
1624
- info
1625
- error
1626
- warning
1627
- dir
1628
- dirxml
1629
- table
1630
- trace
1631
- clear
1632
- startGroup
1633
- startGroupCollapsed
1634
- endGroup
1635
- assert
1636
- profile
1637
- profileEnd
1638
- count
1639
- timeEnd
1640
- # Call arguments.
1641
- array of RemoteObject args
1642
- # Identifier of the context where the call was made.
1643
- ExecutionContextId executionContextId
1644
- # Call timestamp.
1645
- Timestamp timestamp
1646
- # Stack trace captured when the call was made. The async stack chain is automatically reported for
1647
- # the following call types: `assert`, `error`, `trace`, `warning`. For other types the async call
1648
- # chain can be retrieved using `Debugger.getStackTrace` and `stackTrace.parentId` field.
1649
- optional StackTrace stackTrace
1650
- # Console context descriptor for calls on non-default console context (not console.*):
1651
- # 'anonymous#unique-logger-id' for call on unnamed context, 'name#unique-logger-id' for call
1652
- # on named context.
1653
- experimental optional string context
1654
-
1655
- # Issued when unhandled exception was revoked.
1656
- event exceptionRevoked
1657
- parameters
1658
- # Reason describing why exception was revoked.
1659
- string reason
1660
- # The id of revoked exception, as reported in `exceptionThrown`.
1661
- integer exceptionId
1662
-
1663
- # Issued when exception was thrown and unhandled.
1664
- event exceptionThrown
1665
- parameters
1666
- # Timestamp of the exception.
1667
- Timestamp timestamp
1668
- ExceptionDetails exceptionDetails
1669
-
1670
- # Issued when new execution context is created.
1671
- event executionContextCreated
1672
- parameters
1673
- # A newly created execution context.
1674
- ExecutionContextDescription context
1675
-
1676
- # Issued when execution context is destroyed.
1677
- event executionContextDestroyed
1678
- parameters
1679
- # Id of the destroyed context
1680
- ExecutionContextId executionContextId
1681
-
1682
- # Issued when all executionContexts were cleared in browser
1683
- event executionContextsCleared
1684
-
1685
- # Issued when object should be inspected (for example, as a result of inspect() command line API
1686
- # call).
1687
- event inspectRequested
1688
- parameters
1689
- RemoteObject object
1690
- object hints
1691
- # Identifier of the context where the call was made.
1692
- experimental optional ExecutionContextId executionContextId
1693
-
1694
- # This domain is deprecated.
1695
- deprecated domain Schema
1696
-
1697
- # Description of the protocol domain.
1698
- type Domain extends object
1699
- properties
1700
- # Domain name.
1701
- string name
1702
- # Domain version.
1703
- string version
1704
-
1705
- # Returns supported domains.
1706
- command getDomains
1707
- returns
1708
- # List of supported domains.
1709
- array of Domain domains