commit | 80b5a6eaa76a35a7fe19ddce012267a4f34a7f52 | [log] [tgz] |
---|---|---|
author | Miyoung Shin <myid.shin@igalia.com> | Wed Sep 09 02:24:50 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Sep 09 02:24:50 2020 |
tree | a86fdc2940b747129fd3623621693172c5b53904 | |
parent | d4fc79f0a43940e7fe74d0f44255db6f858fbef3 [diff] |
Fix regression at chrome://user-actions This fixes a regression of https://crrev.com/c/2335213 that the user actions isn't recorded at chrome://user-actions since Javascript is disallowed in WebUIImpl::MainFrameNavigationObserver::DidFinishNavigation after it is allowed in UserActionsUIHandler::ReadyToCommitNavigation. This CL registers a message called when the page is loaded to allow the JavaScript and adds the user action callback in OnJavascriptAllowed instead of ctor not to access RenderFrameHost too early. Bug: 1122791 Change-Id: I285d62b8fb15ff388c1183e63047efe93705390d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2387900 Reviewed-by: Tommy Li <tommycli@chromium.org> Commit-Queue: Miyoung Shin <myid.shin@igalia.com> Cr-Commit-Position: refs/heads/master@{#805183}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.