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

Issue 1153193011: PlzNavigate: send Javascript urls synchronously to the renderer (Closed)

Created:
5 years, 6 months ago by clamy
Modified:
5 years, 6 months ago
CC:
chromium-reviews, jam, nasko+codewatch_chromium.org, creis+watch_chromium.org, darin-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: send Javascript urls synchronously to the renderer This CL makes it so that Javascripts url are properly sent synchornously to the renderer with browser-side navigation enabled. This fixes the Bookmarklet browser tests when run with browser-side navigation enabled. BUG=475027 Committed: https://crrev.com/656cc77073b71ae85bda0dd8a014d3fc7f6a85ec Cr-Commit-Position: refs/heads/master@{#332393}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressed comments #

Patch Set 3 : #

Patch Set 4 : Updated unit test now that data urls are sent committed synchronously #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -12 lines) Patch
M content/browser/frame_host/navigation_request.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M content/browser/frame_host/navigator_impl.cc View 1 2 2 chunks +15 lines, -3 lines 0 comments Download
M content/browser/frame_host/navigator_impl_unittest.cc View 1 2 3 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 18 (6 generated)
clamy
@nasko: PTAL @carlosk, fdegans: FYI
5 years, 6 months ago (2015-05-29 11:44:37 UTC) #2
Fabrice (no longer in Chrome)
Thanks! https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/navigator_impl.cc File content/browser/frame_host/navigator_impl.cc (right): https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/navigator_impl.cc#newcode823 content/browser/frame_host/navigator_impl.cc:823: nit: empty line here https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/navigator_impl.cc#newcode832 content/browser/frame_host/navigator_impl.cc:832: frame_tree_node->current_frame_host()->DispatchBeforeUnload(true); nit: ...
5 years, 6 months ago (2015-05-29 12:37:08 UTC) #3
nasko
https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc#newcode191 content/browser/frame_host/frame_tree_node.cc:191: url::kJavaScriptScheme)) Why not keep it closer to existing functionality? ...
5 years, 6 months ago (2015-05-29 14:17:46 UTC) #4
clamy
Thanks! https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc#newcode191 content/browser/frame_host/frame_tree_node.cc:191: url::kJavaScriptScheme)) On 2015/05/29 14:17:46, nasko wrote: > Why ...
5 years, 6 months ago (2015-05-29 16:02:06 UTC) #5
nasko
https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc#newcode191 content/browser/frame_host/frame_tree_node.cc:191: url::kJavaScriptScheme)) On 2015/05/29 16:02:06, clamy wrote: > On 2015/05/29 ...
5 years, 6 months ago (2015-06-01 20:38:22 UTC) #6
clamy
Thanks! PTAL at the lastest patchset. https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc File content/browser/frame_host/frame_tree_node.cc (right): https://codereview.chromium.org/1153193011/diff/1/content/browser/frame_host/frame_tree_node.cc#newcode191 content/browser/frame_host/frame_tree_node.cc:191: url::kJavaScriptScheme)) On 2015/06/01 ...
5 years, 6 months ago (2015-06-02 12:28:17 UTC) #8
nasko
Thanks! This looks much nicer! LGTM
5 years, 6 months ago (2015-06-02 13:48:25 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153193011/60001
5 years, 6 months ago (2015-06-02 13:50:56 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_linux on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/cast_shell_linux/builds/16050)
5 years, 6 months ago (2015-06-02 14:22:33 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1153193011/80001
5 years, 6 months ago (2015-06-02 14:39:05 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:80001)
5 years, 6 months ago (2015-06-02 15:34:19 UTC) #17
commit-bot: I haz the power
5 years, 6 months ago (2015-06-02 15:35:29 UTC) #18
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/656cc77073b71ae85bda0dd8a014d3fc7f6a85ec
Cr-Commit-Position: refs/heads/master@{#332393}

Powered by Google App Engine
This is Rietveld 408576698