| Commit-Queue | +1 |
String::Number(inspector_id), ipAddress);Bhaskar SharmaWhy inspector_id is passed not like in other functions?
IdentifiersFactory::SubresourceRequestId(identifier)
Done
const uint64_t inspector_id_;Bhaskar SharmaCopy please comment from udp socket what is this inspector_id_
Done
String::Number(inspector_id_),Bhaskar SharmaString::Number(inspector_id_) this conversion is not needed. Just inspector_id_.
Here and elsewhere.
Done
scope.GetExecutionContext(), udp_socket, /*inspector_id=*/12345);Bhaskar SharmaWhy not just 0? To prevent people asking about meaning of this number.
Done
"--enable-features=IsolatedWebApps,IsolatedWebAppDevMode,MulticastInDirectSockets,DirectSocketsInServiceWorkers,DirectSocketsInSharedWorkers"Bhaskar SharmaNot needed. Multicast is enabled by default.
Done
header("Permissions-Policy: direct-sockets=(self)");Bhaskar SharmaMore permissions policies are needed: direct-sockets-private, direct-sockets-multicast.
Done
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
The dependency of Chromium -> devtools_frontend will be updated in theprovide a bit more detail on what exactly you are adding. what do the attributes mean that you are adding below?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
The dependency of Chromium -> devtools_frontend will be updated in theprovide a bit more detail on what exactly you are adding. what do the attributes mean that you are adding below?
Done
we usually link to bugs this way: crbug.com/441890670
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
experimental event directUDPSocketJoinedMulticastGroupLet's add tests for the new events
GetExecutionContext(), inspector_id_, normalized_ip_address);Should the probe be called after the `push_back`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
experimental event directUDPSocketJoinedMulticastGroupLet's add tests for the new events
Unfortunately, the multicast does not work in WPT tests 😞 I created an issue for it.
Is there other way to test it?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
experimental event directUDPSocketJoinedMulticastGroupVlad KrotLet's add tests for the new events
Unfortunately, the multicast does not work in WPT tests 😞 I created an issue for it.
Is there other way to test it?
chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Tell me what is your requirements indicate all what you want then I'll prove it to you that my tools are capable to fix your system I will tic tack toe in a minute without manipulation of both side Raymund De Vera Ico from Philippines Jethro A.I www.jethroaiservices.com Gerrit API-to-Go Developer
void DirectUDPSocketJoinedMulticastGroup(uint64_t inspector_id,here and in most of the other new functions: This is called `identifier` in the other APIs. `inspector_id` confused me for a second since I read it as an identifier of the insepctor and not an identifier of the request. `request_id`? `devtools_request_id`? or just `identifier` as in the other APIs?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
experimental event directUDPSocketJoinedMulticastGroupVlad KrotLet's add tests for the new events
Danil SomsikovUnfortunately, the multicast does not work in WPT tests 😞 I created an issue for it.
Is there other way to test it?
chrome/browser/devtools/protocol/devtools_protocol_browsertest.cc
Done
void DirectUDPSocketJoinedMulticastGroup(uint64_t inspector_id,here and in most of the other new functions: This is called `identifier` in the other APIs. `inspector_id` confused me for a second since I read it as an identifier of the insepctor and not an identifier of the request. `request_id`? `devtools_request_id`? or just `identifier` as in the other APIs?
Done
GetExecutionContext(), inspector_id_, normalized_ip_address);Should the probe be called after the `push_back`?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Someone from [renderer/core/probe/OWNERS](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/probe/OWNERS) should approve the changes in that folder. Do you need my approval for any other change here?
#include "third_party/blink/public/common/switches.h"Is this import necessary?
auto manifest_builder =
web_app::ManifestBuilder().AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSockets);
manifest_builder.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSocketsPrivate);
manifest_builder.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kMulticastInDirectSockets);nit: The repeated calls to manifest_builder.AddPermissionsPolicyWildcard(...) can be chained for a slightly cleaner look
```auto manifest_builder =
web_app::ManifestBuilder()
.AddPermissionsPolicyWildcard(PermissionsPolicyFeature::kDirectSockets)
.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSocketsPrivate)
.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kMulticastInDirectSockets);
```
auto it = notifications_.find(method);
if (it != notifications_.end() && !it->second.empty()) {If the `it` variable is only used within the `if` statement then you might consider initializing it directly inside the `if` condition like this: `if(auto it = ...; it != notifications_.end()) {...}` (Cool article on it -> go/totw/165).
Someone from [renderer/core/probe/OWNERS](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/probe/OWNERS) should approve the changes in that folder. Do you need my approval for any other change here?
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
#include "third_party/blink/public/common/switches.h"Bhaskar SharmaIs this import necessary?
Done
auto manifest_builder =
web_app::ManifestBuilder().AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSockets);
manifest_builder.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSocketsPrivate);
manifest_builder.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kMulticastInDirectSockets);nit: The repeated calls to manifest_builder.AddPermissionsPolicyWildcard(...) can be chained for a slightly cleaner look
```auto manifest_builder =
web_app::ManifestBuilder()
.AddPermissionsPolicyWildcard(PermissionsPolicyFeature::kDirectSockets)
.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kDirectSocketsPrivate)
.AddPermissionsPolicyWildcard(
PermissionsPolicyFeature::kMulticastInDirectSockets);
```
Done
auto it = notifications_.find(method);
if (it != notifications_.end() && !it->second.empty()) {If the `it` variable is only used within the `if` statement then you might consider initializing it directly inside the `if` condition like this: `if(auto it = ...; it != notifications_.end()) {...}` (Cool article on it -> go/totw/165).
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Code-Review | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
DevTools protocol for DirectSockets Multicast Capabilities.
CDP has been updated to include necessary multicast options. 2 new
events have been added for a UDP Socket joining and leaving a multicast
group. The dependency of Chromium -> devtools_frontend will be updated
in the future CL's. WPT tests don't work in multicast as of now:
http://crbug.com/441890670
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |