// While a JS message dialog is showing, tabs in the same process shouldn't
// process input events.
+ LOG(INFO) << "RunJavaScriptDialog,SetBlocked TRUE";
GetProcess()->SetBlocked(true);
delegate_->RunJavaScriptDialog(
JavaScriptDialogCallback dialog_closed_callback,
bool success,
const std::u16string& user_input) {
+ LOG(INFO) << "JavaScriptDialogClosed,SetBlocked FALSE";
GetProcess()->SetBlocked(false);
std::move(dialog_closed_callback).Run(success, user_input);
// If executing as part of beforeunload event handling, there may have been