@nativescript/canvas 2.0.0-alpha.10 → 2.0.0-alpha.11

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 (366) hide show
  1. package/WebGL/WebGLRenderingContext/index.js +1 -1
  2. package/WebGL/WebGLRenderingContext/index.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/canvas-release.aar +0 -0
  5. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/CanvasNative +0 -0
  6. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/CanvasNative-Swift.h +4 -0
  7. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Headers/canvas_native.h +46 -0
  8. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  9. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.abi.json +381 -16
  10. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.private.swiftinterface +3 -0
  11. package/platforms/ios/CanvasNative.xcframework/ios-arm64/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios.swiftinterface +3 -0
  12. package/platforms/ios/CanvasNative.xcframework/ios-arm64/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  13. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/CanvasNative +0 -0
  14. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/CanvasNative-Swift.h +8 -0
  15. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Headers/canvas_native.h +46 -0
  16. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  17. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  18. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.abi.json +381 -16
  19. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +3 -0
  20. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
  21. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.abi.json +381 -16
  22. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +3 -0
  23. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/Modules/CanvasNative.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +3 -0
  24. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/CanvasNative.framework/_CodeSignature/CodeResources +24 -24
  25. package/platforms/ios/CanvasNative.xcframework/ios-arm64_x86_64-simulator/dSYMs/CanvasNative.framework.dSYM/Contents/Resources/DWARF/CanvasNative +0 -0
  26. package/platforms/ios/Podfile +1 -1
  27. package/platforms/ios/build.xcconfig +1 -1
  28. package/platforms/ios/src/CanvasModule.h +1 -1
  29. package/platforms/ios/src/cpp/CanvasJSIModule.h +1 -1
  30. package/platforms/ios/src/cpp/CanvasJSIModule.mm +17 -17
  31. package/platforms/ios/src/cpp/Helpers.h +1 -1
  32. package/platforms/ios/src/cpp/ImageAssetImpl.h +1 -1
  33. package/platforms/ios/src/cpp/ImageBitmapImpl.h +1 -1
  34. package/platforms/ios/src/cpp/JSICallback.h +1 -1
  35. package/platforms/ios/src/cpp/JSIReadFileCallback.h +1 -1
  36. package/platforms/ios/src/cpp/TextDecoderImpl.h +1 -1
  37. package/platforms/ios/src/cpp/VecMutableBuffer.h +1 -1
  38. package/platforms/ios/src/cpp/canvas2d/CanvasGradient.h +1 -1
  39. package/platforms/ios/src/cpp/canvas2d/CanvasPattern.h +1 -1
  40. package/platforms/ios/src/cpp/canvas2d/CanvasRenderingContext2DImpl.h +1 -1
  41. package/platforms/ios/src/cpp/canvas2d/ImageDataImpl.h +1 -1
  42. package/platforms/ios/src/cpp/canvas2d/MatrixImpl.h +1 -1
  43. package/platforms/ios/src/cpp/canvas2d/Path2D.h +1 -1
  44. package/platforms/ios/src/cpp/canvas2d/TextMetricsImpl.h +1 -1
  45. package/platforms/ios/src/cpp/webgl/WebGLActiveInfoImpl.h +1 -1
  46. package/platforms/ios/src/cpp/webgl/WebGLBuffer.h +1 -1
  47. package/platforms/ios/src/cpp/webgl/WebGLFramebuffer.h +1 -1
  48. package/platforms/ios/src/cpp/webgl/WebGLProgram.h +1 -1
  49. package/platforms/ios/src/cpp/webgl/WebGLRenderbuffer.h +1 -1
  50. package/platforms/ios/src/cpp/webgl/WebGLRenderingContext.h +1 -1
  51. package/platforms/ios/src/cpp/webgl/WebGLRenderingContextBase.h +1 -1
  52. package/platforms/ios/src/cpp/webgl/WebGLShader.h +1 -1
  53. package/platforms/ios/src/cpp/webgl/WebGLShaderPrecisionFormatImpl.h +1 -1
  54. package/platforms/ios/src/cpp/webgl/WebGLTexture.h +1 -1
  55. package/platforms/ios/src/cpp/webgl/WebGLUniformLocation.h +1 -1
  56. package/platforms/ios/src/cpp/webgl/extensions/ANGLE_instanced_arraysImpl.h +1 -1
  57. package/platforms/ios/src/cpp/webgl/extensions/EXT_blend_minmaxImpl.h +1 -1
  58. package/platforms/ios/src/cpp/webgl/extensions/EXT_color_buffer_half_floatImpl.h +1 -1
  59. package/platforms/ios/src/cpp/webgl/extensions/EXT_disjoint_timer_queryImpl.h +1 -1
  60. package/platforms/ios/src/cpp/webgl/extensions/EXT_sRGBImpl.h +1 -1
  61. package/platforms/ios/src/cpp/webgl/extensions/EXT_shader_texture_lodImpl.h +1 -1
  62. package/platforms/ios/src/cpp/webgl/extensions/EXT_texture_filter_anisotropicImpl.h +1 -1
  63. package/platforms/ios/src/cpp/webgl/extensions/OES_element_index_uintImpl.h +1 -1
  64. package/platforms/ios/src/cpp/webgl/extensions/OES_fbo_render_mipmap.h +1 -1
  65. package/platforms/ios/src/cpp/webgl/extensions/OES_standard_derivativesImpl.h +1 -1
  66. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_floatImpl.h +1 -1
  67. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_float_linearImpl.h +1 -1
  68. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_floatImpl.h +1 -1
  69. package/platforms/ios/src/cpp/webgl/extensions/OES_texture_half_float_linearImpl.h +1 -1
  70. package/platforms/ios/src/cpp/webgl/extensions/OES_vertex_array_objectImpl.h +1 -1
  71. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_color_buffer_floatImpl.h +1 -1
  72. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_atcImpl.h +1 -1
  73. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etc1Impl.h +1 -1
  74. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_etcImpl.h +1 -1
  75. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_pvrtcImpl.h +1 -1
  76. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tcImpl.h +1 -1
  77. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_compressed_texture_s3tc_srgbImpl.h +1 -1
  78. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_depth_textureImpl.h +1 -1
  79. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_draw_buffersImpl.h +1 -1
  80. package/platforms/ios/src/cpp/webgl/extensions/WEBGL_lose_contextImpl.h +1 -1
  81. package/platforms/ios/src/cpp/webgl2/WebGL2RenderingContext.h +1 -1
  82. package/platforms/ios/src/cpp/webgl2/WebGLQuery.h +1 -1
  83. package/platforms/ios/src/cpp/webgl2/WebGLSampler.h +1 -1
  84. package/platforms/ios/src/cpp/webgl2/WebGLSyncImpl.h +1 -1
  85. package/platforms/ios/src/cpp/webgl2/WebGLTransformFeedback.h +1 -1
  86. package/platforms/ios/src/cpp/webgl2/WebGLVertexArrayObject.h +1 -1
  87. package/pods/Headers/include/APIDesign.md +0 -72
  88. package/pods/Headers/include/DEPS +0 -10
  89. package/pods/Headers/include/DIR_METADATA +0 -11
  90. package/pods/Headers/include/OWNERS +0 -23
  91. package/pods/Headers/include/cppgc/DEPS +0 -8
  92. package/pods/Headers/include/cppgc/OWNERS +0 -2
  93. package/pods/Headers/include/cppgc/README.md +0 -133
  94. package/pods/Headers/include/cppgc/allocation.h +0 -310
  95. package/pods/Headers/include/cppgc/common.h +0 -29
  96. package/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  97. package/pods/Headers/include/cppgc/custom-space.h +0 -97
  98. package/pods/Headers/include/cppgc/default-platform.h +0 -67
  99. package/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  100. package/pods/Headers/include/cppgc/explicit-management.h +0 -100
  101. package/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  102. package/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  103. package/pods/Headers/include/cppgc/heap-state.h +0 -82
  104. package/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  105. package/pods/Headers/include/cppgc/heap.h +0 -206
  106. package/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  107. package/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  108. package/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  109. package/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  110. package/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  111. package/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  112. package/pods/Headers/include/cppgc/internal/logging.h +0 -50
  113. package/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  114. package/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  115. package/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  116. package/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  117. package/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  118. package/pods/Headers/include/cppgc/macros.h +0 -26
  119. package/pods/Headers/include/cppgc/member.h +0 -291
  120. package/pods/Headers/include/cppgc/name-provider.h +0 -65
  121. package/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  122. package/pods/Headers/include/cppgc/persistent.h +0 -370
  123. package/pods/Headers/include/cppgc/platform.h +0 -156
  124. package/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  125. package/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  126. package/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  127. package/pods/Headers/include/cppgc/source-location.h +0 -92
  128. package/pods/Headers/include/cppgc/testing.h +0 -106
  129. package/pods/Headers/include/cppgc/trace-trait.h +0 -116
  130. package/pods/Headers/include/cppgc/type-traits.h +0 -240
  131. package/pods/Headers/include/cppgc/visitor.h +0 -379
  132. package/pods/Headers/include/js_protocol-1.2.json +0 -936
  133. package/pods/Headers/include/js_protocol-1.3.json +0 -1112
  134. package/pods/Headers/include/js_protocol.pdl +0 -1709
  135. package/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  136. package/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  137. package/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  138. package/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  139. package/pods/Headers/include/libffi.h +0 -12
  140. package/pods/Headers/include/libplatform/DEPS +0 -9
  141. package/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  142. package/pods/Headers/include/libplatform/libplatform.h +0 -106
  143. package/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  144. package/pods/Headers/include/v8-array-buffer.h +0 -433
  145. package/pods/Headers/include/v8-callbacks.h +0 -397
  146. package/pods/Headers/include/v8-container.h +0 -129
  147. package/pods/Headers/include/v8-context.h +0 -407
  148. package/pods/Headers/include/v8-cppgc.h +0 -215
  149. package/pods/Headers/include/v8-data.h +0 -80
  150. package/pods/Headers/include/v8-date.h +0 -43
  151. package/pods/Headers/include/v8-debug.h +0 -168
  152. package/pods/Headers/include/v8-embedder-heap.h +0 -218
  153. package/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  154. package/pods/Headers/include/v8-exception.h +0 -217
  155. package/pods/Headers/include/v8-extension.h +0 -62
  156. package/pods/Headers/include/v8-external.h +0 -37
  157. package/pods/Headers/include/v8-fast-api-calls.h +0 -939
  158. package/pods/Headers/include/v8-forward.h +0 -81
  159. package/pods/Headers/include/v8-function-callback.h +0 -475
  160. package/pods/Headers/include/v8-function.h +0 -125
  161. package/pods/Headers/include/v8-initialization.h +0 -315
  162. package/pods/Headers/include/v8-inspector-protocol.h +0 -13
  163. package/pods/Headers/include/v8-inspector.h +0 -376
  164. package/pods/Headers/include/v8-internal.h +0 -661
  165. package/pods/Headers/include/v8-isolate.h +0 -1709
  166. package/pods/Headers/include/v8-json.h +0 -47
  167. package/pods/Headers/include/v8-local-handle.h +0 -455
  168. package/pods/Headers/include/v8-locker.h +0 -149
  169. package/pods/Headers/include/v8-maybe.h +0 -137
  170. package/pods/Headers/include/v8-memory-span.h +0 -43
  171. package/pods/Headers/include/v8-message.h +0 -216
  172. package/pods/Headers/include/v8-metrics.h +0 -255
  173. package/pods/Headers/include/v8-microtask-queue.h +0 -152
  174. package/pods/Headers/include/v8-microtask.h +0 -28
  175. package/pods/Headers/include/v8-object.h +0 -775
  176. package/pods/Headers/include/v8-persistent-handle.h +0 -590
  177. package/pods/Headers/include/v8-platform.h +0 -1092
  178. package/pods/Headers/include/v8-primitive-object.h +0 -118
  179. package/pods/Headers/include/v8-primitive.h +0 -866
  180. package/pods/Headers/include/v8-profiler.h +0 -1198
  181. package/pods/Headers/include/v8-promise.h +0 -174
  182. package/pods/Headers/include/v8-proxy.h +0 -50
  183. package/pods/Headers/include/v8-regexp.h +0 -105
  184. package/pods/Headers/include/v8-script.h +0 -748
  185. package/pods/Headers/include/v8-snapshot.h +0 -196
  186. package/pods/Headers/include/v8-statistics.h +0 -217
  187. package/pods/Headers/include/v8-template.h +0 -1079
  188. package/pods/Headers/include/v8-traced-handle.h +0 -420
  189. package/pods/Headers/include/v8-typed-array.h +0 -282
  190. package/pods/Headers/include/v8-unwinder-state.h +0 -31
  191. package/pods/Headers/include/v8-unwinder.h +0 -132
  192. package/pods/Headers/include/v8-util.h +0 -658
  193. package/pods/Headers/include/v8-value-serializer-version.h +0 -24
  194. package/pods/Headers/include/v8-value-serializer.h +0 -279
  195. package/pods/Headers/include/v8-value.h +0 -526
  196. package/pods/Headers/include/v8-version-string.h +0 -38
  197. package/pods/Headers/include/v8-version.h +0 -20
  198. package/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  199. package/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  200. package/pods/Headers/include/v8-wasm.h +0 -257
  201. package/pods/Headers/include/v8-weak-callback-info.h +0 -86
  202. package/pods/Headers/include/v8.h +0 -88
  203. package/pods/Headers/include/v8config.h +0 -605
  204. package/pods/Headers/inspector/InspectorServer.h +0 -20
  205. package/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  206. package/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  207. package/pods/Headers/inspector/base64.h +0 -9
  208. package/pods/Headers/inspector/src/base/address-region.h +0 -95
  209. package/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  210. package/pods/Headers/inspector/src/base/atomicops.h +0 -332
  211. package/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  212. package/pods/Headers/inspector/src/base/base-export.h +0 -31
  213. package/pods/Headers/inspector/src/base/bits.h +0 -343
  214. package/pods/Headers/inspector/src/base/build_config.h +0 -234
  215. package/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  216. package/pods/Headers/inspector/src/base/export-template.h +0 -163
  217. package/pods/Headers/inspector/src/base/flags.h +0 -130
  218. package/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  219. package/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  220. package/pods/Headers/inspector/src/base/logging.h +0 -417
  221. package/pods/Headers/inspector/src/base/macros.h +0 -423
  222. package/pods/Headers/inspector/src/base/memory.h +0 -89
  223. package/pods/Headers/inspector/src/base/once.h +0 -108
  224. package/pods/Headers/inspector/src/base/optional.h +0 -882
  225. package/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  226. package/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  227. package/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  228. package/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  229. package/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  230. package/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  231. package/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  232. package/pods/Headers/inspector/src/base/template-utils.h +0 -113
  233. package/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  234. package/pods/Headers/inspector/src/common/checks.h +0 -38
  235. package/pods/Headers/inspector/src/common/globals.h +0 -1842
  236. package/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  237. package/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  238. package/pods/Headers/inspector/src/init/v8.h +0 -52
  239. package/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  240. package/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  241. package/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  242. package/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  243. package/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  244. package/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  245. package/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  246. package/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  247. package/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  248. package/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  249. package/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  250. package/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  251. package/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  252. package/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  253. package/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  254. package/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  255. package/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  256. package/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  257. package/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  258. package/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  259. package/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  260. package/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  261. package/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  262. package/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  263. package/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  264. package/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  265. package/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  266. package/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  267. package/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  268. package/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  269. package/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  270. package/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  271. package/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  272. package/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  273. package/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  274. package/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  275. package/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  276. package/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  277. package/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  278. package/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  279. package/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  280. package/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  281. package/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  282. package/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  283. package/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  284. package/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  285. package/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  286. package/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  287. package/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  288. package/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  289. package/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  290. package/pods/Headers/inspector/src/utils/allocation.h +0 -367
  291. package/pods/Headers/inspector/src/utils/vector.h +0 -324
  292. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  293. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  294. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  295. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  296. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  297. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  298. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  299. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  300. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  301. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  302. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  303. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  304. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  305. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  306. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  307. package/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  308. package/pods/Headers/inspector/utils.h +0 -32
  309. package/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  310. package/pods/Headers/jsi/decorator.h +0 -770
  311. package/pods/Headers/jsi/instrumentation.h +0 -117
  312. package/pods/Headers/jsi/jsi-inl.h +0 -338
  313. package/pods/Headers/jsi/jsi.h +0 -1571
  314. package/pods/Headers/jsi/jsilib.h +0 -59
  315. package/pods/Headers/jsi/threadsafe.h +0 -79
  316. package/pods/Headers/runtime/ArgConverter.h +0 -61
  317. package/pods/Headers/runtime/ArrayAdapter.h +0 -13
  318. package/pods/Headers/runtime/Caches.h +0 -98
  319. package/pods/Headers/runtime/ClassBuilder.h +0 -61
  320. package/pods/Headers/runtime/Common.h +0 -9
  321. package/pods/Headers/runtime/ConcurrentMap.h +0 -55
  322. package/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  323. package/pods/Headers/runtime/Console.h +0 -27
  324. package/pods/Headers/runtime/Constants.h +0 -15
  325. package/pods/Headers/runtime/DataWrapper.h +0 -671
  326. package/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  327. package/pods/Headers/runtime/ExtVector.h +0 -21
  328. package/pods/Headers/runtime/FFICall.h +0 -105
  329. package/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  330. package/pods/Headers/runtime/FunctionReference.h +0 -18
  331. package/pods/Headers/runtime/Helpers.h +0 -84
  332. package/pods/Headers/runtime/InlineFunctions.h +0 -16
  333. package/pods/Headers/runtime/Interop.h +0 -202
  334. package/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  335. package/pods/Headers/runtime/Metadata.h +0 -981
  336. package/pods/Headers/runtime/MetadataBuilder.h +0 -72
  337. package/pods/Headers/runtime/MetadataInlines.h +0 -157
  338. package/pods/Headers/runtime/ModuleInternal.h +0 -59
  339. package/pods/Headers/runtime/NSDataAdapter.h +0 -13
  340. package/pods/Headers/runtime/NativeScriptException.h +0 -27
  341. package/pods/Headers/runtime/ObjectManager.h +0 -31
  342. package/pods/Headers/runtime/OneByteStringResource.h +0 -21
  343. package/pods/Headers/runtime/Pointer.h +0 -26
  344. package/pods/Headers/runtime/PromiseProxy.h +0 -15
  345. package/pods/Headers/runtime/Reference.h +0 -38
  346. package/pods/Headers/runtime/Runtime.h +0 -67
  347. package/pods/Headers/runtime/RuntimeConfig.h +0 -17
  348. package/pods/Headers/runtime/SetTimeout.h +0 -34
  349. package/pods/Headers/runtime/SimpleAllocator.h +0 -23
  350. package/pods/Headers/runtime/StringHasher.h +0 -315
  351. package/pods/Headers/runtime/SymbolIterator.h +0 -18
  352. package/pods/Headers/runtime/SymbolLoader.h +0 -27
  353. package/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  354. package/pods/Headers/runtime/TSHelpers.h +0 -15
  355. package/pods/Headers/runtime/Tasks.h +0 -19
  356. package/pods/Headers/runtime/UnmanagedType.h +0 -21
  357. package/pods/Headers/runtime/WeakRef.h +0 -15
  358. package/pods/Headers/runtime/Worker.h +0 -26
  359. package/pods/Headers/runtime/robin_hood.h +0 -2184
  360. package/pods/Headers/v8runtime/HostProxy.h +0 -71
  361. package/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -74
  362. package/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  363. package/pods/Headers/v8runtime/V8Runtime.h +0 -240
  364. package/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  365. package/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  366. package/pods/NativeScript.podspec +0 -68
@@ -1,936 +0,0 @@
1
- {
2
- "version": { "major": "1", "minor": "2" },
3
- "domains": [
4
- {
5
- "domain": "Schema",
6
- "description": "Provides information about the protocol schema.",
7
- "types": [
8
- {
9
- "id": "Domain",
10
- "type": "object",
11
- "description": "Description of the protocol domain.",
12
- "exported": true,
13
- "properties": [
14
- { "name": "name", "type": "string", "description": "Domain name." },
15
- { "name": "version", "type": "string", "description": "Domain version." }
16
- ]
17
- }
18
- ],
19
- "commands": [
20
- {
21
- "name": "getDomains",
22
- "description": "Returns supported domains.",
23
- "handlers": ["browser", "renderer"],
24
- "returns": [{ "name": "domains", "type": "array", "items": { "$ref": "Domain" }, "description": "List of supported domains." }]
25
- }
26
- ]
27
- },
28
- {
29
- "domain": "Runtime",
30
- "description": "Runtime domain exposes JavaScript runtime by means of remote evaluation and mirror objects. Evaluation results are returned as mirror object that expose object type, string representation and unique identifier that can be used for further object reference. Original objects are maintained in memory unless they are either explicitly released or are released along with the other objects in their object group.",
31
- "types": [
32
- {
33
- "id": "ScriptId",
34
- "type": "string",
35
- "description": "Unique script identifier."
36
- },
37
- {
38
- "id": "RemoteObjectId",
39
- "type": "string",
40
- "description": "Unique object identifier."
41
- },
42
- {
43
- "id": "UnserializableValue",
44
- "type": "string",
45
- "enum": ["Infinity", "NaN", "-Infinity", "-0"],
46
- "description": "Primitive value which cannot be JSON-stringified."
47
- },
48
- {
49
- "id": "RemoteObject",
50
- "type": "object",
51
- "description": "Mirror object referencing original JavaScript object.",
52
- "exported": true,
53
- "properties": [
54
- { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol"], "description": "Object type." },
55
- { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "generator", "error", "proxy", "promise", "typedarray"], "description": "Object subtype hint. Specified for <code>object</code> type values only." },
56
- { "name": "className", "type": "string", "optional": true, "description": "Object class (constructor) name. Specified for <code>object</code> type values only." },
57
- { "name": "value", "type": "any", "optional": true, "description": "Remote object value in case of primitive values or JSON values (if it was requested)." },
58
- { "name": "unserializableValue", "$ref": "UnserializableValue", "optional": true, "description": "Primitive value which can not be JSON-stringified does not have <code>value</code>, but gets this property." },
59
- { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
60
- { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Unique object identifier (for non-primitive values)." },
61
- { "name": "preview", "$ref": "ObjectPreview", "optional": true, "description": "Preview containing abbreviated property values. Specified for <code>object</code> type values only.", "experimental": true },
62
- { "name": "customPreview", "$ref": "CustomPreview", "optional": true, "experimental": true }
63
- ]
64
- },
65
- {
66
- "id": "CustomPreview",
67
- "type": "object",
68
- "experimental": true,
69
- "properties": [
70
- { "name": "header", "type": "string" },
71
- { "name": "hasBody", "type": "boolean" },
72
- { "name": "formatterObjectId", "$ref": "RemoteObjectId" },
73
- { "name": "bindRemoteObjectFunctionId", "$ref": "RemoteObjectId" },
74
- { "name": "configObjectId", "$ref": "RemoteObjectId", "optional": true }
75
- ]
76
- },
77
- {
78
- "id": "ObjectPreview",
79
- "type": "object",
80
- "experimental": true,
81
- "description": "Object containing abbreviated remote object value.",
82
- "properties": [
83
- { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol"], "description": "Object type." },
84
- { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "generator", "error"], "description": "Object subtype hint. Specified for <code>object</code> type values only." },
85
- { "name": "description", "type": "string", "optional": true, "description": "String representation of the object." },
86
- { "name": "overflow", "type": "boolean", "description": "True iff some of the properties or entries of the original object did not fit." },
87
- { "name": "properties", "type": "array", "items": { "$ref": "PropertyPreview" }, "description": "List of the properties." },
88
- { "name": "entries", "type": "array", "items": { "$ref": "EntryPreview" }, "optional": true, "description": "List of the entries. Specified for <code>map</code> and <code>set</code> subtype values only." }
89
- ]
90
- },
91
- {
92
- "id": "PropertyPreview",
93
- "type": "object",
94
- "experimental": true,
95
- "properties": [
96
- { "name": "name", "type": "string", "description": "Property name." },
97
- { "name": "type", "type": "string", "enum": ["object", "function", "undefined", "string", "number", "boolean", "symbol", "accessor"], "description": "Object type. Accessor means that the property itself is an accessor property." },
98
- { "name": "value", "type": "string", "optional": true, "description": "User-friendly property value string." },
99
- { "name": "valuePreview", "$ref": "ObjectPreview", "optional": true, "description": "Nested value preview." },
100
- { "name": "subtype", "type": "string", "optional": true, "enum": ["array", "null", "node", "regexp", "date", "map", "set", "iterator", "generator", "error"], "description": "Object subtype hint. Specified for <code>object</code> type values only." }
101
- ]
102
- },
103
- {
104
- "id": "EntryPreview",
105
- "type": "object",
106
- "experimental": true,
107
- "properties": [
108
- { "name": "key", "$ref": "ObjectPreview", "optional": true, "description": "Preview of the key. Specified for map-like collection entries." },
109
- { "name": "value", "$ref": "ObjectPreview", "description": "Preview of the value." }
110
- ]
111
- },
112
- {
113
- "id": "PropertyDescriptor",
114
- "type": "object",
115
- "description": "Object property descriptor.",
116
- "properties": [
117
- { "name": "name", "type": "string", "description": "Property name or symbol description." },
118
- { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." },
119
- { "name": "writable", "type": "boolean", "optional": true, "description": "True if the value associated with the property may be changed (data descriptors only)." },
120
- { "name": "get", "$ref": "RemoteObject", "optional": true, "description": "A function which serves as a getter for the property, or <code>undefined</code> if there is no getter (accessor descriptors only)." },
121
- { "name": "set", "$ref": "RemoteObject", "optional": true, "description": "A function which serves as a setter for the property, or <code>undefined</code> if there is no setter (accessor descriptors only)." },
122
- { "name": "configurable", "type": "boolean", "description": "True if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object." },
123
- { "name": "enumerable", "type": "boolean", "description": "True if this property shows up during enumeration of the properties on the corresponding object." },
124
- { "name": "wasThrown", "type": "boolean", "optional": true, "description": "True if the result was thrown during the evaluation." },
125
- { "name": "isOwn", "optional": true, "type": "boolean", "description": "True if the property is owned for the object." },
126
- { "name": "symbol", "$ref": "RemoteObject", "optional": true, "description": "Property symbol object, if the property is of the <code>symbol</code> type." }
127
- ]
128
- },
129
- {
130
- "id": "InternalPropertyDescriptor",
131
- "type": "object",
132
- "description": "Object internal property descriptor. This property isn't normally visible in JavaScript code.",
133
- "properties": [
134
- { "name": "name", "type": "string", "description": "Conventional property name." },
135
- { "name": "value", "$ref": "RemoteObject", "optional": true, "description": "The value associated with the property." }
136
- ]
137
- },
138
- {
139
- "id": "CallArgument",
140
- "type": "object",
141
- "description": "Represents function call argument. Either remote object id <code>objectId</code>, primitive <code>value</code>, unserializable primitive value or neither of (for undefined) them should be specified.",
142
- "properties": [
143
- { "name": "value", "type": "any", "optional": true, "description": "Primitive value." },
144
- { "name": "unserializableValue", "$ref": "UnserializableValue", "optional": true, "description": "Primitive value which can not be JSON-stringified." },
145
- { "name": "objectId", "$ref": "RemoteObjectId", "optional": true, "description": "Remote object handle." }
146
- ]
147
- },
148
- {
149
- "id": "ExecutionContextId",
150
- "type": "integer",
151
- "description": "Id of an execution context."
152
- },
153
- {
154
- "id": "ExecutionContextDescription",
155
- "type": "object",
156
- "description": "Description of an isolated world.",
157
- "properties": [
158
- { "name": "id", "$ref": "ExecutionContextId", "description": "Unique id of the execution context. It can be used to specify in which execution context script evaluation should be performed." },
159
- { "name": "origin", "type": "string", "description": "Execution context origin." },
160
- { "name": "name", "type": "string", "description": "Human readable name describing given context." },
161
- { "name": "auxData", "type": "object", "optional": true, "description": "Embedder-specific auxiliary data." }
162
- ]
163
- },
164
- {
165
- "id": "ExceptionDetails",
166
- "type": "object",
167
- "description": "Detailed information about exception (or error) that was thrown during script compilation or execution.",
168
- "properties": [
169
- { "name": "exceptionId", "type": "integer", "description": "Exception id." },
170
- { "name": "text", "type": "string", "description": "Exception text, which should be used together with exception object when available." },
171
- { "name": "lineNumber", "type": "integer", "description": "Line number of the exception location (0-based)." },
172
- { "name": "columnNumber", "type": "integer", "description": "Column number of the exception location (0-based)." },
173
- { "name": "scriptId", "$ref": "ScriptId", "optional": true, "description": "Script ID of the exception location." },
174
- { "name": "url", "type": "string", "optional": true, "description": "URL of the exception location, to be used when the script was not reported." },
175
- { "name": "stackTrace", "$ref": "StackTrace", "optional": true, "description": "JavaScript stack trace if available." },
176
- { "name": "exception", "$ref": "RemoteObject", "optional": true, "description": "Exception object if available." },
177
- { "name": "executionContextId", "$ref": "ExecutionContextId", "optional": true, "description": "Identifier of the context where exception happened." }
178
- ]
179
- },
180
- {
181
- "id": "Timestamp",
182
- "type": "number",
183
- "description": "Number of milliseconds since epoch."
184
- },
185
- {
186
- "id": "CallFrame",
187
- "type": "object",
188
- "description": "Stack entry for runtime errors and assertions.",
189
- "properties": [
190
- { "name": "functionName", "type": "string", "description": "JavaScript function name." },
191
- { "name": "scriptId", "$ref": "ScriptId", "description": "JavaScript script id." },
192
- { "name": "url", "type": "string", "description": "JavaScript script name or url." },
193
- { "name": "lineNumber", "type": "integer", "description": "JavaScript script line number (0-based)." },
194
- { "name": "columnNumber", "type": "integer", "description": "JavaScript script column number (0-based)." }
195
- ]
196
- },
197
- {
198
- "id": "StackTrace",
199
- "type": "object",
200
- "description": "Call frames for assertions or error messages.",
201
- "exported": true,
202
- "properties": [
203
- { "name": "description", "type": "string", "optional": true, "description": "String label of this stack trace. For async traces this may be a name of the function that initiated the async call." },
204
- { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "JavaScript function name." },
205
- { "name": "parent", "$ref": "StackTrace", "optional": true, "description": "Asynchronous JavaScript stack trace that preceded this stack, if available." }
206
- ]
207
- }
208
- ],
209
- "commands": [
210
- {
211
- "name": "evaluate",
212
- "async": true,
213
- "parameters": [
214
- { "name": "expression", "type": "string", "description": "Expression to evaluate." },
215
- { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." },
216
- { "name": "includeCommandLineAPI", "type": "boolean", "optional": true, "description": "Determines whether Command Line API should be available during the evaluation." },
217
- { "name": "silent", "type": "boolean", "optional": true, "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." },
218
- { "name": "contextId", "$ref": "ExecutionContextId", "optional": true, "description": "Specifies in which execution context to perform evaluation. If the parameter is omitted the evaluation will be performed in the context of the inspected page." },
219
- { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." },
220
- { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." },
221
- { "name": "userGesture", "type": "boolean", "optional": true, "experimental": true, "description": "Whether execution should be treated as initiated by user in the UI." },
222
- { "name": "awaitPromise", "type": "boolean", "optional": true, "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error." }
223
- ],
224
- "returns": [
225
- { "name": "result", "$ref": "RemoteObject", "description": "Evaluation result." },
226
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details." }
227
- ],
228
- "description": "Evaluates expression on global object."
229
- },
230
- {
231
- "name": "awaitPromise",
232
- "async": true,
233
- "parameters": [
234
- { "name": "promiseObjectId", "$ref": "RemoteObjectId", "description": "Identifier of the promise." },
235
- { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." },
236
- { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for the result." }
237
- ],
238
- "returns": [
239
- { "name": "result", "$ref": "RemoteObject", "description": "Promise result. Will contain rejected value if promise was rejected." },
240
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details if stack strace is available." }
241
- ],
242
- "description": "Add handler to promise with given promise object id."
243
- },
244
- {
245
- "name": "callFunctionOn",
246
- "async": true,
247
- "parameters": [
248
- { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to call function on." },
249
- { "name": "functionDeclaration", "type": "string", "description": "Declaration of the function to call." },
250
- { "name": "arguments", "type": "array", "items": { "$ref": "CallArgument", "description": "Call argument." }, "optional": true, "description": "Call arguments. All call arguments must belong to the same JavaScript world as the target object." },
251
- { "name": "silent", "type": "boolean", "optional": true, "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." },
252
- { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object which should be sent by value." },
253
- { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." },
254
- { "name": "userGesture", "type": "boolean", "optional": true, "experimental": true, "description": "Whether execution should be treated as initiated by user in the UI." },
255
- { "name": "awaitPromise", "type": "boolean", "optional": true, "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error." }
256
- ],
257
- "returns": [
258
- { "name": "result", "$ref": "RemoteObject", "description": "Call result." },
259
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details." }
260
- ],
261
- "description": "Calls function with given declaration on the given object. Object group of the result is inherited from the target object."
262
- },
263
- {
264
- "name": "getProperties",
265
- "parameters": [
266
- { "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to return properties for." },
267
- { "name": "ownProperties", "optional": true, "type": "boolean", "description": "If true, returns properties belonging only to the element itself, not to its prototype chain." },
268
- { "name": "accessorPropertiesOnly", "optional": true, "type": "boolean", "description": "If true, returns accessor properties (with getter/setter) only; internal properties are not returned either.", "experimental": true },
269
- { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the results." }
270
- ],
271
- "returns": [
272
- { "name": "result", "type": "array", "items": { "$ref": "PropertyDescriptor" }, "description": "Object properties." },
273
- { "name": "internalProperties", "optional": true, "type": "array", "items": { "$ref": "InternalPropertyDescriptor" }, "description": "Internal object properties (only of the element itself)." },
274
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details." }
275
- ],
276
- "description": "Returns properties of a given object. Object group of the result is inherited from the target object."
277
- },
278
- {
279
- "name": "releaseObject",
280
- "parameters": [{ "name": "objectId", "$ref": "RemoteObjectId", "description": "Identifier of the object to release." }],
281
- "description": "Releases remote object with given id."
282
- },
283
- {
284
- "name": "releaseObjectGroup",
285
- "parameters": [{ "name": "objectGroup", "type": "string", "description": "Symbolic object group name." }],
286
- "description": "Releases all remote objects that belong to a given group."
287
- },
288
- {
289
- "name": "runIfWaitingForDebugger",
290
- "description": "Tells inspected instance to run if it was waiting for debugger to attach."
291
- },
292
- {
293
- "name": "enable",
294
- "description": "Enables reporting of execution contexts creation by means of <code>executionContextCreated</code> event. When the reporting gets enabled the event will be sent immediately for each existing execution context."
295
- },
296
- {
297
- "name": "disable",
298
- "description": "Disables reporting of execution contexts creation."
299
- },
300
- {
301
- "name": "discardConsoleEntries",
302
- "description": "Discards collected exceptions and console API calls."
303
- },
304
- {
305
- "name": "setCustomObjectFormatterEnabled",
306
- "parameters": [
307
- {
308
- "name": "enabled",
309
- "type": "boolean"
310
- }
311
- ],
312
- "experimental": true
313
- },
314
- {
315
- "name": "compileScript",
316
- "parameters": [
317
- { "name": "expression", "type": "string", "description": "Expression to compile." },
318
- { "name": "sourceURL", "type": "string", "description": "Source url to be set for the script." },
319
- { "name": "persistScript", "type": "boolean", "description": "Specifies whether the compiled script should be persisted." },
320
- { "name": "executionContextId", "$ref": "ExecutionContextId", "optional": true, "description": "Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page." }
321
- ],
322
- "returns": [
323
- { "name": "scriptId", "$ref": "ScriptId", "optional": true, "description": "Id of the script." },
324
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details." }
325
- ],
326
- "description": "Compiles expression."
327
- },
328
- {
329
- "name": "runScript",
330
- "async": true,
331
- "parameters": [
332
- { "name": "scriptId", "$ref": "ScriptId", "description": "Id of the script to run." },
333
- { "name": "executionContextId", "$ref": "ExecutionContextId", "optional": true, "description": "Specifies in which execution context to perform script run. If the parameter is omitted the evaluation will be performed in the context of the inspected page." },
334
- { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." },
335
- { "name": "silent", "type": "boolean", "optional": true, "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." },
336
- { "name": "includeCommandLineAPI", "type": "boolean", "optional": true, "description": "Determines whether Command Line API should be available during the evaluation." },
337
- { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object which should be sent by value." },
338
- { "name": "generatePreview", "type": "boolean", "optional": true, "description": "Whether preview should be generated for the result." },
339
- { "name": "awaitPromise", "type": "boolean", "optional": true, "description": "Whether execution should wait for promise to be resolved. If the result of evaluation is not a Promise, it's considered to be an error." }
340
- ],
341
- "returns": [
342
- { "name": "result", "$ref": "RemoteObject", "description": "Run result." },
343
- { "name": "exceptionDetails", "$ref": "ExceptionDetails", "optional": true, "description": "Exception details." }
344
- ],
345
- "description": "Runs script with given id in a given context."
346
- }
347
- ],
348
- "events": [
349
- {
350
- "name": "executionContextCreated",
351
- "parameters": [{ "name": "context", "$ref": "ExecutionContextDescription", "description": "A newly created execution contex." }],
352
- "description": "Issued when new execution context is created."
353
- },
354
- {
355
- "name": "executionContextDestroyed",
356
- "parameters": [{ "name": "executionContextId", "$ref": "ExecutionContextId", "description": "Id of the destroyed context" }],
357
- "description": "Issued when execution context is destroyed."
358
- },
359
- {
360
- "name": "executionContextsCleared",
361
- "description": "Issued when all executionContexts were cleared in browser"
362
- },
363
- {
364
- "name": "exceptionThrown",
365
- "description": "Issued when exception was thrown and unhandled.",
366
- "parameters": [
367
- { "name": "timestamp", "$ref": "Timestamp", "description": "Timestamp of the exception." },
368
- { "name": "exceptionDetails", "$ref": "ExceptionDetails" }
369
- ]
370
- },
371
- {
372
- "name": "exceptionRevoked",
373
- "description": "Issued when unhandled exception was revoked.",
374
- "parameters": [
375
- { "name": "reason", "type": "string", "description": "Reason describing why exception was revoked." },
376
- { "name": "exceptionId", "type": "integer", "description": "The id of revoked exception, as reported in <code>exceptionUnhandled</code>." }
377
- ]
378
- },
379
- {
380
- "name": "consoleAPICalled",
381
- "description": "Issued when console API was called.",
382
- "parameters": [
383
- { "name": "type", "type": "string", "enum": ["log", "debug", "info", "error", "warning", "dir", "dirxml", "table", "trace", "clear", "startGroup", "startGroupCollapsed", "endGroup", "assert", "profile", "profileEnd"], "description": "Type of the call." },
384
- { "name": "args", "type": "array", "items": { "$ref": "RemoteObject" }, "description": "Call arguments." },
385
- { "name": "executionContextId", "$ref": "ExecutionContextId", "description": "Identifier of the context where the call was made." },
386
- { "name": "timestamp", "$ref": "Timestamp", "description": "Call timestamp." },
387
- { "name": "stackTrace", "$ref": "StackTrace", "optional": true, "description": "Stack trace captured when the call was made." }
388
- ]
389
- },
390
- {
391
- "name": "inspectRequested",
392
- "description": "Issued when object should be inspected (for example, as a result of inspect() command line API call).",
393
- "parameters": [
394
- { "name": "object", "$ref": "RemoteObject" },
395
- { "name": "hints", "type": "object" }
396
- ]
397
- }
398
- ]
399
- },
400
- {
401
- "domain": "Debugger",
402
- "description": "Debugger domain exposes JavaScript debugging capabilities. It allows setting and removing breakpoints, stepping through execution, exploring stack traces, etc.",
403
- "dependencies": ["Runtime"],
404
- "types": [
405
- {
406
- "id": "BreakpointId",
407
- "type": "string",
408
- "description": "Breakpoint identifier."
409
- },
410
- {
411
- "id": "CallFrameId",
412
- "type": "string",
413
- "description": "Call frame identifier."
414
- },
415
- {
416
- "id": "Location",
417
- "type": "object",
418
- "properties": [
419
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Script identifier as reported in the <code>Debugger.scriptParsed</code>." },
420
- { "name": "lineNumber", "type": "integer", "description": "Line number in the script (0-based)." },
421
- { "name": "columnNumber", "type": "integer", "optional": true, "description": "Column number in the script (0-based)." }
422
- ],
423
- "description": "Location in the source code."
424
- },
425
- {
426
- "id": "ScriptPosition",
427
- "experimental": true,
428
- "type": "object",
429
- "properties": [
430
- { "name": "lineNumber", "type": "integer" },
431
- { "name": "columnNumber", "type": "integer" }
432
- ],
433
- "description": "Location in the source code."
434
- },
435
- {
436
- "id": "CallFrame",
437
- "type": "object",
438
- "properties": [
439
- { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier. This identifier is only valid while the virtual machine is paused." },
440
- { "name": "functionName", "type": "string", "description": "Name of the JavaScript function called on this call frame." },
441
- { "name": "functionLocation", "$ref": "Location", "optional": true, "experimental": true, "description": "Location in the source code." },
442
- { "name": "location", "$ref": "Location", "description": "Location in the source code." },
443
- { "name": "scopeChain", "type": "array", "items": { "$ref": "Scope" }, "description": "Scope chain for this call frame." },
444
- { "name": "this", "$ref": "Runtime.RemoteObject", "description": "<code>this</code> object for this call frame." },
445
- { "name": "returnValue", "$ref": "Runtime.RemoteObject", "optional": true, "description": "The value being returned, if the function is at return point." }
446
- ],
447
- "description": "JavaScript call frame. Array of call frames form the call stack."
448
- },
449
- {
450
- "id": "Scope",
451
- "type": "object",
452
- "properties": [
453
- { "name": "type", "type": "string", "enum": ["global", "local", "with", "closure", "catch", "block", "script"], "description": "Scope type." },
454
- { "name": "object", "$ref": "Runtime.RemoteObject", "description": "Object representing the scope. For <code>global</code> and <code>with</code> scopes it represents the actual object; for the rest of the scopes, it is artificial transient object enumerating scope variables as its properties." },
455
- { "name": "name", "type": "string", "optional": true },
456
- { "name": "startLocation", "$ref": "Location", "optional": true, "description": "Location in the source code where scope starts" },
457
- { "name": "endLocation", "$ref": "Location", "optional": true, "description": "Location in the source code where scope ends" }
458
- ],
459
- "description": "Scope description."
460
- },
461
- {
462
- "id": "SearchMatch",
463
- "type": "object",
464
- "description": "Search match for resource.",
465
- "exported": true,
466
- "properties": [
467
- { "name": "lineNumber", "type": "number", "description": "Line number in resource content." },
468
- { "name": "lineContent", "type": "string", "description": "Line with match content." }
469
- ],
470
- "experimental": true
471
- }
472
- ],
473
- "commands": [
474
- {
475
- "name": "enable",
476
- "description": "Enables debugger for the given page. Clients should not assume that the debugging has been enabled until the result for this command is received."
477
- },
478
- {
479
- "name": "disable",
480
- "description": "Disables debugger for given page."
481
- },
482
- {
483
- "name": "setBreakpointsActive",
484
- "parameters": [{ "name": "active", "type": "boolean", "description": "New value for breakpoints active state." }],
485
- "description": "Activates / deactivates all breakpoints on the page."
486
- },
487
- {
488
- "name": "setSkipAllPauses",
489
- "parameters": [{ "name": "skip", "type": "boolean", "description": "New value for skip pauses state." }],
490
- "description": "Makes page not interrupt on any pauses (breakpoint, exception, dom exception etc)."
491
- },
492
- {
493
- "name": "setBreakpointByUrl",
494
- "parameters": [
495
- { "name": "lineNumber", "type": "integer", "description": "Line number to set breakpoint at." },
496
- { "name": "url", "type": "string", "optional": true, "description": "URL of the resources to set breakpoint on." },
497
- { "name": "urlRegex", "type": "string", "optional": true, "description": "Regex pattern for the URLs of the resources to set breakpoints on. Either <code>url</code> or <code>urlRegex</code> must be specified." },
498
- { "name": "columnNumber", "type": "integer", "optional": true, "description": "Offset in the line to set breakpoint at." },
499
- { "name": "condition", "type": "string", "optional": true, "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true." }
500
- ],
501
- "returns": [
502
- { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
503
- { "name": "locations", "type": "array", "items": { "$ref": "Location" }, "description": "List of the locations this breakpoint resolved into upon addition." }
504
- ],
505
- "description": "Sets JavaScript breakpoint at given location specified either by URL or URL regex. Once this command is issued, all existing parsed scripts will have breakpoints resolved and returned in <code>locations</code> property. Further matching script parsing will result in subsequent <code>breakpointResolved</code> events issued. This logical breakpoint will survive page reloads."
506
- },
507
- {
508
- "name": "setBreakpoint",
509
- "parameters": [
510
- { "name": "location", "$ref": "Location", "description": "Location to set breakpoint in." },
511
- { "name": "condition", "type": "string", "optional": true, "description": "Expression to use as a breakpoint condition. When specified, debugger will only stop on the breakpoint if this expression evaluates to true." }
512
- ],
513
- "returns": [
514
- { "name": "breakpointId", "$ref": "BreakpointId", "description": "Id of the created breakpoint for further reference." },
515
- { "name": "actualLocation", "$ref": "Location", "description": "Location this breakpoint resolved into." }
516
- ],
517
- "description": "Sets JavaScript breakpoint at a given location."
518
- },
519
- {
520
- "name": "removeBreakpoint",
521
- "parameters": [{ "name": "breakpointId", "$ref": "BreakpointId" }],
522
- "description": "Removes JavaScript breakpoint."
523
- },
524
- {
525
- "name": "continueToLocation",
526
- "parameters": [{ "name": "location", "$ref": "Location", "description": "Location to continue to." }],
527
- "description": "Continues execution until specific location is reached."
528
- },
529
- {
530
- "name": "stepOver",
531
- "description": "Steps over the statement."
532
- },
533
- {
534
- "name": "stepInto",
535
- "description": "Steps into the function call."
536
- },
537
- {
538
- "name": "stepOut",
539
- "description": "Steps out of the function call."
540
- },
541
- {
542
- "name": "pause",
543
- "description": "Stops on the next JavaScript statement."
544
- },
545
- {
546
- "name": "resume",
547
- "description": "Resumes JavaScript execution."
548
- },
549
- {
550
- "name": "searchInContent",
551
- "parameters": [
552
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Id of the script to search in." },
553
- { "name": "query", "type": "string", "description": "String to search for." },
554
- { "name": "caseSensitive", "type": "boolean", "optional": true, "description": "If true, search is case sensitive." },
555
- { "name": "isRegex", "type": "boolean", "optional": true, "description": "If true, treats string parameter as regex." }
556
- ],
557
- "returns": [{ "name": "result", "type": "array", "items": { "$ref": "SearchMatch" }, "description": "List of search matches." }],
558
- "experimental": true,
559
- "description": "Searches for given string in script content."
560
- },
561
- {
562
- "name": "setScriptSource",
563
- "parameters": [
564
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Id of the script to edit." },
565
- { "name": "scriptSource", "type": "string", "description": "New content of the script." },
566
- { "name": "dryRun", "type": "boolean", "optional": true, "description": " If true the change will not actually be applied. Dry run may be used to get result description without actually modifying the code." }
567
- ],
568
- "returns": [
569
- { "name": "callFrames", "type": "array", "optional": true, "items": { "$ref": "CallFrame" }, "description": "New stack trace in case editing has happened while VM was stopped." },
570
- { "name": "stackChanged", "type": "boolean", "optional": true, "description": "Whether current call stack was modified after applying the changes." },
571
- { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": "Async stack trace, if any." },
572
- { "name": "exceptionDetails", "optional": true, "$ref": "Runtime.ExceptionDetails", "description": "Exception details if any." }
573
- ],
574
- "description": "Edits JavaScript source live."
575
- },
576
- {
577
- "name": "restartFrame",
578
- "parameters": [{ "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to evaluate on." }],
579
- "returns": [
580
- { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "New stack trace." },
581
- { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": "Async stack trace, if any." }
582
- ],
583
- "description": "Restarts particular call frame from the beginning."
584
- },
585
- {
586
- "name": "getScriptSource",
587
- "parameters": [{ "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Id of the script to get source for." }],
588
- "returns": [{ "name": "scriptSource", "type": "string", "description": "Script source." }],
589
- "description": "Returns source for the script with given id."
590
- },
591
- {
592
- "name": "setPauseOnExceptions",
593
- "parameters": [{ "name": "state", "type": "string", "enum": ["none", "uncaught", "all"], "description": "Pause on exceptions mode." }],
594
- "description": "Defines pause on exceptions state. Can be set to stop on all exceptions, uncaught exceptions or no exceptions. Initial pause on exceptions state is <code>none</code>."
595
- },
596
- {
597
- "name": "evaluateOnCallFrame",
598
- "parameters": [
599
- { "name": "callFrameId", "$ref": "CallFrameId", "description": "Call frame identifier to evaluate on." },
600
- { "name": "expression", "type": "string", "description": "Expression to evaluate." },
601
- { "name": "objectGroup", "type": "string", "optional": true, "description": "String object group name to put result into (allows rapid releasing resulting object handles using <code>releaseObjectGroup</code>)." },
602
- { "name": "includeCommandLineAPI", "type": "boolean", "optional": true, "description": "Specifies whether command line API should be available to the evaluated expression, defaults to false." },
603
- { "name": "silent", "type": "boolean", "optional": true, "description": "In silent mode exceptions thrown during evaluation are not reported and do not pause execution. Overrides <code>setPauseOnException</code> state." },
604
- { "name": "returnByValue", "type": "boolean", "optional": true, "description": "Whether the result is expected to be a JSON object that should be sent by value." },
605
- { "name": "generatePreview", "type": "boolean", "optional": true, "experimental": true, "description": "Whether preview should be generated for the result." }
606
- ],
607
- "returns": [
608
- { "name": "result", "$ref": "Runtime.RemoteObject", "description": "Object wrapper for the evaluation result." },
609
- { "name": "exceptionDetails", "$ref": "Runtime.ExceptionDetails", "optional": true, "description": "Exception details." }
610
- ],
611
- "description": "Evaluates expression on a given call frame."
612
- },
613
- {
614
- "name": "setVariableValue",
615
- "parameters": [
616
- { "name": "scopeNumber", "type": "integer", "description": "0-based number of scope as was listed in scope chain. Only 'local', 'closure' and 'catch' scope types are allowed. Other scopes could be manipulated manually." },
617
- { "name": "variableName", "type": "string", "description": "Variable name." },
618
- { "name": "newValue", "$ref": "Runtime.CallArgument", "description": "New variable value." },
619
- { "name": "callFrameId", "$ref": "CallFrameId", "description": "Id of callframe that holds variable." }
620
- ],
621
- "description": "Changes value of variable in a callframe. Object-based scopes are not supported and must be mutated manually."
622
- },
623
- {
624
- "name": "setAsyncCallStackDepth",
625
- "parameters": [{ "name": "maxDepth", "type": "integer", "description": "Maximum depth of async call stacks. Setting to <code>0</code> will effectively disable collecting async call stacks (default)." }],
626
- "description": "Enables or disables async call stacks tracking."
627
- },
628
- {
629
- "name": "setBlackboxPatterns",
630
- "parameters": [{ "name": "patterns", "type": "array", "items": { "type": "string" }, "description": "Array of regexps that will be used to check script url for blackbox state." }],
631
- "experimental": true,
632
- "description": "Replace previous blackbox patterns with passed ones. Forces backend to skip stepping/pausing in scripts with url matching one of the patterns. VM will try to leave blackboxed script by performing 'step in' several times, finally resorting to 'step out' if unsuccessful."
633
- },
634
- {
635
- "name": "setBlackboxedRanges",
636
- "parameters": [
637
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Id of the script." },
638
- { "name": "positions", "type": "array", "items": { "$ref": "ScriptPosition" } }
639
- ],
640
- "experimental": true,
641
- "description": "Makes backend skip steps in the script in blackboxed ranges. VM will try leave blacklisted scripts by performing 'step in' several times, finally resorting to 'step out' if unsuccessful. Positions array contains positions where blackbox state is changed. First interval isn't blackboxed. Array should be sorted."
642
- }
643
- ],
644
- "events": [
645
- {
646
- "name": "scriptParsed",
647
- "parameters": [
648
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Identifier of the script parsed." },
649
- { "name": "url", "type": "string", "description": "URL or name of the script parsed (if any)." },
650
- { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource with given URL (for script tags)." },
651
- { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." },
652
- { "name": "endLine", "type": "integer", "description": "Last line of the script." },
653
- { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." },
654
- { "name": "executionContextId", "$ref": "Runtime.ExecutionContextId", "description": "Specifies script creation context." },
655
- { "name": "hash", "type": "string", "description": "Content hash of the script." },
656
- { "name": "executionContextAuxData", "type": "object", "optional": true, "description": "Embedder-specific auxiliary data." },
657
- { "name": "isLiveEdit", "type": "boolean", "optional": true, "description": "True, if this script is generated as a result of the live edit operation.", "experimental": true },
658
- { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
659
- { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "experimental": true }
660
- ],
661
- "description": "Fired when virtual machine parses script. This event is also fired for all known and uncollected scripts upon enabling debugger."
662
- },
663
- {
664
- "name": "scriptFailedToParse",
665
- "parameters": [
666
- { "name": "scriptId", "$ref": "Runtime.ScriptId", "description": "Identifier of the script parsed." },
667
- { "name": "url", "type": "string", "description": "URL or name of the script parsed (if any)." },
668
- { "name": "startLine", "type": "integer", "description": "Line offset of the script within the resource with given URL (for script tags)." },
669
- { "name": "startColumn", "type": "integer", "description": "Column offset of the script within the resource with given URL." },
670
- { "name": "endLine", "type": "integer", "description": "Last line of the script." },
671
- { "name": "endColumn", "type": "integer", "description": "Length of the last line of the script." },
672
- { "name": "executionContextId", "$ref": "Runtime.ExecutionContextId", "description": "Specifies script creation context." },
673
- { "name": "hash", "type": "string", "description": "Content hash of the script." },
674
- { "name": "executionContextAuxData", "type": "object", "optional": true, "description": "Embedder-specific auxiliary data." },
675
- { "name": "sourceMapURL", "type": "string", "optional": true, "description": "URL of source map associated with script (if any)." },
676
- { "name": "hasSourceURL", "type": "boolean", "optional": true, "description": "True, if this script has sourceURL.", "experimental": true }
677
- ],
678
- "description": "Fired when virtual machine fails to parse the script."
679
- },
680
- {
681
- "name": "breakpointResolved",
682
- "parameters": [
683
- { "name": "breakpointId", "$ref": "BreakpointId", "description": "Breakpoint unique identifier." },
684
- { "name": "location", "$ref": "Location", "description": "Actual breakpoint location." }
685
- ],
686
- "description": "Fired when breakpoint is resolved to an actual script and location."
687
- },
688
- {
689
- "name": "paused",
690
- "parameters": [
691
- { "name": "callFrames", "type": "array", "items": { "$ref": "CallFrame" }, "description": "Call stack the virtual machine stopped on." },
692
- { "name": "reason", "type": "string", "enum": ["XHR", "DOM", "EventListener", "exception", "assert", "debugCommand", "promiseRejection", "other"], "description": "Pause reason.", "exported": true },
693
- { "name": "data", "type": "object", "optional": true, "description": "Object containing break-specific auxiliary properties." },
694
- { "name": "hitBreakpoints", "type": "array", "optional": true, "items": { "type": "string" }, "description": "Hit breakpoints IDs" },
695
- { "name": "asyncStackTrace", "$ref": "Runtime.StackTrace", "optional": true, "description": "Async stack trace, if any." }
696
- ],
697
- "description": "Fired when the virtual machine stopped on breakpoint or exception or any other stop criteria."
698
- },
699
- {
700
- "name": "resumed",
701
- "description": "Fired when the virtual machine resumed execution."
702
- }
703
- ]
704
- },
705
- {
706
- "domain": "Console",
707
- "description": "This domain is deprecated - use Runtime or Log instead.",
708
- "dependencies": ["Runtime"],
709
- "deprecated": true,
710
- "types": [
711
- {
712
- "id": "ConsoleMessage",
713
- "type": "object",
714
- "description": "Console message.",
715
- "properties": [
716
- { "name": "source", "type": "string", "enum": ["xml", "javascript", "network", "console-api", "storage", "appcache", "rendering", "security", "other", "deprecation", "worker"], "description": "Message source." },
717
- { "name": "level", "type": "string", "enum": ["log", "warning", "error", "debug", "info"], "description": "Message severity." },
718
- { "name": "text", "type": "string", "description": "Message text." },
719
- { "name": "url", "type": "string", "optional": true, "description": "URL of the message origin." },
720
- { "name": "line", "type": "integer", "optional": true, "description": "Line number in the resource that generated this message (1-based)." },
721
- { "name": "column", "type": "integer", "optional": true, "description": "Column number in the resource that generated this message (1-based)." }
722
- ]
723
- }
724
- ],
725
- "commands": [
726
- {
727
- "name": "enable",
728
- "description": "Enables console domain, sends the messages collected so far to the client by means of the <code>messageAdded</code> notification."
729
- },
730
- {
731
- "name": "disable",
732
- "description": "Disables console domain, prevents further console messages from being reported to the client."
733
- },
734
- {
735
- "name": "clearMessages",
736
- "description": "Does nothing."
737
- }
738
- ],
739
- "events": [
740
- {
741
- "name": "messageAdded",
742
- "parameters": [{ "name": "message", "$ref": "ConsoleMessage", "description": "Console message that has been added." }],
743
- "description": "Issued when new console message is added."
744
- }
745
- ]
746
- },
747
- {
748
- "domain": "Profiler",
749
- "dependencies": ["Runtime", "Debugger"],
750
- "types": [
751
- {
752
- "id": "ProfileNode",
753
- "type": "object",
754
- "description": "Profile node. Holds callsite information, execution statistics and child nodes.",
755
- "properties": [
756
- { "name": "id", "type": "integer", "description": "Unique id of the node." },
757
- { "name": "callFrame", "$ref": "Runtime.CallFrame", "description": "Function location." },
758
- { "name": "hitCount", "type": "integer", "optional": true, "experimental": true, "description": "Number of samples where this node was on top of the call stack." },
759
- { "name": "children", "type": "array", "items": { "type": "integer" }, "optional": true, "description": "Child node ids." },
760
- { "name": "deoptReason", "type": "string", "optional": true, "description": "The reason of being not optimized. The function may be deoptimized or marked as don't optimize." },
761
- { "name": "positionTicks", "type": "array", "items": { "$ref": "PositionTickInfo" }, "optional": true, "experimental": true, "description": "An array of source position ticks." }
762
- ]
763
- },
764
- {
765
- "id": "Profile",
766
- "type": "object",
767
- "description": "Profile.",
768
- "properties": [
769
- { "name": "nodes", "type": "array", "items": { "$ref": "ProfileNode" }, "description": "The list of profile nodes. First item is the root node." },
770
- { "name": "startTime", "type": "number", "description": "Profiling start timestamp in microseconds." },
771
- { "name": "endTime", "type": "number", "description": "Profiling end timestamp in microseconds." },
772
- { "name": "samples", "optional": true, "type": "array", "items": { "type": "integer" }, "description": "Ids of samples top nodes." },
773
- { "name": "timeDeltas", "optional": true, "type": "array", "items": { "type": "integer" }, "description": "Time intervals between adjacent samples in microseconds. The first delta is relative to the profile startTime." }
774
- ]
775
- },
776
- {
777
- "id": "PositionTickInfo",
778
- "type": "object",
779
- "experimental": true,
780
- "description": "Specifies a number of samples attributed to a certain source position.",
781
- "properties": [
782
- { "name": "line", "type": "integer", "description": "Source line number (1-based)." },
783
- { "name": "ticks", "type": "integer", "description": "Number of samples attributed to the source line." }
784
- ]
785
- }
786
- ],
787
- "commands": [
788
- {
789
- "name": "enable"
790
- },
791
- {
792
- "name": "disable"
793
- },
794
- {
795
- "name": "setSamplingInterval",
796
- "parameters": [{ "name": "interval", "type": "integer", "description": "New sampling interval in microseconds." }],
797
- "description": "Changes CPU profiler sampling interval. Must be called before CPU profiles recording started."
798
- },
799
- {
800
- "name": "start"
801
- },
802
- {
803
- "name": "stop",
804
- "returns": [{ "name": "profile", "$ref": "Profile", "description": "Recorded profile." }]
805
- }
806
- ],
807
- "events": [
808
- {
809
- "name": "consoleProfileStarted",
810
- "parameters": [
811
- { "name": "id", "type": "string" },
812
- { "name": "location", "$ref": "Debugger.Location", "description": "Location of console.profile()." },
813
- { "name": "title", "type": "string", "optional": true, "description": "Profile title passed as an argument to console.profile()." }
814
- ],
815
- "description": "Sent when new profile recodring is started using console.profile() call."
816
- },
817
- {
818
- "name": "consoleProfileFinished",
819
- "parameters": [
820
- { "name": "id", "type": "string" },
821
- { "name": "location", "$ref": "Debugger.Location", "description": "Location of console.profileEnd()." },
822
- { "name": "profile", "$ref": "Profile" },
823
- { "name": "title", "type": "string", "optional": true, "description": "Profile title passed as an argument to console.profile()." }
824
- ]
825
- }
826
- ]
827
- },
828
- {
829
- "domain": "HeapProfiler",
830
- "dependencies": ["Runtime"],
831
- "experimental": true,
832
- "types": [
833
- {
834
- "id": "HeapSnapshotObjectId",
835
- "type": "string",
836
- "description": "Heap snapshot object id."
837
- },
838
- {
839
- "id": "SamplingHeapProfileNode",
840
- "type": "object",
841
- "description": "Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.",
842
- "properties": [
843
- { "name": "callFrame", "$ref": "Runtime.CallFrame", "description": "Function location." },
844
- { "name": "selfSize", "type": "number", "description": "Allocations size in bytes for the node excluding children." },
845
- { "name": "children", "type": "array", "items": { "$ref": "SamplingHeapProfileNode" }, "description": "Child nodes." }
846
- ]
847
- },
848
- {
849
- "id": "SamplingHeapProfile",
850
- "type": "object",
851
- "description": "Profile.",
852
- "properties": [{ "name": "head", "$ref": "SamplingHeapProfileNode" }]
853
- }
854
- ],
855
- "commands": [
856
- {
857
- "name": "enable"
858
- },
859
- {
860
- "name": "disable"
861
- },
862
- {
863
- "name": "startTrackingHeapObjects",
864
- "parameters": [{ "name": "trackAllocations", "type": "boolean", "optional": true }]
865
- },
866
- {
867
- "name": "stopTrackingHeapObjects",
868
- "parameters": [{ "name": "reportProgress", "type": "boolean", "optional": true, "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken when the tracking is stopped." }]
869
- },
870
- {
871
- "name": "takeHeapSnapshot",
872
- "parameters": [{ "name": "reportProgress", "type": "boolean", "optional": true, "description": "If true 'reportHeapSnapshotProgress' events will be generated while snapshot is being taken." }]
873
- },
874
- {
875
- "name": "collectGarbage"
876
- },
877
- {
878
- "name": "getObjectByHeapObjectId",
879
- "parameters": [
880
- { "name": "objectId", "$ref": "HeapSnapshotObjectId" },
881
- { "name": "objectGroup", "type": "string", "optional": true, "description": "Symbolic group name that can be used to release multiple objects." }
882
- ],
883
- "returns": [{ "name": "result", "$ref": "Runtime.RemoteObject", "description": "Evaluation result." }]
884
- },
885
- {
886
- "name": "addInspectedHeapObject",
887
- "parameters": [{ "name": "heapObjectId", "$ref": "HeapSnapshotObjectId", "description": "Heap snapshot object id to be accessible by means of $x command line API." }],
888
- "description": "Enables console to refer to the node with given id via $x (see Command Line API for more details $x functions)."
889
- },
890
- {
891
- "name": "getHeapObjectId",
892
- "parameters": [{ "name": "objectId", "$ref": "Runtime.RemoteObjectId", "description": "Identifier of the object to get heap object id for." }],
893
- "returns": [{ "name": "heapSnapshotObjectId", "$ref": "HeapSnapshotObjectId", "description": "Id of the heap snapshot object corresponding to the passed remote object id." }]
894
- },
895
- {
896
- "name": "startSampling",
897
- "parameters": [{ "name": "samplingInterval", "type": "number", "optional": true, "description": "Average sample interval in bytes. Poisson distribution is used for the intervals. The default value is 32768 bytes." }]
898
- },
899
- {
900
- "name": "stopSampling",
901
- "returns": [{ "name": "profile", "$ref": "SamplingHeapProfile", "description": "Recorded sampling heap profile." }]
902
- }
903
- ],
904
- "events": [
905
- {
906
- "name": "addHeapSnapshotChunk",
907
- "parameters": [{ "name": "chunk", "type": "string" }]
908
- },
909
- {
910
- "name": "resetProfiles"
911
- },
912
- {
913
- "name": "reportHeapSnapshotProgress",
914
- "parameters": [
915
- { "name": "done", "type": "integer" },
916
- { "name": "total", "type": "integer" },
917
- { "name": "finished", "type": "boolean", "optional": true }
918
- ]
919
- },
920
- {
921
- "name": "lastSeenObjectId",
922
- "description": "If heap objects tracking has been started then backend regulary sends a current value for last seen object id and corresponding timestamp. If the were changes in the heap since last event then one or more heapStatsUpdate events will be sent before a new lastSeenObjectId event.",
923
- "parameters": [
924
- { "name": "lastSeenObjectId", "type": "integer" },
925
- { "name": "timestamp", "type": "number" }
926
- ]
927
- },
928
- {
929
- "name": "heapStatsUpdate",
930
- "description": "If heap objects tracking has been started then backend may send update for one or more fragments",
931
- "parameters": [{ "name": "statsUpdate", "type": "array", "items": { "type": "integer" }, "description": "An array of triplets. Each triplet describes a fragment. The first integer is the fragment index, the second integer is a total count of objects for the fragment, the third integer is a total size of the objects for the fragment." }]
932
- }
933
- ]
934
- }
935
- ]
936
- }