if (has_client_metadata_endpoint &&
This is already checked in the other method? I think it should be the same condition, in which case we should merge the if and else:
```
if (!Validate...) {
if (IsWellKnow...) { OnFetchDataforIdPFailed; }
else { AddMessageToConsole;}
}
```
"for privacy and security reasons. This will become a hard "
security?
"requirement in a future version. Please update your "
Should we state explicit version?
render_frame_host.AddMessageToConsole(
This should go in the if statement of line 58
: (options->hasError() ? options->error() : ""))),
Shouldn't this be behind some flag?
"will be removed in a future version. Use the 'error' attribute "
ditto version
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
This is already checked in the other method? I think it should be the same condition, in which case we should merge the if and else:
```
if (!Validate...) {
if (IsWellKnow...) { OnFetchDataforIdPFailed; }
else { AddMessageToConsole;}
}
```
Done
"for privacy and security reasons. This will become a hard "
suresh pottisecurity?
Done
Should we state explicit version?
I was bit skeptical to mention Chrome in warning message as it shows up in all chromium based browsers. So didnt mention chrome 145 explicity.
This should go in the if statement of line 58
Done
"will be removed in a future version. Use the 'error' attribute "
suresh pottiditto version
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
suresh pottiLink the relevant bugs?
Done
Not done?
render_frame_host_->AddMessageToConsole(
Actually this message might be useful even when the flag is enabled since I notice you are using a more generic failure type above. So perhaps move this to before the if(flag) so this message is always printed when the validation fails?
"for privacy reasons. This will become a hard "
this formatting seems off.
"will be removed in Chrome 145. Use the 'error' attribute "
formatting
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Commit-Queue | +0 |
suresh pottiLink the relevant bugs?
Nicolás PeñaDone
Not done?
Done
Actually this message might be useful even when the flag is enabled since I notice you are using a more generic failure type above. So perhaps move this to before the if(flag) so this message is always printed when the validation fails?
Done
"for privacy reasons. This will become a hard "
suresh pottithis formatting seems off.
Done
Shouldn't this be behind some flag?
removed
"will be removed in Chrome 145. Use the 'error' attribute "
suresh pottiformatting
Done
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
Code-Review | +1 |
lgtm. we may want to look into adding these as devtools issues as well?
execution_context->AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
IMO this is not needed, the exception message has this detail already
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
execution_context->AddConsoleMessage(MakeGarbageCollected<ConsoleMessage>(
IMO this is not needed, the exception message has this detail already
Nevermind, this is needed to show the message when the flag is *not* enabled. (although maybe we only want to show it if the flag is not enabled?)
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. |
[FedCM] Add console warning message to FedCM breaking changes.
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |