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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (397) hide show
  1. package/button/index.android.d.ts +13 -0
  2. package/button/index.android.js +56 -0
  3. package/button/index.android.js.map +1 -0
  4. package/button/index.ios.d.ts +21 -0
  5. package/button/index.ios.js +216 -0
  6. package/button/index.ios.js.map +1 -0
  7. package/common.d.ts +78 -33
  8. package/common.js +1121 -251
  9. package/common.js.map +1 -1
  10. package/img/index.android.d.ts +10 -0
  11. package/img/index.android.js +40 -0
  12. package/img/index.android.js.map +1 -0
  13. package/img/index.ios.d.ts +13 -0
  14. package/img/index.ios.js +102 -0
  15. package/img/index.ios.js.map +1 -0
  16. package/index.android.d.ts +6 -34
  17. package/index.android.js +6 -139
  18. package/index.android.js.map +1 -1
  19. package/index.d.ts +88 -60
  20. package/index.ios.d.ts +6 -48
  21. package/index.ios.js +6 -355
  22. package/index.ios.js.map +1 -1
  23. package/package.json +5 -2
  24. package/platforms/android/include.gradle +5 -1
  25. package/platforms/android/masonkit-release.aar +0 -0
  26. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason-Swift.h +794 -284
  27. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/Mason.h +0 -5
  28. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
  29. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Headers/mason_native.h +118 -93
  30. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Info.plist +0 -0
  31. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Mason +0 -0
  32. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios.swiftsourceinfo +0 -0
  33. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.abi.json +58079 -23135
  34. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.private.swiftinterface +1234 -255
  35. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftdoc +0 -0
  36. package/platforms/ios/Mason.xcframework/ios-arm64/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios.swiftinterface +1234 -255
  37. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  38. package/platforms/ios/Mason.xcframework/ios-arm64/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4252 -1932
  39. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason-Swift.h +1588 -568
  40. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/Mason.h +0 -5
  41. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/NSObject+MasonElement_Defaults.h +100 -0
  42. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Headers/mason_native.h +118 -93
  43. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Info.plist +0 -0
  44. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Mason +0 -0
  45. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/arm64-apple-ios-simulator.swiftsourceinfo +0 -0
  46. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/Project/x86_64-apple-ios-simulator.swiftsourceinfo +0 -0
  47. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.abi.json +58076 -23132
  48. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.private.swiftinterface +1211 -232
  49. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftdoc +0 -0
  50. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/arm64-apple-ios-simulator.swiftinterface +1211 -232
  51. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.abi.json +58076 -23132
  52. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.private.swiftinterface +1211 -232
  53. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftdoc +0 -0
  54. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/Modules/Mason.swiftmodule/x86_64-apple-ios-simulator.swiftinterface +1211 -232
  55. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/Mason.framework/_CodeSignature/CodeResources +31 -31
  56. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/DWARF/Mason +0 -0
  57. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/aarch64/Mason.yml +4246 -1932
  58. package/platforms/ios/Mason.xcframework/ios-arm64_x86_64-simulator/dSYMs/Mason.framework.dSYM/Contents/Resources/Relocations/x86_64/Mason.yml +4124 -1883
  59. package/scroll/index.android.d.ts +12 -0
  60. package/scroll/index.android.js +50 -0
  61. package/scroll/index.android.js.map +1 -0
  62. package/scroll/index.ios.d.ts +14 -0
  63. package/scroll/index.ios.js +120 -0
  64. package/scroll/index.ios.js.map +1 -0
  65. package/style.d.ts +110 -53
  66. package/style.js +1176 -110
  67. package/style.js.map +1 -1
  68. package/text/index.android.d.ts +30 -0
  69. package/text/index.android.js +124 -0
  70. package/text/index.android.js.map +1 -0
  71. package/text/index.ios.d.ts +38 -0
  72. package/text/index.ios.js +251 -0
  73. package/text/index.ios.js.map +1 -0
  74. package/tree/index.android.d.ts +28 -0
  75. package/tree/index.android.js +77 -0
  76. package/tree/index.android.js.map +1 -0
  77. package/tree/index.ios.d.ts +29 -0
  78. package/tree/index.ios.js +76 -0
  79. package/tree/index.ios.js.map +1 -0
  80. package/utils/index.android.d.ts +187 -0
  81. package/utils/index.android.js +514 -0
  82. package/utils/index.android.js.map +1 -0
  83. package/utils/index.ios.d.ts +198 -0
  84. package/utils/index.ios.js +710 -0
  85. package/utils/index.ios.js.map +1 -0
  86. package/view/index.android.d.ts +12 -0
  87. package/view/index.android.js +50 -0
  88. package/view/index.android.js.map +1 -0
  89. package/view/index.ios.d.ts +16 -0
  90. package/view/index.ios.js +124 -0
  91. package/view/index.ios.js.map +1 -0
  92. package/web.d.ts +55 -0
  93. package/web.js +189 -0
  94. package/web.js.map +1 -0
  95. package/helpers.d.ts +0 -255
  96. package/helpers.js +0 -1318
  97. package/helpers.js.map +0 -1
  98. package/node.d.ts +0 -2
  99. package/node.js +0 -3
  100. package/node.js.map +0 -1
  101. package/platforms/ios/Podfile +0 -1
  102. package/platforms/ios/build.xcconfig +0 -5
  103. package/platforms/ios/prebuild.sh +0 -101
  104. package/platforms/new_native_src/cpp/Caches.cpp +0 -36
  105. package/platforms/new_native_src/cpp/Caches.h +0 -42
  106. package/platforms/new_native_src/cpp/Common.h +0 -34
  107. package/platforms/new_native_src/cpp/ConcurrentMap.h +0 -57
  108. package/platforms/new_native_src/cpp/Helpers.cpp +0 -101
  109. package/platforms/new_native_src/cpp/Helpers.h +0 -364
  110. package/platforms/new_native_src/cpp/MasonImpl.cpp +0 -68
  111. package/platforms/new_native_src/cpp/MasonImpl.h +0 -40
  112. package/platforms/new_native_src/cpp/MasonNodeImpl.cpp +0 -89
  113. package/platforms/new_native_src/cpp/MasonNodeImpl.h +0 -47
  114. package/platforms/new_native_src/cpp/MasonStyleImpl.cpp +0 -2181
  115. package/platforms/new_native_src/cpp/MasonStyleImpl.h +0 -420
  116. package/platforms/new_native_src/cpp/include/mason_native.h +0 -972
  117. package/platforms/new_native_src/cpp/include/robin_hood.h +0 -2544
  118. package/src-native/pods/Headers/include/APIDesign.md +0 -72
  119. package/src-native/pods/Headers/include/DEPS +0 -10
  120. package/src-native/pods/Headers/include/DIR_METADATA +0 -11
  121. package/src-native/pods/Headers/include/OWNERS +0 -23
  122. package/src-native/pods/Headers/include/cppgc/DEPS +0 -8
  123. package/src-native/pods/Headers/include/cppgc/OWNERS +0 -2
  124. package/src-native/pods/Headers/include/cppgc/README.md +0 -133
  125. package/src-native/pods/Headers/include/cppgc/allocation.h +0 -310
  126. package/src-native/pods/Headers/include/cppgc/common.h +0 -29
  127. package/src-native/pods/Headers/include/cppgc/cross-thread-persistent.h +0 -465
  128. package/src-native/pods/Headers/include/cppgc/custom-space.h +0 -97
  129. package/src-native/pods/Headers/include/cppgc/default-platform.h +0 -67
  130. package/src-native/pods/Headers/include/cppgc/ephemeron-pair.h +0 -30
  131. package/src-native/pods/Headers/include/cppgc/explicit-management.h +0 -100
  132. package/src-native/pods/Headers/include/cppgc/garbage-collected.h +0 -106
  133. package/src-native/pods/Headers/include/cppgc/heap-consistency.h +0 -266
  134. package/src-native/pods/Headers/include/cppgc/heap-state.h +0 -82
  135. package/src-native/pods/Headers/include/cppgc/heap-statistics.h +0 -120
  136. package/src-native/pods/Headers/include/cppgc/heap.h +0 -206
  137. package/src-native/pods/Headers/include/cppgc/internal/api-constants.h +0 -55
  138. package/src-native/pods/Headers/include/cppgc/internal/atomic-entry-flag.h +0 -48
  139. package/src-native/pods/Headers/include/cppgc/internal/caged-heap-local-data.h +0 -79
  140. package/src-native/pods/Headers/include/cppgc/internal/compiler-specific.h +0 -38
  141. package/src-native/pods/Headers/include/cppgc/internal/finalizer-trait.h +0 -93
  142. package/src-native/pods/Headers/include/cppgc/internal/gc-info.h +0 -156
  143. package/src-native/pods/Headers/include/cppgc/internal/logging.h +0 -50
  144. package/src-native/pods/Headers/include/cppgc/internal/name-trait.h +0 -122
  145. package/src-native/pods/Headers/include/cppgc/internal/persistent-node.h +0 -216
  146. package/src-native/pods/Headers/include/cppgc/internal/pointer-policies.h +0 -186
  147. package/src-native/pods/Headers/include/cppgc/internal/write-barrier.h +0 -435
  148. package/src-native/pods/Headers/include/cppgc/liveness-broker.h +0 -77
  149. package/src-native/pods/Headers/include/cppgc/macros.h +0 -26
  150. package/src-native/pods/Headers/include/cppgc/member.h +0 -291
  151. package/src-native/pods/Headers/include/cppgc/name-provider.h +0 -65
  152. package/src-native/pods/Headers/include/cppgc/object-size-trait.h +0 -58
  153. package/src-native/pods/Headers/include/cppgc/persistent.h +0 -370
  154. package/src-native/pods/Headers/include/cppgc/platform.h +0 -156
  155. package/src-native/pods/Headers/include/cppgc/prefinalizer.h +0 -75
  156. package/src-native/pods/Headers/include/cppgc/process-heap-statistics.h +0 -36
  157. package/src-native/pods/Headers/include/cppgc/sentinel-pointer.h +0 -32
  158. package/src-native/pods/Headers/include/cppgc/source-location.h +0 -92
  159. package/src-native/pods/Headers/include/cppgc/testing.h +0 -106
  160. package/src-native/pods/Headers/include/cppgc/trace-trait.h +0 -116
  161. package/src-native/pods/Headers/include/cppgc/type-traits.h +0 -240
  162. package/src-native/pods/Headers/include/cppgc/visitor.h +0 -379
  163. package/src-native/pods/Headers/include/js_protocol-1.2.json +0 -936
  164. package/src-native/pods/Headers/include/js_protocol-1.3.json +0 -1112
  165. package/src-native/pods/Headers/include/js_protocol.pdl +0 -1709
  166. package/src-native/pods/Headers/include/libffi/arm64/ffi.h +0 -524
  167. package/src-native/pods/Headers/include/libffi/arm64/ffitarget.h +0 -92
  168. package/src-native/pods/Headers/include/libffi/x86_64/ffi.h +0 -524
  169. package/src-native/pods/Headers/include/libffi/x86_64/ffitarget.h +0 -147
  170. package/src-native/pods/Headers/include/libffi.h +0 -12
  171. package/src-native/pods/Headers/include/libplatform/DEPS +0 -9
  172. package/src-native/pods/Headers/include/libplatform/libplatform-export.h +0 -29
  173. package/src-native/pods/Headers/include/libplatform/libplatform.h +0 -106
  174. package/src-native/pods/Headers/include/libplatform/v8-tracing.h +0 -333
  175. package/src-native/pods/Headers/include/v8-array-buffer.h +0 -433
  176. package/src-native/pods/Headers/include/v8-callbacks.h +0 -397
  177. package/src-native/pods/Headers/include/v8-container.h +0 -129
  178. package/src-native/pods/Headers/include/v8-context.h +0 -407
  179. package/src-native/pods/Headers/include/v8-cppgc.h +0 -215
  180. package/src-native/pods/Headers/include/v8-data.h +0 -80
  181. package/src-native/pods/Headers/include/v8-date.h +0 -43
  182. package/src-native/pods/Headers/include/v8-debug.h +0 -168
  183. package/src-native/pods/Headers/include/v8-embedder-heap.h +0 -218
  184. package/src-native/pods/Headers/include/v8-embedder-state-scope.h +0 -51
  185. package/src-native/pods/Headers/include/v8-exception.h +0 -217
  186. package/src-native/pods/Headers/include/v8-extension.h +0 -62
  187. package/src-native/pods/Headers/include/v8-external.h +0 -37
  188. package/src-native/pods/Headers/include/v8-fast-api-calls.h +0 -939
  189. package/src-native/pods/Headers/include/v8-forward.h +0 -81
  190. package/src-native/pods/Headers/include/v8-function-callback.h +0 -475
  191. package/src-native/pods/Headers/include/v8-function.h +0 -125
  192. package/src-native/pods/Headers/include/v8-initialization.h +0 -315
  193. package/src-native/pods/Headers/include/v8-inspector-protocol.h +0 -13
  194. package/src-native/pods/Headers/include/v8-inspector.h +0 -376
  195. package/src-native/pods/Headers/include/v8-internal.h +0 -661
  196. package/src-native/pods/Headers/include/v8-isolate.h +0 -1709
  197. package/src-native/pods/Headers/include/v8-json.h +0 -47
  198. package/src-native/pods/Headers/include/v8-local-handle.h +0 -455
  199. package/src-native/pods/Headers/include/v8-locker.h +0 -149
  200. package/src-native/pods/Headers/include/v8-maybe.h +0 -137
  201. package/src-native/pods/Headers/include/v8-memory-span.h +0 -43
  202. package/src-native/pods/Headers/include/v8-message.h +0 -216
  203. package/src-native/pods/Headers/include/v8-metrics.h +0 -255
  204. package/src-native/pods/Headers/include/v8-microtask-queue.h +0 -152
  205. package/src-native/pods/Headers/include/v8-microtask.h +0 -28
  206. package/src-native/pods/Headers/include/v8-object.h +0 -775
  207. package/src-native/pods/Headers/include/v8-persistent-handle.h +0 -590
  208. package/src-native/pods/Headers/include/v8-platform.h +0 -1092
  209. package/src-native/pods/Headers/include/v8-primitive-object.h +0 -118
  210. package/src-native/pods/Headers/include/v8-primitive.h +0 -866
  211. package/src-native/pods/Headers/include/v8-profiler.h +0 -1198
  212. package/src-native/pods/Headers/include/v8-promise.h +0 -174
  213. package/src-native/pods/Headers/include/v8-proxy.h +0 -50
  214. package/src-native/pods/Headers/include/v8-regexp.h +0 -105
  215. package/src-native/pods/Headers/include/v8-script.h +0 -748
  216. package/src-native/pods/Headers/include/v8-snapshot.h +0 -196
  217. package/src-native/pods/Headers/include/v8-statistics.h +0 -217
  218. package/src-native/pods/Headers/include/v8-template.h +0 -1079
  219. package/src-native/pods/Headers/include/v8-traced-handle.h +0 -420
  220. package/src-native/pods/Headers/include/v8-typed-array.h +0 -282
  221. package/src-native/pods/Headers/include/v8-unwinder-state.h +0 -31
  222. package/src-native/pods/Headers/include/v8-unwinder.h +0 -132
  223. package/src-native/pods/Headers/include/v8-util.h +0 -658
  224. package/src-native/pods/Headers/include/v8-value-serializer-version.h +0 -24
  225. package/src-native/pods/Headers/include/v8-value-serializer.h +0 -279
  226. package/src-native/pods/Headers/include/v8-value.h +0 -526
  227. package/src-native/pods/Headers/include/v8-version-string.h +0 -38
  228. package/src-native/pods/Headers/include/v8-version.h +0 -20
  229. package/src-native/pods/Headers/include/v8-wasm-trap-handler-posix.h +0 -31
  230. package/src-native/pods/Headers/include/v8-wasm-trap-handler-win.h +0 -28
  231. package/src-native/pods/Headers/include/v8-wasm.h +0 -257
  232. package/src-native/pods/Headers/include/v8-weak-callback-info.h +0 -86
  233. package/src-native/pods/Headers/include/v8.h +0 -88
  234. package/src-native/pods/Headers/include/v8config.h +0 -605
  235. package/src-native/pods/Headers/inspector/InspectorServer.h +0 -20
  236. package/src-native/pods/Headers/inspector/JsV8InspectorClient.h +0 -66
  237. package/src-native/pods/Headers/inspector/base/trace_event/common/trace_event_common.h +0 -1123
  238. package/src-native/pods/Headers/inspector/base64.h +0 -9
  239. package/src-native/pods/Headers/inspector/src/base/address-region.h +0 -95
  240. package/src-native/pods/Headers/inspector/src/base/atomic-utils.h +0 -219
  241. package/src-native/pods/Headers/inspector/src/base/atomicops.h +0 -332
  242. package/src-native/pods/Headers/inspector/src/base/atomicops_internals_atomicword_compat.h +0 -89
  243. package/src-native/pods/Headers/inspector/src/base/base-export.h +0 -31
  244. package/src-native/pods/Headers/inspector/src/base/bits.h +0 -343
  245. package/src-native/pods/Headers/inspector/src/base/build_config.h +0 -234
  246. package/src-native/pods/Headers/inspector/src/base/compiler-specific.h +0 -136
  247. package/src-native/pods/Headers/inspector/src/base/export-template.h +0 -163
  248. package/src-native/pods/Headers/inspector/src/base/flags.h +0 -130
  249. package/src-native/pods/Headers/inspector/src/base/immediate-crash.h +0 -162
  250. package/src-native/pods/Headers/inspector/src/base/lazy-instance.h +0 -258
  251. package/src-native/pods/Headers/inspector/src/base/logging.h +0 -417
  252. package/src-native/pods/Headers/inspector/src/base/macros.h +0 -423
  253. package/src-native/pods/Headers/inspector/src/base/memory.h +0 -89
  254. package/src-native/pods/Headers/inspector/src/base/once.h +0 -108
  255. package/src-native/pods/Headers/inspector/src/base/optional.h +0 -882
  256. package/src-native/pods/Headers/inspector/src/base/platform/mutex.h +0 -370
  257. package/src-native/pods/Headers/inspector/src/base/platform/platform.h +0 -476
  258. package/src-native/pods/Headers/inspector/src/base/platform/semaphore.h +0 -108
  259. package/src-native/pods/Headers/inspector/src/base/platform/v8-time.h +0 -513
  260. package/src-native/pods/Headers/inspector/src/base/platform/wrappers.h +0 -73
  261. package/src-native/pods/Headers/inspector/src/base/safe_conversions.h +0 -389
  262. package/src-native/pods/Headers/inspector/src/base/safe_conversions_impl.h +0 -822
  263. package/src-native/pods/Headers/inspector/src/base/template-utils.h +0 -113
  264. package/src-native/pods/Headers/inspector/src/base/v8-fallthrough.h +0 -21
  265. package/src-native/pods/Headers/inspector/src/common/checks.h +0 -38
  266. package/src-native/pods/Headers/inspector/src/common/globals.h +0 -1842
  267. package/src-native/pods/Headers/inspector/src/debug/debug-interface.h +0 -667
  268. package/src-native/pods/Headers/inspector/src/debug/interface-types.h +0 -175
  269. package/src-native/pods/Headers/inspector/src/init/v8.h +0 -52
  270. package/src-native/pods/Headers/inspector/src/inspector/custom-preview.h +0 -24
  271. package/src-native/pods/Headers/inspector/src/inspector/injected-script.h +0 -251
  272. package/src-native/pods/Headers/inspector/src/inspector/inspected-context.h +0 -79
  273. package/src-native/pods/Headers/inspector/src/inspector/protocol/CSS.h +0 -2148
  274. package/src-native/pods/Headers/inspector/src/inspector/protocol/Console.h +0 -211
  275. package/src-native/pods/Headers/inspector/src/inspector/protocol/DOM.h +0 -1008
  276. package/src-native/pods/Headers/inspector/src/inspector/protocol/Debugger.h +0 -892
  277. package/src-native/pods/Headers/inspector/src/inspector/protocol/Forward.h +0 -75
  278. package/src-native/pods/Headers/inspector/src/inspector/protocol/HeapProfiler.h +0 -346
  279. package/src-native/pods/Headers/inspector/src/inspector/protocol/Log.h +0 -342
  280. package/src-native/pods/Headers/inspector/src/inspector/protocol/Network.h +0 -2528
  281. package/src-native/pods/Headers/inspector/src/inspector/protocol/Overlay.h +0 -281
  282. package/src-native/pods/Headers/inspector/src/inspector/protocol/Page.h +0 -1189
  283. package/src-native/pods/Headers/inspector/src/inspector/protocol/Profiler.h +0 -1001
  284. package/src-native/pods/Headers/inspector/src/inspector/protocol/Protocol.h +0 -617
  285. package/src-native/pods/Headers/inspector/src/inspector/protocol/Runtime.h +0 -1696
  286. package/src-native/pods/Headers/inspector/src/inspector/protocol/Schema.h +0 -146
  287. package/src-native/pods/Headers/inspector/src/inspector/protocol/Security.h +0 -793
  288. package/src-native/pods/Headers/inspector/src/inspector/remote-object-id.h +0 -54
  289. package/src-native/pods/Headers/inspector/src/inspector/search-util.h +0 -26
  290. package/src-native/pods/Headers/inspector/src/inspector/string-16.h +0 -180
  291. package/src-native/pods/Headers/inspector/src/inspector/string-util.h +0 -128
  292. package/src-native/pods/Headers/inspector/src/inspector/v8-console-agent-impl.h +0 -48
  293. package/src-native/pods/Headers/inspector/src/inspector/v8-console-message.h +0 -147
  294. package/src-native/pods/Headers/inspector/src/inspector/v8-console.h +0 -173
  295. package/src-native/pods/Headers/inspector/src/inspector/v8-css-agent-impl.h +0 -62
  296. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-agent-impl.h +0 -248
  297. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-id.h +0 -44
  298. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger-script.h +0 -123
  299. package/src-native/pods/Headers/inspector/src/inspector/v8-debugger.h +0 -257
  300. package/src-native/pods/Headers/inspector/src/inspector/v8-dom-agent-impl.h +0 -91
  301. package/src-native/pods/Headers/inspector/src/inspector/v8-heap-profiler-agent-impl.h +0 -80
  302. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-impl.h +0 -191
  303. package/src-native/pods/Headers/inspector/src/inspector/v8-inspector-session-impl.h +0 -156
  304. package/src-native/pods/Headers/inspector/src/inspector/v8-log-agent-impl.h +0 -34
  305. package/src-native/pods/Headers/inspector/src/inspector/v8-network-agent-impl.h +0 -71
  306. package/src-native/pods/Headers/inspector/src/inspector/v8-ns-debugger-agent-impl.h +0 -24
  307. package/src-native/pods/Headers/inspector/src/inspector/v8-overlay-agent-impl.h +0 -70
  308. package/src-native/pods/Headers/inspector/src/inspector/v8-page-agent-impl.h +0 -88
  309. package/src-native/pods/Headers/inspector/src/inspector/v8-profiler-agent-impl.h +0 -104
  310. package/src-native/pods/Headers/inspector/src/inspector/v8-regex.h +0 -38
  311. package/src-native/pods/Headers/inspector/src/inspector/v8-runtime-agent-impl.h +0 -157
  312. package/src-native/pods/Headers/inspector/src/inspector/v8-schema-agent-impl.h +0 -38
  313. package/src-native/pods/Headers/inspector/src/inspector/v8-stack-trace-impl.h +0 -164
  314. package/src-native/pods/Headers/inspector/src/inspector/v8-string-conversions.h +0 -17
  315. package/src-native/pods/Headers/inspector/src/inspector/v8-value-utils.h +0 -23
  316. package/src-native/pods/Headers/inspector/src/inspector/value-mirror.h +0 -87
  317. package/src-native/pods/Headers/inspector/src/libplatform/default-platform.h +0 -92
  318. package/src-native/pods/Headers/inspector/src/logging/tracing-flags.h +0 -50
  319. package/src-native/pods/Headers/inspector/src/numbers/conversions.h +0 -183
  320. package/src-native/pods/Headers/inspector/src/tracing/trace-event.h +0 -664
  321. package/src-native/pods/Headers/inspector/src/utils/allocation.h +0 -367
  322. package/src-native/pods/Headers/inspector/src/utils/vector.h +0 -324
  323. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/cbor.h +0 -305
  324. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/dispatch.h +0 -314
  325. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/error_support.h +0 -62
  326. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/export.h +0 -6
  327. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/find_by_first.h +0 -58
  328. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/frontend_channel.h +0 -47
  329. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/glue.h +0 -80
  330. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json.h +0 -52
  331. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/json_platform.h +0 -26
  332. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/maybe.h +0 -104
  333. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/parser_handler.h +0 -39
  334. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/protocol_core.h +0 -406
  335. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializable.h +0 -32
  336. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/serializer_traits.h +0 -158
  337. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/span.h +0 -99
  338. package/src-native/pods/Headers/inspector/third_party/inspector_protocol/crdtp/status.h +0 -139
  339. package/src-native/pods/Headers/inspector/utils.h +0 -32
  340. package/src-native/pods/Headers/inspector/v8-inspector-platform.h +0 -44
  341. package/src-native/pods/Headers/jsi/decorator.h +0 -762
  342. package/src-native/pods/Headers/jsi/instrumentation.h +0 -117
  343. package/src-native/pods/Headers/jsi/jsi-inl.h +0 -322
  344. package/src-native/pods/Headers/jsi/jsi.h +0 -1387
  345. package/src-native/pods/Headers/jsi/jsilib.h +0 -59
  346. package/src-native/pods/Headers/jsi/threadsafe.h +0 -79
  347. package/src-native/pods/Headers/runtime/ArgConverter.h +0 -61
  348. package/src-native/pods/Headers/runtime/ArrayAdapter.h +0 -13
  349. package/src-native/pods/Headers/runtime/Caches.h +0 -98
  350. package/src-native/pods/Headers/runtime/ClassBuilder.h +0 -61
  351. package/src-native/pods/Headers/runtime/Common.h +0 -9
  352. package/src-native/pods/Headers/runtime/ConcurrentMap.h +0 -55
  353. package/src-native/pods/Headers/runtime/ConcurrentQueue.h +0 -28
  354. package/src-native/pods/Headers/runtime/Console.h +0 -27
  355. package/src-native/pods/Headers/runtime/Constants.h +0 -15
  356. package/src-native/pods/Headers/runtime/DataWrapper.h +0 -671
  357. package/src-native/pods/Headers/runtime/DictionaryAdapter.h +0 -13
  358. package/src-native/pods/Headers/runtime/ExtVector.h +0 -21
  359. package/src-native/pods/Headers/runtime/FFICall.h +0 -105
  360. package/src-native/pods/Headers/runtime/FastEnumerationAdapter.h +0 -13
  361. package/src-native/pods/Headers/runtime/FunctionReference.h +0 -18
  362. package/src-native/pods/Headers/runtime/Helpers.h +0 -84
  363. package/src-native/pods/Headers/runtime/InlineFunctions.h +0 -16
  364. package/src-native/pods/Headers/runtime/Interop.h +0 -202
  365. package/src-native/pods/Headers/runtime/KnownUnknownClassPair.h +0 -35
  366. package/src-native/pods/Headers/runtime/Metadata.h +0 -981
  367. package/src-native/pods/Headers/runtime/MetadataBuilder.h +0 -72
  368. package/src-native/pods/Headers/runtime/MetadataInlines.h +0 -157
  369. package/src-native/pods/Headers/runtime/ModuleInternal.h +0 -59
  370. package/src-native/pods/Headers/runtime/NSDataAdapter.h +0 -13
  371. package/src-native/pods/Headers/runtime/NativeScriptException.h +0 -27
  372. package/src-native/pods/Headers/runtime/ObjectManager.h +0 -31
  373. package/src-native/pods/Headers/runtime/OneByteStringResource.h +0 -21
  374. package/src-native/pods/Headers/runtime/Pointer.h +0 -26
  375. package/src-native/pods/Headers/runtime/PromiseProxy.h +0 -15
  376. package/src-native/pods/Headers/runtime/Reference.h +0 -38
  377. package/src-native/pods/Headers/runtime/Runtime.h +0 -67
  378. package/src-native/pods/Headers/runtime/RuntimeConfig.h +0 -17
  379. package/src-native/pods/Headers/runtime/SetTimeout.h +0 -34
  380. package/src-native/pods/Headers/runtime/SimpleAllocator.h +0 -23
  381. package/src-native/pods/Headers/runtime/StringHasher.h +0 -315
  382. package/src-native/pods/Headers/runtime/SymbolIterator.h +0 -18
  383. package/src-native/pods/Headers/runtime/SymbolLoader.h +0 -27
  384. package/src-native/pods/Headers/runtime/TNSDerivedClass.h +0 -8
  385. package/src-native/pods/Headers/runtime/TSHelpers.h +0 -15
  386. package/src-native/pods/Headers/runtime/Tasks.h +0 -19
  387. package/src-native/pods/Headers/runtime/UnmanagedType.h +0 -21
  388. package/src-native/pods/Headers/runtime/WeakRef.h +0 -15
  389. package/src-native/pods/Headers/runtime/Worker.h +0 -26
  390. package/src-native/pods/Headers/runtime/robin_hood.h +0 -2184
  391. package/src-native/pods/Headers/v8runtime/HostProxy.h +0 -71
  392. package/src-native/pods/Headers/v8runtime/JSIV8ValueConverter.h +0 -70
  393. package/src-native/pods/Headers/v8runtime/V8PointerValue.h +0 -44
  394. package/src-native/pods/Headers/v8runtime/V8Runtime.h +0 -215
  395. package/src-native/pods/Headers/v8runtime/V8RuntimeConfig.h +0 -26
  396. package/src-native/pods/Headers/v8runtime/V8RuntimeFactory.h +0 -21
  397. package/src-native/pods/NativeScript.podspec +0 -68
@@ -1,793 +0,0 @@
1
- // This file is generated by TypeBuilder_h.template.
2
-
3
- // Copyright (c) 2016 The Chromium Authors. All rights reserved.
4
- // Use of this source code is governed by a BSD-style license that can be
5
- // found in the LICENSE file.
6
-
7
- #ifndef v8_inspector_protocol_Security_h
8
- #define v8_inspector_protocol_Security_h
9
-
10
- #include "src/inspector/protocol/Protocol.h"
11
- // For each imported domain we generate a ValueConversions struct instead of a full domain definition
12
- // and include Domain::API version from there.
13
-
14
- namespace v8_inspector {
15
- namespace protocol {
16
- namespace Security {
17
- using CertificateId = int;
18
- using MixedContentType = String;
19
- using SecurityState = String;
20
- class CertificateSecurityState;
21
- using SafetyTipStatus = String;
22
- class SafetyTipInfo;
23
- class VisibleSecurityState;
24
- class SecurityStateExplanation;
25
- class InsecureContentStatus;
26
-
27
- // ------------- Forward and enum declarations.
28
-
29
- namespace MixedContentTypeEnum {
30
- extern const char Blockable[];
31
- extern const char OptionallyBlockable[];
32
- extern const char None[];
33
- } // namespace MixedContentTypeEnum
34
-
35
- namespace SecurityStateEnum {
36
- extern const char Unknown[];
37
- extern const char Neutral[];
38
- extern const char Insecure[];
39
- extern const char Secure[];
40
- extern const char Info[];
41
- extern const char InsecureBroken[];
42
- } // namespace SecurityStateEnum
43
-
44
- namespace SafetyTipStatusEnum {
45
- extern const char BadReputation[];
46
- extern const char Lookalike[];
47
- } // namespace SafetyTipStatusEnum
48
-
49
- // ------------- Type and builder declarations.
50
-
51
- class CertificateSecurityState : public ::v8_crdtp::ProtocolObject<CertificateSecurityState> {
52
- public:
53
- ~CertificateSecurityState() override { }
54
-
55
- String getProtocol() { return m_protocol; }
56
- void setProtocol(const String& value) { m_protocol = value; }
57
-
58
- String getKeyExchange() { return m_keyExchange; }
59
- void setKeyExchange(const String& value) { m_keyExchange = value; }
60
-
61
- bool hasKeyExchangeGroup() { return m_keyExchangeGroup.isJust(); }
62
- String getKeyExchangeGroup(const String& defaultValue) { return m_keyExchangeGroup.isJust() ? m_keyExchangeGroup.fromJust() : defaultValue; }
63
- void setKeyExchangeGroup(const String& value) { m_keyExchangeGroup = value; }
64
-
65
- String getCipher() { return m_cipher; }
66
- void setCipher(const String& value) { m_cipher = value; }
67
-
68
- bool hasMac() { return m_mac.isJust(); }
69
- String getMac(const String& defaultValue) { return m_mac.isJust() ? m_mac.fromJust() : defaultValue; }
70
- void setMac(const String& value) { m_mac = value; }
71
-
72
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
73
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
74
-
75
- String getSubjectName() { return m_subjectName; }
76
- void setSubjectName(const String& value) { m_subjectName = value; }
77
-
78
- String getIssuer() { return m_issuer; }
79
- void setIssuer(const String& value) { m_issuer = value; }
80
-
81
- double getValidFrom() { return m_validFrom; }
82
- void setValidFrom(double value) { m_validFrom = value; }
83
-
84
- double getValidTo() { return m_validTo; }
85
- void setValidTo(double value) { m_validTo = value; }
86
-
87
- bool hasCertificateNetworkError() { return m_certificateNetworkError.isJust(); }
88
- String getCertificateNetworkError(const String& defaultValue) { return m_certificateNetworkError.isJust() ? m_certificateNetworkError.fromJust() : defaultValue; }
89
- void setCertificateNetworkError(const String& value) { m_certificateNetworkError = value; }
90
-
91
- bool getCertificateHasWeakSignature() { return m_certificateHasWeakSignature; }
92
- void setCertificateHasWeakSignature(bool value) { m_certificateHasWeakSignature = value; }
93
-
94
- bool getCertificateHasSha1Signature() { return m_certificateHasSha1Signature; }
95
- void setCertificateHasSha1Signature(bool value) { m_certificateHasSha1Signature = value; }
96
-
97
- bool getModernSSL() { return m_modernSSL; }
98
- void setModernSSL(bool value) { m_modernSSL = value; }
99
-
100
- bool getObsoleteSslProtocol() { return m_obsoleteSslProtocol; }
101
- void setObsoleteSslProtocol(bool value) { m_obsoleteSslProtocol = value; }
102
-
103
- bool getObsoleteSslKeyExchange() { return m_obsoleteSslKeyExchange; }
104
- void setObsoleteSslKeyExchange(bool value) { m_obsoleteSslKeyExchange = value; }
105
-
106
- bool getObsoleteSslCipher() { return m_obsoleteSslCipher; }
107
- void setObsoleteSslCipher(bool value) { m_obsoleteSslCipher = value; }
108
-
109
- bool getObsoleteSslSignature() { return m_obsoleteSslSignature; }
110
- void setObsoleteSslSignature(bool value) { m_obsoleteSslSignature = value; }
111
-
112
- template<int STATE>
113
- class CertificateSecurityStateBuilder {
114
- public:
115
- enum {
116
- NoFieldsSet = 0,
117
- ProtocolSet = 1 << 1,
118
- KeyExchangeSet = 1 << 2,
119
- CipherSet = 1 << 3,
120
- CertificateSet = 1 << 4,
121
- SubjectNameSet = 1 << 5,
122
- IssuerSet = 1 << 6,
123
- ValidFromSet = 1 << 7,
124
- ValidToSet = 1 << 8,
125
- CertificateHasWeakSignatureSet = 1 << 9,
126
- CertificateHasSha1SignatureSet = 1 << 10,
127
- ModernSSLSet = 1 << 11,
128
- ObsoleteSslProtocolSet = 1 << 12,
129
- ObsoleteSslKeyExchangeSet = 1 << 13,
130
- ObsoleteSslCipherSet = 1 << 14,
131
- ObsoleteSslSignatureSet = 1 << 15,
132
- AllFieldsSet = (ProtocolSet | KeyExchangeSet | CipherSet | CertificateSet | SubjectNameSet | IssuerSet | ValidFromSet | ValidToSet | CertificateHasWeakSignatureSet | CertificateHasSha1SignatureSet | ModernSSLSet | ObsoleteSslProtocolSet | ObsoleteSslKeyExchangeSet | ObsoleteSslCipherSet | ObsoleteSslSignatureSet | 0)};
133
-
134
-
135
- CertificateSecurityStateBuilder<STATE | ProtocolSet>& setProtocol(const String& value)
136
- {
137
- static_assert(!(STATE & ProtocolSet), "property protocol should not be set yet");
138
- m_result->setProtocol(value);
139
- return castState<ProtocolSet>();
140
- }
141
-
142
- CertificateSecurityStateBuilder<STATE | KeyExchangeSet>& setKeyExchange(const String& value)
143
- {
144
- static_assert(!(STATE & KeyExchangeSet), "property keyExchange should not be set yet");
145
- m_result->setKeyExchange(value);
146
- return castState<KeyExchangeSet>();
147
- }
148
-
149
- CertificateSecurityStateBuilder<STATE>& setKeyExchangeGroup(const String& value)
150
- {
151
- m_result->setKeyExchangeGroup(value);
152
- return *this;
153
- }
154
-
155
- CertificateSecurityStateBuilder<STATE | CipherSet>& setCipher(const String& value)
156
- {
157
- static_assert(!(STATE & CipherSet), "property cipher should not be set yet");
158
- m_result->setCipher(value);
159
- return castState<CipherSet>();
160
- }
161
-
162
- CertificateSecurityStateBuilder<STATE>& setMac(const String& value)
163
- {
164
- m_result->setMac(value);
165
- return *this;
166
- }
167
-
168
- CertificateSecurityStateBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
169
- {
170
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
171
- m_result->setCertificate(std::move(value));
172
- return castState<CertificateSet>();
173
- }
174
-
175
- CertificateSecurityStateBuilder<STATE | SubjectNameSet>& setSubjectName(const String& value)
176
- {
177
- static_assert(!(STATE & SubjectNameSet), "property subjectName should not be set yet");
178
- m_result->setSubjectName(value);
179
- return castState<SubjectNameSet>();
180
- }
181
-
182
- CertificateSecurityStateBuilder<STATE | IssuerSet>& setIssuer(const String& value)
183
- {
184
- static_assert(!(STATE & IssuerSet), "property issuer should not be set yet");
185
- m_result->setIssuer(value);
186
- return castState<IssuerSet>();
187
- }
188
-
189
- CertificateSecurityStateBuilder<STATE | ValidFromSet>& setValidFrom(double value)
190
- {
191
- static_assert(!(STATE & ValidFromSet), "property validFrom should not be set yet");
192
- m_result->setValidFrom(value);
193
- return castState<ValidFromSet>();
194
- }
195
-
196
- CertificateSecurityStateBuilder<STATE | ValidToSet>& setValidTo(double value)
197
- {
198
- static_assert(!(STATE & ValidToSet), "property validTo should not be set yet");
199
- m_result->setValidTo(value);
200
- return castState<ValidToSet>();
201
- }
202
-
203
- CertificateSecurityStateBuilder<STATE>& setCertificateNetworkError(const String& value)
204
- {
205
- m_result->setCertificateNetworkError(value);
206
- return *this;
207
- }
208
-
209
- CertificateSecurityStateBuilder<STATE | CertificateHasWeakSignatureSet>& setCertificateHasWeakSignature(bool value)
210
- {
211
- static_assert(!(STATE & CertificateHasWeakSignatureSet), "property certificateHasWeakSignature should not be set yet");
212
- m_result->setCertificateHasWeakSignature(value);
213
- return castState<CertificateHasWeakSignatureSet>();
214
- }
215
-
216
- CertificateSecurityStateBuilder<STATE | CertificateHasSha1SignatureSet>& setCertificateHasSha1Signature(bool value)
217
- {
218
- static_assert(!(STATE & CertificateHasSha1SignatureSet), "property certificateHasSha1Signature should not be set yet");
219
- m_result->setCertificateHasSha1Signature(value);
220
- return castState<CertificateHasSha1SignatureSet>();
221
- }
222
-
223
- CertificateSecurityStateBuilder<STATE | ModernSSLSet>& setModernSSL(bool value)
224
- {
225
- static_assert(!(STATE & ModernSSLSet), "property modernSSL should not be set yet");
226
- m_result->setModernSSL(value);
227
- return castState<ModernSSLSet>();
228
- }
229
-
230
- CertificateSecurityStateBuilder<STATE | ObsoleteSslProtocolSet>& setObsoleteSslProtocol(bool value)
231
- {
232
- static_assert(!(STATE & ObsoleteSslProtocolSet), "property obsoleteSslProtocol should not be set yet");
233
- m_result->setObsoleteSslProtocol(value);
234
- return castState<ObsoleteSslProtocolSet>();
235
- }
236
-
237
- CertificateSecurityStateBuilder<STATE | ObsoleteSslKeyExchangeSet>& setObsoleteSslKeyExchange(bool value)
238
- {
239
- static_assert(!(STATE & ObsoleteSslKeyExchangeSet), "property obsoleteSslKeyExchange should not be set yet");
240
- m_result->setObsoleteSslKeyExchange(value);
241
- return castState<ObsoleteSslKeyExchangeSet>();
242
- }
243
-
244
- CertificateSecurityStateBuilder<STATE | ObsoleteSslCipherSet>& setObsoleteSslCipher(bool value)
245
- {
246
- static_assert(!(STATE & ObsoleteSslCipherSet), "property obsoleteSslCipher should not be set yet");
247
- m_result->setObsoleteSslCipher(value);
248
- return castState<ObsoleteSslCipherSet>();
249
- }
250
-
251
- CertificateSecurityStateBuilder<STATE | ObsoleteSslSignatureSet>& setObsoleteSslSignature(bool value)
252
- {
253
- static_assert(!(STATE & ObsoleteSslSignatureSet), "property obsoleteSslSignature should not be set yet");
254
- m_result->setObsoleteSslSignature(value);
255
- return castState<ObsoleteSslSignatureSet>();
256
- }
257
-
258
- std::unique_ptr<CertificateSecurityState> build()
259
- {
260
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
261
- return std::move(m_result);
262
- }
263
-
264
- private:
265
- friend class CertificateSecurityState;
266
- CertificateSecurityStateBuilder() : m_result(new CertificateSecurityState()) { }
267
-
268
- template<int STEP> CertificateSecurityStateBuilder<STATE | STEP>& castState()
269
- {
270
- return *reinterpret_cast<CertificateSecurityStateBuilder<STATE | STEP>*>(this);
271
- }
272
-
273
- std::unique_ptr<protocol::Security::CertificateSecurityState> m_result;
274
- };
275
-
276
- static CertificateSecurityStateBuilder<0> create()
277
- {
278
- return CertificateSecurityStateBuilder<0>();
279
- }
280
-
281
- private:
282
- DECLARE_SERIALIZATION_SUPPORT();
283
-
284
- CertificateSecurityState()
285
- {
286
- m_validFrom = 0;
287
- m_validTo = 0;
288
- m_certificateHasWeakSignature = false;
289
- m_certificateHasSha1Signature = false;
290
- m_modernSSL = false;
291
- m_obsoleteSslProtocol = false;
292
- m_obsoleteSslKeyExchange = false;
293
- m_obsoleteSslCipher = false;
294
- m_obsoleteSslSignature = false;
295
- }
296
-
297
- String m_protocol;
298
- String m_keyExchange;
299
- Maybe<String> m_keyExchangeGroup;
300
- String m_cipher;
301
- Maybe<String> m_mac;
302
- std::unique_ptr<protocol::Array<String>> m_certificate;
303
- String m_subjectName;
304
- String m_issuer;
305
- double m_validFrom;
306
- double m_validTo;
307
- Maybe<String> m_certificateNetworkError;
308
- bool m_certificateHasWeakSignature;
309
- bool m_certificateHasSha1Signature;
310
- bool m_modernSSL;
311
- bool m_obsoleteSslProtocol;
312
- bool m_obsoleteSslKeyExchange;
313
- bool m_obsoleteSslCipher;
314
- bool m_obsoleteSslSignature;
315
- };
316
-
317
-
318
- class SafetyTipInfo : public ::v8_crdtp::ProtocolObject<SafetyTipInfo> {
319
- public:
320
- ~SafetyTipInfo() override { }
321
-
322
- String getSafetyTipStatus() { return m_safetyTipStatus; }
323
- void setSafetyTipStatus(const String& value) { m_safetyTipStatus = value; }
324
-
325
- bool hasSafeUrl() { return m_safeUrl.isJust(); }
326
- String getSafeUrl(const String& defaultValue) { return m_safeUrl.isJust() ? m_safeUrl.fromJust() : defaultValue; }
327
- void setSafeUrl(const String& value) { m_safeUrl = value; }
328
-
329
- template<int STATE>
330
- class SafetyTipInfoBuilder {
331
- public:
332
- enum {
333
- NoFieldsSet = 0,
334
- SafetyTipStatusSet = 1 << 1,
335
- AllFieldsSet = (SafetyTipStatusSet | 0)};
336
-
337
-
338
- SafetyTipInfoBuilder<STATE | SafetyTipStatusSet>& setSafetyTipStatus(const String& value)
339
- {
340
- static_assert(!(STATE & SafetyTipStatusSet), "property safetyTipStatus should not be set yet");
341
- m_result->setSafetyTipStatus(value);
342
- return castState<SafetyTipStatusSet>();
343
- }
344
-
345
- SafetyTipInfoBuilder<STATE>& setSafeUrl(const String& value)
346
- {
347
- m_result->setSafeUrl(value);
348
- return *this;
349
- }
350
-
351
- std::unique_ptr<SafetyTipInfo> build()
352
- {
353
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
354
- return std::move(m_result);
355
- }
356
-
357
- private:
358
- friend class SafetyTipInfo;
359
- SafetyTipInfoBuilder() : m_result(new SafetyTipInfo()) { }
360
-
361
- template<int STEP> SafetyTipInfoBuilder<STATE | STEP>& castState()
362
- {
363
- return *reinterpret_cast<SafetyTipInfoBuilder<STATE | STEP>*>(this);
364
- }
365
-
366
- std::unique_ptr<protocol::Security::SafetyTipInfo> m_result;
367
- };
368
-
369
- static SafetyTipInfoBuilder<0> create()
370
- {
371
- return SafetyTipInfoBuilder<0>();
372
- }
373
-
374
- private:
375
- DECLARE_SERIALIZATION_SUPPORT();
376
-
377
- SafetyTipInfo()
378
- {
379
- }
380
-
381
- String m_safetyTipStatus;
382
- Maybe<String> m_safeUrl;
383
- };
384
-
385
-
386
- class VisibleSecurityState : public ::v8_crdtp::ProtocolObject<VisibleSecurityState> {
387
- public:
388
- ~VisibleSecurityState() override { }
389
-
390
- String getSecurityState() { return m_securityState; }
391
- void setSecurityState(const String& value) { m_securityState = value; }
392
-
393
- bool hasCertificateSecurityState() { return m_certificateSecurityState.isJust(); }
394
- protocol::Security::CertificateSecurityState* getCertificateSecurityState(protocol::Security::CertificateSecurityState* defaultValue) { return m_certificateSecurityState.isJust() ? m_certificateSecurityState.fromJust() : defaultValue; }
395
- void setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value) { m_certificateSecurityState = std::move(value); }
396
-
397
- bool hasSafetyTipInfo() { return m_safetyTipInfo.isJust(); }
398
- protocol::Security::SafetyTipInfo* getSafetyTipInfo(protocol::Security::SafetyTipInfo* defaultValue) { return m_safetyTipInfo.isJust() ? m_safetyTipInfo.fromJust() : defaultValue; }
399
- void setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value) { m_safetyTipInfo = std::move(value); }
400
-
401
- protocol::Array<String>* getSecurityStateIssueIds() { return m_securityStateIssueIds.get(); }
402
- void setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value) { m_securityStateIssueIds = std::move(value); }
403
-
404
- template<int STATE>
405
- class VisibleSecurityStateBuilder {
406
- public:
407
- enum {
408
- NoFieldsSet = 0,
409
- SecurityStateSet = 1 << 1,
410
- SecurityStateIssueIdsSet = 1 << 2,
411
- AllFieldsSet = (SecurityStateSet | SecurityStateIssueIdsSet | 0)};
412
-
413
-
414
- VisibleSecurityStateBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
415
- {
416
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
417
- m_result->setSecurityState(value);
418
- return castState<SecurityStateSet>();
419
- }
420
-
421
- VisibleSecurityStateBuilder<STATE>& setCertificateSecurityState(std::unique_ptr<protocol::Security::CertificateSecurityState> value)
422
- {
423
- m_result->setCertificateSecurityState(std::move(value));
424
- return *this;
425
- }
426
-
427
- VisibleSecurityStateBuilder<STATE>& setSafetyTipInfo(std::unique_ptr<protocol::Security::SafetyTipInfo> value)
428
- {
429
- m_result->setSafetyTipInfo(std::move(value));
430
- return *this;
431
- }
432
-
433
- VisibleSecurityStateBuilder<STATE | SecurityStateIssueIdsSet>& setSecurityStateIssueIds(std::unique_ptr<protocol::Array<String>> value)
434
- {
435
- static_assert(!(STATE & SecurityStateIssueIdsSet), "property securityStateIssueIds should not be set yet");
436
- m_result->setSecurityStateIssueIds(std::move(value));
437
- return castState<SecurityStateIssueIdsSet>();
438
- }
439
-
440
- std::unique_ptr<VisibleSecurityState> build()
441
- {
442
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
443
- return std::move(m_result);
444
- }
445
-
446
- private:
447
- friend class VisibleSecurityState;
448
- VisibleSecurityStateBuilder() : m_result(new VisibleSecurityState()) { }
449
-
450
- template<int STEP> VisibleSecurityStateBuilder<STATE | STEP>& castState()
451
- {
452
- return *reinterpret_cast<VisibleSecurityStateBuilder<STATE | STEP>*>(this);
453
- }
454
-
455
- std::unique_ptr<protocol::Security::VisibleSecurityState> m_result;
456
- };
457
-
458
- static VisibleSecurityStateBuilder<0> create()
459
- {
460
- return VisibleSecurityStateBuilder<0>();
461
- }
462
-
463
- private:
464
- DECLARE_SERIALIZATION_SUPPORT();
465
-
466
- VisibleSecurityState()
467
- {
468
- }
469
-
470
- String m_securityState;
471
- Maybe<protocol::Security::CertificateSecurityState> m_certificateSecurityState;
472
- Maybe<protocol::Security::SafetyTipInfo> m_safetyTipInfo;
473
- std::unique_ptr<protocol::Array<String>> m_securityStateIssueIds;
474
- };
475
-
476
-
477
- class SecurityStateExplanation : public ::v8_crdtp::ProtocolObject<SecurityStateExplanation> {
478
- public:
479
- ~SecurityStateExplanation() override { }
480
-
481
- String getSecurityState() { return m_securityState; }
482
- void setSecurityState(const String& value) { m_securityState = value; }
483
-
484
- String getTitle() { return m_title; }
485
- void setTitle(const String& value) { m_title = value; }
486
-
487
- String getSummary() { return m_summary; }
488
- void setSummary(const String& value) { m_summary = value; }
489
-
490
- String getDescription() { return m_description; }
491
- void setDescription(const String& value) { m_description = value; }
492
-
493
- String getMixedContentType() { return m_mixedContentType; }
494
- void setMixedContentType(const String& value) { m_mixedContentType = value; }
495
-
496
- protocol::Array<String>* getCertificate() { return m_certificate.get(); }
497
- void setCertificate(std::unique_ptr<protocol::Array<String>> value) { m_certificate = std::move(value); }
498
-
499
- bool hasRecommendations() { return m_recommendations.isJust(); }
500
- protocol::Array<String>* getRecommendations(protocol::Array<String>* defaultValue) { return m_recommendations.isJust() ? m_recommendations.fromJust() : defaultValue; }
501
- void setRecommendations(std::unique_ptr<protocol::Array<String>> value) { m_recommendations = std::move(value); }
502
-
503
- template<int STATE>
504
- class SecurityStateExplanationBuilder {
505
- public:
506
- enum {
507
- NoFieldsSet = 0,
508
- SecurityStateSet = 1 << 1,
509
- TitleSet = 1 << 2,
510
- SummarySet = 1 << 3,
511
- DescriptionSet = 1 << 4,
512
- MixedContentTypeSet = 1 << 5,
513
- CertificateSet = 1 << 6,
514
- AllFieldsSet = (SecurityStateSet | TitleSet | SummarySet | DescriptionSet | MixedContentTypeSet | CertificateSet | 0)};
515
-
516
-
517
- SecurityStateExplanationBuilder<STATE | SecurityStateSet>& setSecurityState(const String& value)
518
- {
519
- static_assert(!(STATE & SecurityStateSet), "property securityState should not be set yet");
520
- m_result->setSecurityState(value);
521
- return castState<SecurityStateSet>();
522
- }
523
-
524
- SecurityStateExplanationBuilder<STATE | TitleSet>& setTitle(const String& value)
525
- {
526
- static_assert(!(STATE & TitleSet), "property title should not be set yet");
527
- m_result->setTitle(value);
528
- return castState<TitleSet>();
529
- }
530
-
531
- SecurityStateExplanationBuilder<STATE | SummarySet>& setSummary(const String& value)
532
- {
533
- static_assert(!(STATE & SummarySet), "property summary should not be set yet");
534
- m_result->setSummary(value);
535
- return castState<SummarySet>();
536
- }
537
-
538
- SecurityStateExplanationBuilder<STATE | DescriptionSet>& setDescription(const String& value)
539
- {
540
- static_assert(!(STATE & DescriptionSet), "property description should not be set yet");
541
- m_result->setDescription(value);
542
- return castState<DescriptionSet>();
543
- }
544
-
545
- SecurityStateExplanationBuilder<STATE | MixedContentTypeSet>& setMixedContentType(const String& value)
546
- {
547
- static_assert(!(STATE & MixedContentTypeSet), "property mixedContentType should not be set yet");
548
- m_result->setMixedContentType(value);
549
- return castState<MixedContentTypeSet>();
550
- }
551
-
552
- SecurityStateExplanationBuilder<STATE | CertificateSet>& setCertificate(std::unique_ptr<protocol::Array<String>> value)
553
- {
554
- static_assert(!(STATE & CertificateSet), "property certificate should not be set yet");
555
- m_result->setCertificate(std::move(value));
556
- return castState<CertificateSet>();
557
- }
558
-
559
- SecurityStateExplanationBuilder<STATE>& setRecommendations(std::unique_ptr<protocol::Array<String>> value)
560
- {
561
- m_result->setRecommendations(std::move(value));
562
- return *this;
563
- }
564
-
565
- std::unique_ptr<SecurityStateExplanation> build()
566
- {
567
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
568
- return std::move(m_result);
569
- }
570
-
571
- private:
572
- friend class SecurityStateExplanation;
573
- SecurityStateExplanationBuilder() : m_result(new SecurityStateExplanation()) { }
574
-
575
- template<int STEP> SecurityStateExplanationBuilder<STATE | STEP>& castState()
576
- {
577
- return *reinterpret_cast<SecurityStateExplanationBuilder<STATE | STEP>*>(this);
578
- }
579
-
580
- std::unique_ptr<protocol::Security::SecurityStateExplanation> m_result;
581
- };
582
-
583
- static SecurityStateExplanationBuilder<0> create()
584
- {
585
- return SecurityStateExplanationBuilder<0>();
586
- }
587
-
588
- private:
589
- DECLARE_SERIALIZATION_SUPPORT();
590
-
591
- SecurityStateExplanation()
592
- {
593
- }
594
-
595
- String m_securityState;
596
- String m_title;
597
- String m_summary;
598
- String m_description;
599
- String m_mixedContentType;
600
- std::unique_ptr<protocol::Array<String>> m_certificate;
601
- Maybe<protocol::Array<String>> m_recommendations;
602
- };
603
-
604
-
605
- class InsecureContentStatus : public ::v8_crdtp::ProtocolObject<InsecureContentStatus> {
606
- public:
607
- ~InsecureContentStatus() override { }
608
-
609
- bool getRanMixedContent() { return m_ranMixedContent; }
610
- void setRanMixedContent(bool value) { m_ranMixedContent = value; }
611
-
612
- bool getDisplayedMixedContent() { return m_displayedMixedContent; }
613
- void setDisplayedMixedContent(bool value) { m_displayedMixedContent = value; }
614
-
615
- bool getContainedMixedForm() { return m_containedMixedForm; }
616
- void setContainedMixedForm(bool value) { m_containedMixedForm = value; }
617
-
618
- bool getRanContentWithCertErrors() { return m_ranContentWithCertErrors; }
619
- void setRanContentWithCertErrors(bool value) { m_ranContentWithCertErrors = value; }
620
-
621
- bool getDisplayedContentWithCertErrors() { return m_displayedContentWithCertErrors; }
622
- void setDisplayedContentWithCertErrors(bool value) { m_displayedContentWithCertErrors = value; }
623
-
624
- String getRanInsecureContentStyle() { return m_ranInsecureContentStyle; }
625
- void setRanInsecureContentStyle(const String& value) { m_ranInsecureContentStyle = value; }
626
-
627
- String getDisplayedInsecureContentStyle() { return m_displayedInsecureContentStyle; }
628
- void setDisplayedInsecureContentStyle(const String& value) { m_displayedInsecureContentStyle = value; }
629
-
630
- template<int STATE>
631
- class InsecureContentStatusBuilder {
632
- public:
633
- enum {
634
- NoFieldsSet = 0,
635
- RanMixedContentSet = 1 << 1,
636
- DisplayedMixedContentSet = 1 << 2,
637
- ContainedMixedFormSet = 1 << 3,
638
- RanContentWithCertErrorsSet = 1 << 4,
639
- DisplayedContentWithCertErrorsSet = 1 << 5,
640
- RanInsecureContentStyleSet = 1 << 6,
641
- DisplayedInsecureContentStyleSet = 1 << 7,
642
- AllFieldsSet = (RanMixedContentSet | DisplayedMixedContentSet | ContainedMixedFormSet | RanContentWithCertErrorsSet | DisplayedContentWithCertErrorsSet | RanInsecureContentStyleSet | DisplayedInsecureContentStyleSet | 0)};
643
-
644
-
645
- InsecureContentStatusBuilder<STATE | RanMixedContentSet>& setRanMixedContent(bool value)
646
- {
647
- static_assert(!(STATE & RanMixedContentSet), "property ranMixedContent should not be set yet");
648
- m_result->setRanMixedContent(value);
649
- return castState<RanMixedContentSet>();
650
- }
651
-
652
- InsecureContentStatusBuilder<STATE | DisplayedMixedContentSet>& setDisplayedMixedContent(bool value)
653
- {
654
- static_assert(!(STATE & DisplayedMixedContentSet), "property displayedMixedContent should not be set yet");
655
- m_result->setDisplayedMixedContent(value);
656
- return castState<DisplayedMixedContentSet>();
657
- }
658
-
659
- InsecureContentStatusBuilder<STATE | ContainedMixedFormSet>& setContainedMixedForm(bool value)
660
- {
661
- static_assert(!(STATE & ContainedMixedFormSet), "property containedMixedForm should not be set yet");
662
- m_result->setContainedMixedForm(value);
663
- return castState<ContainedMixedFormSet>();
664
- }
665
-
666
- InsecureContentStatusBuilder<STATE | RanContentWithCertErrorsSet>& setRanContentWithCertErrors(bool value)
667
- {
668
- static_assert(!(STATE & RanContentWithCertErrorsSet), "property ranContentWithCertErrors should not be set yet");
669
- m_result->setRanContentWithCertErrors(value);
670
- return castState<RanContentWithCertErrorsSet>();
671
- }
672
-
673
- InsecureContentStatusBuilder<STATE | DisplayedContentWithCertErrorsSet>& setDisplayedContentWithCertErrors(bool value)
674
- {
675
- static_assert(!(STATE & DisplayedContentWithCertErrorsSet), "property displayedContentWithCertErrors should not be set yet");
676
- m_result->setDisplayedContentWithCertErrors(value);
677
- return castState<DisplayedContentWithCertErrorsSet>();
678
- }
679
-
680
- InsecureContentStatusBuilder<STATE | RanInsecureContentStyleSet>& setRanInsecureContentStyle(const String& value)
681
- {
682
- static_assert(!(STATE & RanInsecureContentStyleSet), "property ranInsecureContentStyle should not be set yet");
683
- m_result->setRanInsecureContentStyle(value);
684
- return castState<RanInsecureContentStyleSet>();
685
- }
686
-
687
- InsecureContentStatusBuilder<STATE | DisplayedInsecureContentStyleSet>& setDisplayedInsecureContentStyle(const String& value)
688
- {
689
- static_assert(!(STATE & DisplayedInsecureContentStyleSet), "property displayedInsecureContentStyle should not be set yet");
690
- m_result->setDisplayedInsecureContentStyle(value);
691
- return castState<DisplayedInsecureContentStyleSet>();
692
- }
693
-
694
- std::unique_ptr<InsecureContentStatus> build()
695
- {
696
- static_assert(STATE == AllFieldsSet, "state should be AllFieldsSet");
697
- return std::move(m_result);
698
- }
699
-
700
- private:
701
- friend class InsecureContentStatus;
702
- InsecureContentStatusBuilder() : m_result(new InsecureContentStatus()) { }
703
-
704
- template<int STEP> InsecureContentStatusBuilder<STATE | STEP>& castState()
705
- {
706
- return *reinterpret_cast<InsecureContentStatusBuilder<STATE | STEP>*>(this);
707
- }
708
-
709
- std::unique_ptr<protocol::Security::InsecureContentStatus> m_result;
710
- };
711
-
712
- static InsecureContentStatusBuilder<0> create()
713
- {
714
- return InsecureContentStatusBuilder<0>();
715
- }
716
-
717
- private:
718
- DECLARE_SERIALIZATION_SUPPORT();
719
-
720
- InsecureContentStatus()
721
- {
722
- m_ranMixedContent = false;
723
- m_displayedMixedContent = false;
724
- m_containedMixedForm = false;
725
- m_ranContentWithCertErrors = false;
726
- m_displayedContentWithCertErrors = false;
727
- }
728
-
729
- bool m_ranMixedContent;
730
- bool m_displayedMixedContent;
731
- bool m_containedMixedForm;
732
- bool m_ranContentWithCertErrors;
733
- bool m_displayedContentWithCertErrors;
734
- String m_ranInsecureContentStyle;
735
- String m_displayedInsecureContentStyle;
736
- };
737
-
738
-
739
- // ------------- Backend interface.
740
-
741
- class Backend {
742
- public:
743
- virtual ~Backend() { }
744
-
745
-
746
- virtual DispatchResponse disable()
747
- {
748
- return DispatchResponse::Success();
749
- }
750
- };
751
-
752
- // ------------- Frontend interface.
753
-
754
- class Frontend {
755
- public:
756
- explicit Frontend(FrontendChannel* frontend_channel) : frontend_channel_(frontend_channel) {}
757
- void certificateError(int eventId, const String& errorType, const String& requestURL);
758
- void visibleSecurityStateChanged(std::unique_ptr<protocol::Security::VisibleSecurityState> visibleSecurityState);
759
- void securityStateChanged(const String& securityState, bool schemeIsCryptographic, std::unique_ptr<protocol::Array<protocol::Security::SecurityStateExplanation>> explanations, std::unique_ptr<protocol::Security::InsecureContentStatus> insecureContentStatus, Maybe<String> summary = Maybe<String>());
760
-
761
- void flush();
762
- void sendRawNotification(std::unique_ptr<Serializable>);
763
- private:
764
- FrontendChannel* frontend_channel_;
765
- };
766
-
767
- // ------------- Dispatcher.
768
-
769
- class Dispatcher {
770
- public:
771
- static void wire(UberDispatcher*, Backend*);
772
-
773
- private:
774
- Dispatcher() { }
775
- };
776
-
777
- // ------------- Metainfo.
778
-
779
- class Metainfo {
780
- public:
781
- using BackendClass = Backend;
782
- using FrontendClass = Frontend;
783
- using DispatcherClass = Dispatcher;
784
- static const char domainName[];
785
- static const char commandPrefix[];
786
- static const char version[];
787
- };
788
-
789
- } // namespace Security
790
- } // namespace v8_inspector
791
- } // namespace protocol
792
-
793
- #endif // !defined(v8_inspector_protocol_Security_h)