@triniwiz/nativescript-masonkit 1.0.0-alpha.11 → 1.0.0-alpha.13

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 (306) hide show
  1. package/helpers.js +0 -3
  2. package/helpers.js.map +1 -1
  3. package/package.json +1 -1
  4. package/platforms/android/masonkit-release.aar +0 -0
  5. package/style.js +0 -1
  6. package/style.js.map +1 -1
  7. package/node.d.ts +0 -2
  8. package/node.js +0 -3
  9. package/node.js.map +0 -1
  10. package/platforms/ios/Podfile +0 -1
  11. package/platforms/ios/build.xcconfig +0 -5
  12. package/platforms/ios/prebuild.sh +0 -101
  13. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  14. package/platforms/new_native_src/cpp/Caches.h +0 -42
  15. package/platforms/new_native_src/cpp/Common.h +0 -34
  16. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  17. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  18. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  19. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  20. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  21. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  22. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  23. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  24. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  25. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  26. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  27. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  28. package/src-native/pods/Headers/include/DEPS +0 -10
  29. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  30. package/src-native/pods/Headers/include/OWNERS +0 -23
  31. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  32. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  33. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  34. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  35. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  36. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  37. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  38. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  39. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  40. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  41. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  42. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  43. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  44. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  45. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  46. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  47. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  48. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  49. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  50. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  51. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  52. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  53. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  54. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  55. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  56. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  57. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  58. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  59. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  60. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  61. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  62. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  63. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  64. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  65. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  66. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  67. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  68. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  69. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  70. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  71. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  72. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  73. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  74. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  75. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  76. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  77. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  78. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  79. package/src-native/pods/Headers/include/libffi.h +0 -12
  80. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  81. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  82. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  83. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  84. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  85. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  86. package/src-native/pods/Headers/include/v8-container.h +0 -129
  87. package/src-native/pods/Headers/include/v8-context.h +0 -407
  88. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  89. package/src-native/pods/Headers/include/v8-data.h +0 -80
  90. package/src-native/pods/Headers/include/v8-date.h +0 -43
  91. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  92. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  93. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  94. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  95. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  96. package/src-native/pods/Headers/include/v8-external.h +0 -37
  97. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  98. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  99. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  100. package/src-native/pods/Headers/include/v8-function.h +0 -125
  101. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  102. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  103. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  104. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  105. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  106. package/src-native/pods/Headers/include/v8-json.h +0 -47
  107. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  108. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  109. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  110. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  111. package/src-native/pods/Headers/include/v8-message.h +0 -216
  112. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  113. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  114. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  115. package/src-native/pods/Headers/include/v8-object.h +0 -775
  116. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  117. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  118. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  119. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  120. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  121. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  122. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  123. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  124. package/src-native/pods/Headers/include/v8-script.h +0 -748
  125. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  126. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  127. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  128. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  129. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  130. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  131. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  132. package/src-native/pods/Headers/include/v8-util.h +0 -658
  133. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  134. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  135. package/src-native/pods/Headers/include/v8-value.h +0 -526
  136. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  137. package/src-native/pods/Headers/include/v8-version.h +0 -20
  138. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  139. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  140. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  141. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  142. package/src-native/pods/Headers/include/v8.h +0 -88
  143. package/src-native/pods/Headers/include/v8config.h +0 -605
  144. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  145. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  146. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  147. package/src-native/pods/Headers/inspector/base64.h +0 -9
  148. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  149. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  150. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  151. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  152. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  153. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  154. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  155. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  156. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  157. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  158. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  159. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  160. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  161. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  162. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  163. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  164. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  165. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  166. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  167. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  168. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  169. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  170. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  171. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  172. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  173. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  174. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  175. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  176. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  177. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  178. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  179. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  180. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  181. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  182. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  183. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  184. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  185. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  186. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  187. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  188. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  189. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  190. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  191. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  192. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  193. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  194. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  195. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  196. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  197. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  198. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  199. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  200. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  201. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  202. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  203. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  204. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  205. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  206. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  207. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  208. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  209. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  210. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  211. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  212. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  213. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  214. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  215. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  216. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  217. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  218. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  219. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  220. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  221. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  222. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  223. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  224. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  225. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  226. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  227. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  228. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  229. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  230. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  231. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  232. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  233. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  234. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  235. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  236. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  237. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  238. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  239. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  240. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  241. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  242. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  243. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  244. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  245. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  246. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  247. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  248. package/src-native/pods/Headers/inspector/utils.h +0 -32
  249. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  250. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  251. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  252. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  253. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  254. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  255. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  256. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  257. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  258. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  259. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  260. package/src-native/pods/Headers/runtime/Common.h +0 -9
  261. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  262. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  263. package/src-native/pods/Headers/runtime/Console.h +0 -27
  264. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  265. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  266. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  267. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  268. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  269. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  270. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  271. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  272. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  273. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  274. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  275. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  276. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  277. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  278. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  279. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  280. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  281. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  282. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  283. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  284. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  285. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  286. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  287. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  288. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  289. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  290. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  291. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  292. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  293. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  294. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  295. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  296. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  297. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  298. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  299. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  300. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  301. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  302. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  303. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  304. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  305. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  306. 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_