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

Issue 2720763002: PlzNavigate: preserve SourceLocation when navigating (Closed)

Created:
3 years, 9 months ago by clamy
Modified:
3 years, 9 months ago
Reviewers:
Nate Chapin, nasko
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, sof, creis+watch_chromium.org, eae+blinkwatch, nasko+codewatch_chromium.org, jam, blink-reviews-dom_chromium.org, dglazkov+blink, darin-cc_chromium.org, blink-reviews, kinuko+watch, blink-reviews-api_chromium.org, rwlbuis
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

PlzNavigate: preserve SourceLocation when navigating This CL ensures we keep track of the SourceLocation information when navigating, so that it can be used in console error messages generated at commit time. The information will also be used in a later patch to generate console error messages for CSP failures computed in the browser process. BUG=695072 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2720763002 Cr-Commit-Position: refs/heads/master@{#456739} Committed: https://chromium.googlesource.com/chromium/src/+/19f01147eb8a5af46027bdbb1c843085fbac339c

Patch Set 1 #

Patch Set 2 : PlzNavigate: preserve SourceLocation when navigating #

Patch Set 3 : PlzNavigate: preserve SourceLocation when navigating #

Total comments: 9

Patch Set 4 : Rebase #

Patch Set 5 : Addressed nate's comments #

Total comments: 8

Patch Set 6 : Rebase #

Patch Set 7 : Addressed comments #

Patch Set 8 : Rebase #

Patch Set 9 : Rebase #

Patch Set 10 : Fix rebase compilation issues #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -23 lines) Patch
M content/browser/frame_host/navigation_entry_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M content/browser/frame_host/navigation_request.cc View 1 2 3 4 5 6 7 8 1 chunk +13 lines, -7 lines 0 comments Download
M content/browser/frame_host/render_frame_host_impl.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 2 chunks +7 lines, -0 lines 0 comments Download
M content/common/navigation_params.h View 1 2 3 4 5 6 3 chunks +24 lines, -1 line 0 comments Download
M content/common/navigation_params.cc View 3 chunks +13 lines, -2 lines 0 comments Download
M content/public/test/render_view_test.cc View 2 chunks +4 lines, -2 lines 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 4 chunks +30 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/FlagExpectations/enable-browser-side-navigation View 1 2 3 4 5 6 7 8 1 chunk +1 line, -7 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameConsole.cpp View 1 chunk +17 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.h View 1 2 3 4 5 6 7 8 3 chunks +10 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/DocumentLoader.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/LocalFrameClientImpl.cpp View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.h View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebDataSourceImpl.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +12 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebDataSource.h View 1 2 3 4 5 6 7 8 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameClient.h View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -0 lines 0 comments Download
A third_party/WebKit/public/web/WebSourceLocation.h View 1 chunk +23 lines, -0 lines 0 comments Download

Messages

Total messages: 51 (34 generated)
clamy
@japhet:PTAL
3 years, 9 months ago (2017-03-01 15:55:57 UTC) #16
Nate Chapin
https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: frame_->dataSource()->resetSourceLocation(); Rather than needing to expose resetSourceLocation() and calling ...
3 years, 9 months ago (2017-03-01 23:22:19 UTC) #17
Nate Chapin
https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: frame_->dataSource()->resetSourceLocation(); Rather than needing to expose resetSourceLocation() and calling ...
3 years, 9 months ago (2017-03-01 23:22:19 UTC) #18
clamy
@japhet: thanks! @nasko: PTAL at the code in content/. https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: ...
3 years, 9 months ago (2017-03-02 13:34:32 UTC) #20
nasko
content/ LGTM with a few comments. https://codereview.chromium.org/2720763002/diff/80001/content/browser/frame_host/navigation_request.cc File content/browser/frame_host/navigation_request.cc (right): https://codereview.chromium.org/2720763002/diff/80001/content/browser/frame_host/navigation_request.cc#newcode531 content/browser/frame_host/navigation_request.cc:531: // Allow the ...
3 years, 9 months ago (2017-03-02 23:56:05 UTC) #21
Nate Chapin
https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: frame_->dataSource()->resetSourceLocation(); On 2017/03/02 13:34:32, clamy wrote: > On 2017/03/01 ...
3 years, 9 months ago (2017-03-03 00:17:05 UTC) #22
clamy
Thanks! https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: frame_->dataSource()->resetSourceLocation(); On 2017/03/03 00:17:05, Nate Chapin wrote: > ...
3 years, 9 months ago (2017-03-06 13:27:53 UTC) #29
clamy
@japhet: friendly ping :)
3 years, 9 months ago (2017-03-09 12:20:07 UTC) #32
clamy
@japhet: ping?
3 years, 9 months ago (2017-03-13 13:48:02 UTC) #33
Nate Chapin
Sorry for the delay. LGTM. https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc File content/renderer/render_frame_impl.cc (right): https://codereview.chromium.org/2720763002/diff/40001/content/renderer/render_frame_impl.cc#newcode6107 content/renderer/render_frame_impl.cc:6107: frame_->dataSource()->resetSourceLocation(); On 2017/03/06 13:27:53, ...
3 years, 9 months ago (2017-03-13 17:45:42 UTC) #34
clamy
Thanks!
3 years, 9 months ago (2017-03-14 10:28:30 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2720763002/140001
3 years, 9 months ago (2017-03-14 10:28:43 UTC) #38
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xcode-clang/builds/58793)
3 years, 9 months ago (2017-03-14 10:31:00 UTC) #40
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2720763002/160001
3 years, 9 months ago (2017-03-14 14:43:43 UTC) #43
commit-bot: I haz the power
Try jobs failed on following builders: cast_shell_android on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/cast_shell_android/builds/227326)
3 years, 9 months ago (2017-03-14 14:52:23 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2720763002/180001
3 years, 9 months ago (2017-03-14 15:41:46 UTC) #48
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 17:05:48 UTC) #51
Message was sent while issue was closed.
Committed patchset #10 (id:180001) as
https://chromium.googlesource.com/chromium/src/+/19f01147eb8a5af46027bdbb1c84...

Powered by Google App Engine
This is Rietveld 408576698