When navigating from a proxy, the appropriate transition should be set for POST navigations |
||
Issue descriptionRenderFrameHostProxy::OnOpenURL always sets the transition to ui::PAGE_TRANSITION_LINK. This is not appropriate if the navigation is a POST.
,
Apr 6 2018
I don't think we thought through the consequences yet; we spotted this during code review for https://chromium-review.googlesource.com/c/chromium/src/+/959012/1/content/browser/frame_host/render_frame_proxy_host.cc#304. It seems like transition should be PAGE_TRANSITION_FORM_SUBMIT if |params.uses_post| is true. The transition goes on the NavigationEntry, so potentially checks like this one in search_engine_tab_helper.cc would be incorrect: https://cs.chromium.org/chromium/src/chrome/browser/ui/search_engines/search_engine_tab_helper.cc?l=37&rcl=7997314c98e98afb41f6c6c523aaffbc70c68a94. This particular one looks like we'd autogenerate keywords for form submissions when we shouldn't, though I haven't tried to repro this.
,
Apr 13 2018
|
||
►
Sign in to add a comment |
||
Comment 1 by lukasza@chromium.org
, Apr 6 2018