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

Issue 2724943003: Add a trace event in FrameLoader::updateForSameDocumentNavigation. (Closed)

Created:
3 years, 9 months ago by sunjian
Modified:
3 years, 9 months ago
Reviewers:
Nate Chapin, tdresser
CC:
chromium-reviews, blink-reviews, blink-reviews-frames_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a trace event in FrameLoader::updateForSameDocumentNavigation. Currently, we are exposing History::pushState and Location::setHash in tracing. These two events are seen as the indicators of a spa navigation. However, we found out that FrameLoader::updateForSameDocumentNavigation is the central point for same document navigation (aka spa navigation). Therefore, we can remove trace events in History::pushState and Location::setHash and add a trace event in the central point instead. BUG=697617 Review-Url: https://codereview.chromium.org/2724943003 Cr-Commit-Position: refs/heads/master@{#455236} Committed: https://chromium.googlesource.com/chromium/src/+/883d0479494ebd6c5351af89cd575da2e2127030

Patch Set 1 #

Patch Set 2 : format #

Patch Set 3 : sync #

Patch Set 4 : Add a trace event in FrameLoader::updateForSameDocumentNavigation #

Patch Set 5 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -4 lines) Patch
M third_party/WebKit/Source/core/frame/History.cpp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/Location.cpp View 1 2 3 2 chunks +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 45 (20 generated)
sunjian
Expose url info for History::pushState and Location::setHash events.
3 years, 9 months ago (2017-03-01 22:47:24 UTC) #3
tdresser
What do we need this for? We should be able to look at the blink ...
3 years, 9 months ago (2017-03-02 14:57:05 UTC) #4
sunjian
On 2017/03/02 14:57:05, tdresser wrote: > What do we need this for? We should be ...
3 years, 9 months ago (2017-03-02 17:49:00 UTC) #5
tdresser
On 2017/03/02 17:49:00, sunjian wrote: > On 2017/03/02 14:57:05, tdresser wrote: > > What do ...
3 years, 9 months ago (2017-03-02 18:48:40 UTC) #6
sunjian
On 2017/03/02 18:48:40, tdresser wrote: > On 2017/03/02 17:49:00, sunjian wrote: > > On 2017/03/02 ...
3 years, 9 months ago (2017-03-02 21:41:53 UTC) #7
tdresser
LGTM, thanks for clarifying what this would be used for.
3 years, 9 months ago (2017-03-03 13:52:06 UTC) #8
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/2724943003/1
3 years, 9 months ago (2017-03-03 15:54:12 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/377822)
3 years, 9 months ago (2017-03-03 15:59:50 UTC) #12
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/2724943003/20001
3 years, 9 months ago (2017-03-03 21:02:58 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/376835)
3 years, 9 months ago (2017-03-03 21:10:33 UTC) #17
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/2724943003/40001
3 years, 9 months ago (2017-03-03 21:57:08 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/378118)
3 years, 9 months ago (2017-03-03 22:05:03 UTC) #22
sunjian
Hey Nate, Can you give a quick review of this cl please? Jian
3 years, 9 months ago (2017-03-03 23:01:25 UTC) #24
Nate Chapin
This is a subset of blink's definition of a same-page navigation. Do you want to ...
3 years, 9 months ago (2017-03-03 23:06:54 UTC) #25
sunjian
On 2017/03/03 23:06:54, Nate Chapin wrote: > This is a subset of blink's definition of ...
3 years, 9 months ago (2017-03-03 23:22:16 UTC) #26
Nate Chapin
On 2017/03/03 23:22:16, sunjian wrote: > On 2017/03/03 23:06:54, Nate Chapin wrote: > > This ...
3 years, 9 months ago (2017-03-03 23:28:37 UTC) #27
sunjian
On 2017/03/03 23:28:37, Nate Chapin wrote: > On 2017/03/03 23:22:16, sunjian wrote: > > On ...
3 years, 9 months ago (2017-03-04 00:00:46 UTC) #28
tdresser
On 2017/03/04 00:00:46, sunjian wrote: > On 2017/03/03 23:28:37, Nate Chapin wrote: > > On ...
3 years, 9 months ago (2017-03-06 13:33:40 UTC) #29
sunjian
I removed the trace events in History::pushState and Location::setHash. And added one in FrameLoader::updateForSameDocumentNavigation instead. ...
3 years, 9 months ago (2017-03-07 00:51:48 UTC) #32
Nate Chapin
lgtm
3 years, 9 months ago (2017-03-07 00:59:42 UTC) #33
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/2724943003/60001
3 years, 9 months ago (2017-03-07 01:13:11 UTC) #36
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/378951)
3 years, 9 months ago (2017-03-07 04:20:39 UTC) #38
tdresser
Still LGTM.
3 years, 9 months ago (2017-03-07 13:30:55 UTC) #39
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/2724943003/80001
3 years, 9 months ago (2017-03-07 19:36:40 UTC) #42
commit-bot: I haz the power
3 years, 9 months ago (2017-03-07 22:00:02 UTC) #45
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/883d0479494ebd6c5351af89cd57...

Powered by Google App Engine
This is Rietveld 408576698