@triniwiz/nativescript-masonkit 1.0.0-alpha.12 → 1.0.0-alpha.14

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 (323) hide show
  1. package/common.js.map +1 -1
  2. package/helpers.d.ts +5 -5
  3. package/helpers.js +0 -3
  4. package/helpers.js.map +1 -1
  5. package/index.android.js +2 -2
  6. package/index.android.js.map +1 -1
  7. package/index.ios.js +2 -2
  8. package/index.ios.js.map +1 -1
  9. package/package.json +2 -2
  10. package/platforms/android/masonkit-release.aar +0 -0
  11. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  12. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +4559 -1456
  13. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  14. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1932 -1932
  15. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  16. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +4559 -1456
  17. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +4559 -1456
  18. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  19. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +1932 -1932
  20. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +1883 -1883
  21. package/style.d.ts +1 -1
  22. package/style.js +0 -1
  23. package/style.js.map +1 -1
  24. package/node.d.ts +0 -2
  25. package/node.js +0 -3
  26. package/node.js.map +0 -1
  27. package/platforms/ios/Podfile +0 -1
  28. package/platforms/ios/build.xcconfig +0 -5
  29. package/platforms/ios/prebuild.sh +0 -101
  30. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  31. package/platforms/new_native_src/cpp/Caches.h +0 -42
  32. package/platforms/new_native_src/cpp/Common.h +0 -34
  33. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  34. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  35. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  36. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  37. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  38. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  39. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  40. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  41. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  42. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  43. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  44. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  45. package/src-native/pods/Headers/include/DEPS +0 -10
  46. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  47. package/src-native/pods/Headers/include/OWNERS +0 -23
  48. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  49. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  50. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  51. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  52. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  53. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  54. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  55. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  56. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  57. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  58. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  59. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  60. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  61. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  62. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  63. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  64. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  65. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  66. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  67. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  68. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  69. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  70. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  71. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  72. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  73. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  74. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  75. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  76. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  77. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  78. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  79. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  80. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  81. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  82. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  83. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  84. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  85. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  86. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  87. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  88. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  89. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  90. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  91. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  92. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  93. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  94. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  95. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  96. package/src-native/pods/Headers/include/libffi.h +0 -12
  97. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  98. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  99. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  100. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  101. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  102. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  103. package/src-native/pods/Headers/include/v8-container.h +0 -129
  104. package/src-native/pods/Headers/include/v8-context.h +0 -407
  105. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  106. package/src-native/pods/Headers/include/v8-data.h +0 -80
  107. package/src-native/pods/Headers/include/v8-date.h +0 -43
  108. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  109. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  110. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  111. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  112. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  113. package/src-native/pods/Headers/include/v8-external.h +0 -37
  114. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  115. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  116. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  117. package/src-native/pods/Headers/include/v8-function.h +0 -125
  118. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  119. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  120. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  121. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  122. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  123. package/src-native/pods/Headers/include/v8-json.h +0 -47
  124. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  125. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  126. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  127. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  128. package/src-native/pods/Headers/include/v8-message.h +0 -216
  129. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  130. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  131. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  132. package/src-native/pods/Headers/include/v8-object.h +0 -775
  133. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  134. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  135. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  136. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  137. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  138. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  139. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  140. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  141. package/src-native/pods/Headers/include/v8-script.h +0 -748
  142. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  143. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  144. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  145. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  146. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  147. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  148. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  149. package/src-native/pods/Headers/include/v8-util.h +0 -658
  150. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  151. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  152. package/src-native/pods/Headers/include/v8-value.h +0 -526
  153. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  154. package/src-native/pods/Headers/include/v8-version.h +0 -20
  155. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  156. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  157. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  158. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  159. package/src-native/pods/Headers/include/v8.h +0 -88
  160. package/src-native/pods/Headers/include/v8config.h +0 -605
  161. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  162. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  163. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  164. package/src-native/pods/Headers/inspector/base64.h +0 -9
  165. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  166. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  167. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  168. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  169. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  170. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  171. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  172. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  173. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  174. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  175. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  176. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  177. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  178. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  179. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  180. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  181. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  182. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  183. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  184. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  185. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  186. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  187. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  188. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  189. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  190. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  191. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  192. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  193. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  194. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  195. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  196. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  197. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  198. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  199. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  200. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  201. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  202. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  203. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  204. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  205. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  206. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  207. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  208. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  209. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  210. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  211. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  212. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  213. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  214. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  215. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  216. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  217. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  225. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  226. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  227. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  228. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  229. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  230. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  231. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  232. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  233. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  234. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  235. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  236. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  237. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  238. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  239. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  240. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  241. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  242. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  243. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  244. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  245. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  246. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  247. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  248. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  249. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  250. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  251. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  252. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  253. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  254. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  255. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  256. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  257. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  258. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  259. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  260. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  261. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  262. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  263. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  264. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  265. package/src-native/pods/Headers/inspector/utils.h +0 -32
  266. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  267. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  268. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  269. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  270. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  271. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  272. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  273. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  274. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  275. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  276. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  277. package/src-native/pods/Headers/runtime/Common.h +0 -9
  278. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  279. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  280. package/src-native/pods/Headers/runtime/Console.h +0 -27
  281. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  282. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  283. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  284. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  285. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  286. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  287. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  288. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  289. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  290. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  291. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  292. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  293. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  294. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  295. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  296. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  297. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  298. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  299. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  300. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  301. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  302. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  303. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  304. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  305. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  306. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  307. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  308. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  309. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  310. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  311. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  312. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  313. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  314. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  315. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  316. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  317. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  318. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  319. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  320. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  321. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  322. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  323. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,156 +0,0 @@
1
- // Copyright 2016 the V8 project 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
- #ifndef V8_INSPECTOR_V8_INSPECTOR_SESSION_IMPL_H_
6
- #define V8_INSPECTOR_V8_INSPECTOR_SESSION_IMPL_H_
7
-
8
- #include <memory>
9
- #include <vector>
10
-
11
- #include "src/base/macros.h"
12
- #include "src/inspector/protocol/Forward.h"
13
- #include "src/inspector/protocol/Runtime.h"
14
- #include "src/inspector/protocol/Schema.h"
15
-
16
- #include "src/inspector/v8-css-agent-impl.h"
17
- #include "src/inspector/v8-dom-agent-impl.h"
18
- #include "src/inspector/v8-log-agent-impl.h"
19
- #include "src/inspector/v8-network-agent-impl.h"
20
- #include "src/inspector/v8-overlay-agent-impl.h"
21
- #include "src/inspector/v8-page-agent-impl.h"
22
-
23
- #include "include/v8-inspector.h"
24
-
25
- namespace v8_inspector {
26
-
27
- class InjectedScript;
28
- class RemoteObjectIdBase;
29
- class V8ConsoleAgentImpl;
30
- class V8DebuggerAgentImpl;
31
- class V8InspectorImpl;
32
- class V8HeapProfilerAgentImpl;
33
- class V8ProfilerAgentImpl;
34
- class V8RuntimeAgentImpl;
35
- class V8SchemaAgentImpl;
36
-
37
- using protocol::Response;
38
-
39
- class V8InspectorSessionImpl : public V8InspectorSession,
40
- public protocol::FrontendChannel {
41
- public:
42
- static std::unique_ptr<V8InspectorSessionImpl> create(V8InspectorImpl*,
43
- int contextGroupId,
44
- int sessionId,
45
- V8Inspector::Channel*,
46
- StringView state);
47
- ~V8InspectorSessionImpl() override;
48
- V8InspectorSessionImpl(const V8InspectorSessionImpl&) = delete;
49
- V8InspectorSessionImpl& operator=(const V8InspectorSessionImpl&) = delete;
50
-
51
- V8InspectorImpl* inspector() const { return m_inspector; }
52
- V8ConsoleAgentImpl* consoleAgent() { return m_consoleAgent.get(); }
53
- V8DebuggerAgentImpl* debuggerAgent() { return m_debuggerAgent.get(); }
54
- V8SchemaAgentImpl* schemaAgent() { return m_schemaAgent.get(); }
55
- V8ProfilerAgentImpl* profilerAgent() { return m_profilerAgent.get(); }
56
- V8RuntimeAgentImpl* runtimeAgent() { return m_runtimeAgent.get(); }
57
- V8NetworkAgentImpl* networkArgent() { return m_networkAgent.get(); }
58
- V8DOMAgentImpl* domArgent() { return m_domAgent.get(); }
59
- int contextGroupId() const { return m_contextGroupId; }
60
- int sessionId() const { return m_sessionId; }
61
-
62
- std::unique_ptr<V8InspectorSession::CommandLineAPIScope>
63
- initializeCommandLineAPIScope(int executionContextId) override;
64
-
65
- Response findInjectedScript(int contextId, InjectedScript*&);
66
- Response findInjectedScript(RemoteObjectIdBase*, InjectedScript*&);
67
- void reset();
68
- void discardInjectedScripts();
69
- void reportAllContexts(V8RuntimeAgentImpl*);
70
- void setCustomObjectFormatterEnabled(bool);
71
- std::unique_ptr<protocol::Runtime::RemoteObject> wrapObject(
72
- v8::Local<v8::Context>, v8::Local<v8::Value>, const String16& groupName,
73
- bool generatePreview);
74
- std::unique_ptr<protocol::Runtime::RemoteObject> wrapTable(
75
- v8::Local<v8::Context>, v8::Local<v8::Object> table,
76
- v8::MaybeLocal<v8::Array> columns);
77
- std::vector<std::unique_ptr<protocol::Schema::Domain>> supportedDomainsImpl();
78
- Response unwrapObject(const String16& objectId, v8::Local<v8::Value>*,
79
- v8::Local<v8::Context>*, String16* objectGroup);
80
- void releaseObjectGroup(const String16& objectGroup);
81
-
82
- // V8InspectorSession implementation.
83
- void dispatchProtocolMessage(StringView message) override;
84
- std::vector<uint8_t> state() override;
85
- std::vector<std::unique_ptr<protocol::Schema::API::Domain>> supportedDomains()
86
- override;
87
- void addInspectedObject(
88
- std::unique_ptr<V8InspectorSession::Inspectable>) override;
89
- void schedulePauseOnNextStatement(StringView breakReason,
90
- StringView breakDetails) override;
91
- void cancelPauseOnNextStatement() override;
92
- void breakProgram(StringView breakReason, StringView breakDetails) override;
93
- void setSkipAllPauses(bool) override;
94
- void resume(bool terminateOnResume = false) override;
95
- void stepOver() override;
96
- std::vector<std::unique_ptr<protocol::Debugger::API::SearchMatch>>
97
- searchInTextByLines(StringView text, StringView query, bool caseSensitive,
98
- bool isRegex) override;
99
- void releaseObjectGroup(StringView objectGroup) override;
100
- bool unwrapObject(std::unique_ptr<StringBuffer>*, StringView objectId,
101
- v8::Local<v8::Value>*, v8::Local<v8::Context>*,
102
- std::unique_ptr<StringBuffer>* objectGroup) override;
103
- std::unique_ptr<protocol::Runtime::API::RemoteObject> wrapObject(
104
- v8::Local<v8::Context>, v8::Local<v8::Value>, StringView groupName,
105
- bool generatePreview) override;
106
-
107
- V8InspectorSession::Inspectable* inspectedObject(unsigned num);
108
- static const unsigned kInspectedObjectBufferSize = 5;
109
-
110
- void triggerPreciseCoverageDeltaUpdate(StringView occassion) override;
111
-
112
- private:
113
- V8InspectorSessionImpl(V8InspectorImpl*, int contextGroupId, int sessionId,
114
- V8Inspector::Channel*, StringView state);
115
- protocol::DictionaryValue* agentState(const String16& name);
116
-
117
- // protocol::FrontendChannel implementation.
118
- void SendProtocolResponse(
119
- int callId, std::unique_ptr<protocol::Serializable> message) override;
120
- void SendProtocolNotification(
121
- std::unique_ptr<protocol::Serializable> message) override;
122
- void FallThrough(int callId, v8_crdtp::span<uint8_t> method,
123
- v8_crdtp::span<uint8_t> message) override;
124
- void FlushProtocolNotifications() override;
125
-
126
- std::unique_ptr<StringBuffer> serializeForFrontend(
127
- std::unique_ptr<protocol::Serializable> message);
128
- int m_contextGroupId;
129
- int m_sessionId;
130
- V8InspectorImpl* m_inspector;
131
- V8Inspector::Channel* m_channel;
132
- bool m_customObjectFormatterEnabled;
133
-
134
- protocol::UberDispatcher m_dispatcher;
135
- std::unique_ptr<protocol::DictionaryValue> m_state;
136
-
137
- std::unique_ptr<V8RuntimeAgentImpl> m_runtimeAgent;
138
- std::unique_ptr<V8DebuggerAgentImpl> m_debuggerAgent;
139
- std::unique_ptr<V8HeapProfilerAgentImpl> m_heapProfilerAgent;
140
- std::unique_ptr<V8ProfilerAgentImpl> m_profilerAgent;
141
- std::unique_ptr<V8ConsoleAgentImpl> m_consoleAgent;
142
- std::unique_ptr<V8SchemaAgentImpl> m_schemaAgent;
143
- std::unique_ptr<V8PageAgentImpl> m_pageAgent;
144
- std::unique_ptr<V8NetworkAgentImpl> m_networkAgent;
145
- std::unique_ptr<V8DOMAgentImpl> m_domAgent;
146
- std::unique_ptr<V8CSSAgentImpl> m_cssAgent;
147
- std::unique_ptr<V8OverlayAgentImpl> m_overlayAgent;
148
- std::unique_ptr<V8LogAgentImpl> m_logAgent;
149
- std::vector<std::unique_ptr<V8InspectorSession::Inspectable>>
150
- m_inspectedObjects;
151
- bool use_binary_protocol_ = false;
152
- };
153
-
154
- } // namespace v8_inspector
155
-
156
- #endif // V8_INSPECTOR_V8_INSPECTOR_SESSION_IMPL_H_
@@ -1,34 +0,0 @@
1
- #ifndef v8_log_agent_impl_h
2
- #define v8_log_agent_impl_h
3
-
4
- #include "src/inspector/protocol/Log.h"
5
-
6
- namespace v8_inspector {
7
-
8
- class V8InspectorSessionImpl;
9
-
10
- using v8_inspector::protocol::DispatchResponse;
11
-
12
- class V8LogAgentImpl : public protocol::Log::Backend {
13
- public:
14
- V8LogAgentImpl(V8InspectorSessionImpl* session, protocol::FrontendChannel* frontend, protocol::DictionaryValue* state);
15
- ~V8LogAgentImpl() override;
16
- DispatchResponse enable() override;
17
- DispatchResponse disable() override;
18
- DispatchResponse clear() override;
19
- DispatchResponse startViolationsReport(std::unique_ptr<protocol::Array<protocol::Log::ViolationSetting>> in_config) override;
20
- DispatchResponse stopViolationsReport() override;
21
-
22
- static void EntryAdded(const std::string& text, std::string verbosityLevel, std::string url, int lineNumber);
23
-
24
- private:
25
- protocol::Log::Frontend m_frontend;
26
- protocol::DictionaryValue* m_state;
27
- bool m_enabled;
28
-
29
- static V8LogAgentImpl* instance_;
30
- };
31
-
32
- }
33
-
34
- #endif /* v8_log_agent_impl_h */
@@ -1,71 +0,0 @@
1
- #ifndef v8_network_agent_impl_h
2
- #define v8_network_agent_impl_h
3
-
4
- #include <string>
5
- #include <map>
6
- #include "utils.h"
7
- #include "src/inspector/v8-inspector-impl.h"
8
- #include "src/inspector/protocol/Network.h"
9
- #include "src/inspector/protocol/Protocol.h"
10
-
11
- namespace v8_inspector {
12
-
13
- class V8InspectorSessionImpl;
14
-
15
- using v8_inspector::protocol::Maybe;
16
- using String = v8_inspector::String16;
17
- using v8_inspector::protocol::DispatchResponse;
18
-
19
- class V8NetworkAgentImpl : public protocol::Network::Backend {
20
- public:
21
- V8NetworkAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
22
- protocol::DictionaryValue* state);
23
- ~V8NetworkAgentImpl() override;
24
- V8NetworkAgentImpl(const V8NetworkAgentImpl&) = delete;
25
- V8NetworkAgentImpl& operator=(const V8NetworkAgentImpl&) = delete;
26
-
27
- DispatchResponse enable(Maybe<int> in_maxTotalBufferSize, Maybe<int> in_maxResourceBufferSize, Maybe<int> in_maxPostDataSize) override;
28
- DispatchResponse disable() override;
29
-
30
- DispatchResponse setExtraHTTPHeaders(std::unique_ptr<protocol::Network::Headers> in_headers) override;
31
-
32
- /*
33
- * Returns content served for the given request.
34
- * The content of each response is stored in `m_responses` when a request completes.
35
- * @param in_requestId
36
- */
37
- void getResponseBody(const String& in_requestId, std::unique_ptr<GetResponseBodyCallback> callback) override;
38
-
39
- DispatchResponse setCacheDisabled(bool in_cacheDisabled) override;
40
-
41
- DispatchResponse canClearBrowserCache(bool* out_result) override;
42
- DispatchResponse canClearBrowserCookies(bool* out_result) override;
43
- DispatchResponse emulateNetworkConditions(bool in_offline, double in_latency, double in_downloadThroughput, double in_uploadThroughput, Maybe<String> in_connectionType) override;
44
- DispatchResponse getCertificate(const String& in_origin, std::unique_ptr<protocol::Array<String>>* out_tableNames) override;
45
- void getRequestPostData(const String& in_requestId, std::unique_ptr<GetRequestPostDataCallback> callback) override;
46
- DispatchResponse replayXHR(const String& in_requestId) override;
47
- DispatchResponse searchInResponseBody(const String& in_requestId, const String& in_query, Maybe<bool> in_caseSensitive, Maybe<bool> in_isRegex, std::unique_ptr<protocol::Array<protocol::Debugger::SearchMatch>>* out_result) override;
48
- DispatchResponse setBlockedURLs(std::unique_ptr<protocol::Array<String>> in_urls) override;
49
- DispatchResponse setBypassServiceWorker(bool in_bypass) override;
50
- DispatchResponse setDataSizeLimitsForTest(int in_maxTotalSize, int in_maxResourceSize) override;
51
-
52
- const bool enabled() {
53
- return m_enabled;
54
- };
55
-
56
- void dispatch(std::string message);
57
- private:
58
- protocol::Network::Frontend m_frontend;
59
- protocol::DictionaryValue* m_state;
60
- V8InspectorImpl* m_inspector;
61
- V8InspectorSessionImpl* m_session;
62
- bool m_enabled;
63
-
64
- void RequestWillBeSent(const v8::Local<v8::Object>& obj);
65
- void ResponseReceived(const v8::Local<v8::Object>& obj);
66
- void LoadingFinished(const v8::Local<v8::Object>& obj);
67
- };
68
-
69
- }
70
-
71
- #endif /* v8_network_agent_impl_h */
@@ -1,24 +0,0 @@
1
- #ifndef NSV8DebuggerAgentImpl_h
2
- #define NSV8DebuggerAgentImpl_h
3
-
4
- #include "src/inspector/v8-debugger-agent-impl.h"
5
-
6
- namespace v8_inspector {
7
-
8
- class NSV8DebuggerAgentImpl : public V8DebuggerAgentImpl {
9
- public:
10
- NSV8DebuggerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue *state);
11
-
12
- NSV8DebuggerAgentImpl(const NSV8DebuggerAgentImpl&) = delete;
13
- NSV8DebuggerAgentImpl& operator=(const NSV8DebuggerAgentImpl&) = delete;
14
-
15
- Response getPossibleBreakpoints(
16
- std::unique_ptr<protocol::Debugger::Location> start,
17
- Maybe<protocol::Debugger::Location> end,
18
- Maybe<bool> restrictToFunction,
19
- std::unique_ptr<protocol::Array<protocol::Debugger::BreakLocation>>* locations) override;
20
- };
21
-
22
- }
23
-
24
- #endif /* NSV8DebuggerAgentImpl_h */
@@ -1,70 +0,0 @@
1
- #ifndef v8_overlay_agent_impl_h
2
- #define v8_overlay_agent_impl_h
3
-
4
- #include "src/inspector/protocol/Overlay.h"
5
-
6
- namespace v8_inspector {
7
-
8
- class V8InspectorSessionImpl;
9
-
10
- using v8_inspector::protocol::Maybe;
11
- using String = v8_inspector::String16;
12
- using v8_inspector::protocol::DispatchResponse;
13
-
14
-
15
- class V8OverlayAgentImpl : public protocol::Overlay::Backend {
16
- public:
17
- V8OverlayAgentImpl(V8InspectorSessionImpl *, protocol::FrontendChannel *,
18
- protocol::DictionaryValue *state);
19
-
20
- ~V8OverlayAgentImpl() override;
21
- V8OverlayAgentImpl(const V8OverlayAgentImpl&) = delete;
22
- V8OverlayAgentImpl& operator=(const V8OverlayAgentImpl&) = delete;
23
-
24
- DispatchResponse enable() override;
25
- DispatchResponse disable() override;
26
- DispatchResponse setShowFPSCounter(bool in_show) override;
27
- DispatchResponse setPausedInDebuggerMessage(const Maybe<String> in_message) override;
28
- DispatchResponse setShowAdHighlights(bool in_show) override;
29
-
30
- DispatchResponse
31
- highlightNode(std::unique_ptr<protocol::Overlay::HighlightConfig> in_highlightConfig,
32
- Maybe<int> in_nodeId, Maybe<int> in_backendNodeId, Maybe<String> in_objectId,
33
- Maybe<String> in_selector) override;
34
-
35
- DispatchResponse
36
- highlightFrame(const String &in_frameId, Maybe<protocol::DOM::RGBA> in_contentColor,
37
- Maybe<protocol::DOM::RGBA> in_contentOutlineColor) override;
38
-
39
- DispatchResponse hideHighlight() override;
40
-
41
- DispatchResponse getHighlightObjectForTest(int in_nodeId,
42
- Maybe<bool> in_includeDistance, Maybe<bool> in_includeStyle, std::unique_ptr<protocol::DictionaryValue>* out_highlight) override;
43
-
44
- DispatchResponse highlightQuad(std::unique_ptr<protocol::Array<double>> in_quad,
45
- Maybe<protocol::DOM::RGBA> in_color,
46
- Maybe<protocol::DOM::RGBA> in_outlineColor) override;
47
-
48
- DispatchResponse highlightRect(int in_x, int in_y, int in_width, int in_height,
49
- Maybe<protocol::DOM::RGBA> in_color,
50
- Maybe<protocol::DOM::RGBA> in_outlineColor) override;
51
-
52
- DispatchResponse setInspectMode(const String &in_mode,
53
- Maybe<protocol::Overlay::HighlightConfig> in_highlightConfig) override;
54
-
55
- DispatchResponse setShowDebugBorders(bool in_show) override;
56
- DispatchResponse setShowPaintRects(bool in_result) override;
57
- DispatchResponse setShowScrollBottleneckRects(bool in_show) override;
58
- DispatchResponse setShowHitTestBorders(bool in_show) override;
59
- DispatchResponse setShowViewportSizeOnResize(bool in_show) override;
60
- DispatchResponse setShowLayoutShiftRegions(bool in_result) override;
61
-
62
- private:
63
- protocol::Overlay::Frontend m_frontend;
64
- protocol::DictionaryValue *m_state;
65
- bool m_enabled;
66
- };
67
-
68
- }
69
-
70
- #endif /* v8_overlay_agent_impl_h */
@@ -1,88 +0,0 @@
1
- #ifndef v8_page_agent_impl_h
2
- #define v8_page_agent_impl_h
3
-
4
- #include <vector>
5
- #include <map>
6
- #include "src/inspector/protocol/Page.h"
7
- #include "src/inspector/protocol/Protocol.h"
8
-
9
- namespace v8_inspector {
10
-
11
- class V8InspectorImpl;
12
- class V8InspectorSessionImpl;
13
-
14
- using v8_inspector::protocol::Maybe;
15
- using String = v8_inspector::String16;
16
- using protocol::DispatchResponse;
17
-
18
- class V8PageAgentImpl : public protocol::Page::Backend {
19
- public:
20
- V8PageAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*, protocol::DictionaryValue* state);
21
- ~V8PageAgentImpl() override;
22
- V8PageAgentImpl(const V8PageAgentImpl&) = delete;
23
- V8PageAgentImpl& operator=(const V8PageAgentImpl&) = delete;
24
-
25
- DispatchResponse enable() override;
26
- DispatchResponse disable() override;
27
- DispatchResponse addScriptToEvaluateOnLoad(const String& in_scriptSource, String* out_identifier) override;
28
- DispatchResponse removeScriptToEvaluateOnLoad(const String& in_identifier) override;
29
- DispatchResponse reload(Maybe<bool> in_ignoreCache, Maybe<String> in_scriptToEvaluateOnLoad) override;
30
- DispatchResponse getResourceTree(std::unique_ptr<protocol::Page::FrameResourceTree>* out_frameTree) override;
31
- void getResourceContent(const String& in_frameId, const String& in_url, std::unique_ptr<GetResourceContentCallback> callback) override;
32
- void searchInResource(const String& in_frameId, const String& in_url, const String& in_query, Maybe<bool> in_caseSensitive, Maybe<bool> in_isRegex, std::unique_ptr<SearchInResourceCallback> callback) override;
33
- DispatchResponse setDocumentContent(const String& in_frameId, const String& in_html) override;
34
- DispatchResponse addScriptToEvaluateOnNewDocument(const String& in_source, Maybe<String> in_worldName, String* out_identifier) override;
35
- DispatchResponse createIsolatedWorld(const String& in_frameId, Maybe<String> in_worldName, Maybe<bool> in_grantUniveralAccess, int* out_executionContextId) override;
36
- DispatchResponse getFrameTree(std::unique_ptr<protocol::Page::FrameTree>* out_frameTree) override;
37
- DispatchResponse getLayoutMetrics(std::unique_ptr<protocol::Page::LayoutViewport>* out_layoutViewport, std::unique_ptr<protocol::Page::VisualViewport>* out_visualViewport, std::unique_ptr<protocol::DOM::Rect>* out_contentSize) override;
38
- DispatchResponse removeScriptToEvaluateOnNewDocument(const String& in_identifier) override;
39
- DispatchResponse setAdBlockingEnabled(bool in_enabled) override;
40
- DispatchResponse setBypassCSP(bool in_enabled) override;
41
- DispatchResponse setFontFamilies(std::unique_ptr<protocol::Page::FontFamilies> in_fontFamilies) override;
42
- DispatchResponse setFontSizes(std::unique_ptr<protocol::Page::FontSizes> in_fontSizes) override;
43
- DispatchResponse setLifecycleEventsEnabled(bool in_enabled) override;
44
- DispatchResponse startScreencast(Maybe<String> in_format, Maybe<int> in_quality, Maybe<int> in_maxWidth, Maybe<int> in_maxHeight, Maybe<int> in_everyNthFrame) override;
45
- DispatchResponse stopLoading() override;
46
- DispatchResponse stopScreencast() override;
47
- DispatchResponse setProduceCompilationCache(bool in_enabled) override;
48
- DispatchResponse addCompilationCache(const String& in_url, const protocol::Binary& in_data) override;
49
- DispatchResponse clearCompilationCache() override;
50
- DispatchResponse generateTestReport(const String& in_message, Maybe<String> in_group) override;
51
- DispatchResponse waitForDebugger() override;
52
- DispatchResponse setInterceptFileChooserDialog(bool in_enabled) override;
53
- DispatchResponse getInstallabilityErrors(std::unique_ptr<protocol::Array<String>>* out_errors) override;
54
- DispatchResponse getManifestIcons(Maybe<protocol::Binary>* out_primaryIcon) override;
55
-
56
- void restore();
57
- void reset();
58
- const bool enabled() {
59
- return m_enabled;
60
- };
61
-
62
- private:
63
- V8InspectorImpl* m_inspector;
64
- v8::Isolate* m_isolate;
65
- V8InspectorSessionImpl* m_session;
66
- protocol::Page::Frontend m_frontend;
67
- protocol::DictionaryValue* m_state;
68
- bool m_enabled;
69
- const std::string m_frameIdentifier;
70
- const std::string m_frameUrl;
71
-
72
- static std::map<std::string, const char*> s_mimeTypeMap;
73
-
74
- struct PageEntry {
75
- std::string Name;
76
- std::string Type;
77
- std::string MimeType;
78
- };
79
-
80
- std::string GetResourceType(std::string fullPath);
81
- void ReadEntries(std::string baseDir, std::vector<PageEntry>& entries);
82
- bool HasTextContent(std::string type);
83
- String16 GetResourceContent(const String& url, bool& shouldEncode);
84
- };
85
-
86
- }
87
-
88
- #endif /* v8_page_agent_impl_h */
@@ -1,104 +0,0 @@
1
- // Copyright 2015 the V8 project 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
- #ifndef V8_INSPECTOR_V8_PROFILER_AGENT_IMPL_H_
6
- #define V8_INSPECTOR_V8_PROFILER_AGENT_IMPL_H_
7
-
8
- #include <memory>
9
- #include <vector>
10
-
11
- #include "src/base/macros.h"
12
- #include "src/inspector/protocol/Forward.h"
13
- #include "src/inspector/protocol/Profiler.h"
14
-
15
- namespace v8 {
16
- class CpuProfiler;
17
- class Isolate;
18
- } // namespace v8
19
-
20
- namespace v8_inspector {
21
-
22
- class V8InspectorSessionImpl;
23
-
24
- using protocol::Maybe;
25
- using protocol::Response;
26
-
27
- class V8ProfilerAgentImpl : public protocol::Profiler::Backend {
28
- public:
29
- V8ProfilerAgentImpl(V8InspectorSessionImpl*, protocol::FrontendChannel*,
30
- protocol::DictionaryValue* state);
31
- ~V8ProfilerAgentImpl() override;
32
- V8ProfilerAgentImpl(const V8ProfilerAgentImpl&) = delete;
33
- V8ProfilerAgentImpl& operator=(const V8ProfilerAgentImpl&) = delete;
34
-
35
- bool enabled() const { return m_enabled; }
36
- void restore();
37
-
38
- Response enable() override;
39
- Response disable() override;
40
- Response setSamplingInterval(int) override;
41
- Response start() override;
42
- Response stop(std::unique_ptr<protocol::Profiler::Profile>*) override;
43
-
44
- Response startPreciseCoverage(Maybe<bool> binary, Maybe<bool> detailed,
45
- Maybe<bool> allow_triggered_updates,
46
- double* out_timestamp) override;
47
- Response stopPreciseCoverage() override;
48
- Response takePreciseCoverage(
49
- std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
50
- out_result,
51
- double* out_timestamp) override;
52
- Response getBestEffortCoverage(
53
- std::unique_ptr<protocol::Array<protocol::Profiler::ScriptCoverage>>*
54
- out_result) override;
55
-
56
- Response startTypeProfile() override;
57
- Response stopTypeProfile() override;
58
- Response takeTypeProfile(
59
- std::unique_ptr<protocol::Array<protocol::Profiler::ScriptTypeProfile>>*
60
- out_result) override;
61
-
62
- Response enableCounters() override;
63
- Response disableCounters() override;
64
- Response getCounters(
65
- std::unique_ptr<protocol::Array<protocol::Profiler::CounterInfo>>*
66
- out_result) override;
67
-
68
- Response enableRuntimeCallStats() override;
69
- Response disableRuntimeCallStats() override;
70
- Response getRuntimeCallStats(
71
- std::unique_ptr<
72
- protocol::Array<protocol::Profiler::RuntimeCallCounterInfo>>*
73
- out_result) override;
74
-
75
- void consoleProfile(const String16& title);
76
- void consoleProfileEnd(const String16& title);
77
-
78
- void triggerPreciseCoverageDeltaUpdate(const String16& occassion);
79
-
80
- private:
81
- String16 nextProfileId();
82
-
83
- void startProfiling(const String16& title);
84
- std::unique_ptr<protocol::Profiler::Profile> stopProfiling(
85
- const String16& title, bool serialize);
86
-
87
- V8InspectorSessionImpl* m_session;
88
- v8::Isolate* m_isolate;
89
- v8::CpuProfiler* m_profiler = nullptr;
90
- protocol::DictionaryValue* m_state;
91
- protocol::Profiler::Frontend m_frontend;
92
- bool m_enabled = false;
93
- bool m_recordingCPUProfile = false;
94
- class ProfileDescriptor;
95
- std::vector<ProfileDescriptor> m_startedProfiles;
96
- String16 m_frontendInitiatedProfileId;
97
- int m_startedProfilesCount = 0;
98
- std::shared_ptr<V8Inspector::Counters> m_counters;
99
- bool m_runtime_call_stats_enabled = false;
100
- };
101
-
102
- } // namespace v8_inspector
103
-
104
- #endif // V8_INSPECTOR_V8_PROFILER_AGENT_IMPL_H_
@@ -1,38 +0,0 @@
1
- // Copyright 2016 the V8 project 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
- #ifndef V8_INSPECTOR_V8_REGEX_H_
6
- #define V8_INSPECTOR_V8_REGEX_H_
7
-
8
- #include "src/base/macros.h"
9
- #include "src/inspector/string-16.h"
10
-
11
- #include "include/v8.h"
12
-
13
- namespace v8_inspector {
14
-
15
- class V8InspectorImpl;
16
-
17
- enum MultilineMode { MultilineDisabled, MultilineEnabled };
18
-
19
- class V8Regex {
20
- public:
21
- V8Regex(V8InspectorImpl*, const String16&, bool caseSensitive,
22
- bool multiline = false);
23
- V8Regex(const V8Regex&) = delete;
24
- V8Regex& operator=(const V8Regex&) = delete;
25
- int match(const String16&, int startFrom = 0,
26
- int* matchLength = nullptr) const;
27
- bool isValid() const { return !m_regex.IsEmpty(); }
28
- const String16& errorMessage() const { return m_errorMessage; }
29
-
30
- private:
31
- V8InspectorImpl* m_inspector;
32
- v8::Global<v8::RegExp> m_regex;
33
- String16 m_errorMessage;
34
- };
35
-
36
- } // namespace v8_inspector
37
-
38
- #endif // V8_INSPECTOR_V8_REGEX_H_