Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Issue 2381403002: Allow the external protocol dialog to handle FORM_SUBMIT navigation (Closed)

Created:
4 years, 2 months ago by Yusuke Sato
Modified:
4 years, 2 months ago
Reviewers:
CC:
chromium-reviews
Target Ref:
refs/pending/branch-heads/2840
Project:
chromium
Visibility:
Public.

Description

Allow the external protocol dialog to handle FORM_SUBMIT navigation It turns out that checking only PAGE_TRANSITION_LINK misses the user's form submission because content/renderer/render_frame_impl.cc changes the core transition type from LINK to FORM_SUBMIT on form submission. BUG=b/31747586 TEST=try Review-Url: https://codereview.chromium.org/2363303003 Cr-Commit-Position: refs/heads/master@{#421123} (cherry picked from commit cda58be581a1489a4aa270b8684d849ffc3cb7a3)

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -5 lines) Patch
M chrome/browser/chromeos/arc/arc_external_protocol_dialog.cc View 1 chunk +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/arc_navigation_throttle.cc View 1 chunk +9 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/page_transition_util.h View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/chromeos/arc/page_transition_util.cc View 1 chunk +6 lines, -2 lines 0 comments Download
A chrome/browser/chromeos/arc/page_transition_util_unittest.cc View 1 chunk +112 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (1 generated)
Yusuke Sato
4 years, 2 months ago (2016-09-30 22:31:44 UTC) #1
Description was changed from

==========
Allow the external protocol dialog to handle FORM_SUBMIT navigation

It turns out that checking only PAGE_TRANSITION_LINK misses the
user's form submission because content/renderer/render_frame_impl.cc
changes the core transition type from LINK to FORM_SUBMIT on
form submission.

BUG=b/31747586
TEST=try

Review-Url: https://codereview.chromium.org/2363303003
Cr-Commit-Position: refs/heads/master@{#421123}
(cherry picked from commit cda58be581a1489a4aa270b8684d849ffc3cb7a3)
==========

to

==========
Allow the external protocol dialog to handle FORM_SUBMIT navigation

It turns out that checking only PAGE_TRANSITION_LINK misses the
user's form submission because content/renderer/render_frame_impl.cc
changes the core transition type from LINK to FORM_SUBMIT on
form submission.

BUG=b/31747586
TEST=try

Review-Url: https://codereview.chromium.org/2363303003
Cr-Commit-Position: refs/heads/master@{#421123}
(cherry picked from commit cda58be581a1489a4aa270b8684d849ffc3cb7a3)
==========

Powered by Google App Engine
This is Rietveld 408576698