Skip to content

Commit a893fba

Browse files
authored
inspector: add protocol method Network.dataReceived
nodejs/node#58001
1 parent 3e8c66e commit a893fba

File tree

3 files changed

+0
-87
lines changed

3 files changed

+0
-87
lines changed

patches/node/.patches

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ build_allow_unbundling_of_node_js_dependencies.patch
3636
test_use_static_method_names_in_call_stacks.patch
3737
fix_remove_fastapitypedarray_usage.patch
3838
test_handle_explicit_resource_management_globals.patch
39-
build_change_crdtp_protocoltypetraits_signatures_to_avoid_conflict.patch
4039
build_option_to_use_custom_inspector_protocol_path.patch
4140
fix_adjust_wpt_and_webidl_tests_for_enabled_float16array.patch
4241
chore_add_createexternalizabletwobytestring_to_globals.patch

patches/node/build_change_crdtp_protocoltypetraits_signatures_to_avoid_conflict.patch

Lines changed: 0 additions & 60 deletions
This file was deleted.

patches/node/build_option_to_use_custom_inspector_protocol_path.patch

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -25,32 +25,6 @@ index 203b4abbc44df9e58083c819f61f9025104abdc6..73bf3839866a2652ca660f1117e8f249
2525
# The NODE_MODULE_VERSION defined in node_version.h.
2626
node_module_version = exec_script("$node_path/tools/getmoduleversion.py", [], "value")
2727

28-
diff --git a/src/inspector/node_json.cc b/src/inspector/node_json.cc
29-
index d8aacbdf1a8fc858c792ad3ce17ca2f46baebe7e..4625008c048532c2c3340130670647d2877430bd 100644
30-
--- a/src/inspector/node_json.cc
31-
+++ b/src/inspector/node_json.cc
32-
@@ -72,7 +72,7 @@ class ValueParserHandler : public ParserHandler {
33-
34-
void HandleBinary(span<uint8_t> bytes) override {
35-
AddValueToParent(
36-
- BinaryValue::create(Binary::fromSpan(bytes.data(), bytes.size())));
37-
+ BinaryValue::create(Binary::fromSpan(bytes)));
38-
}
39-
40-
void HandleDouble(double value) override {
41-
diff --git a/src/inspector/node_string.h b/src/inspector/node_string.h
42-
index b2f67c224acc7b3a3b867867e251a7c62833f46e..33e93ce5bf7dda7e30b7b1b198ff3b53ccfac22a 100644
43-
--- a/src/inspector/node_string.h
44-
+++ b/src/inspector/node_string.h
45-
@@ -66,7 +66,7 @@ class Binary {
46-
static Binary fromBase64(const std::string_view base64, bool* success) {
47-
UNREACHABLE();
48-
}
49-
- static Binary fromSpan(const uint8_t* data, size_t size) { UNREACHABLE(); }
50-
+ static Binary fromSpan(crdtp::span<const uint8_t> data) { UNREACHABLE(); }
51-
};
52-
53-
} // namespace protocol
5428
diff --git a/src/inspector/unofficial.gni b/src/inspector/unofficial.gni
5529
index 3d7aa148678b2646b88fa7c32abec91791b02b82..4810d93eb971b253f7dadff7011a632f6dbe6a2b 100644
5630
--- a/src/inspector/unofficial.gni

0 commit comments

Comments
 (0)