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

Issue 14787005: Simply FrameLoaderStateMachine and FrameLoader::transitionToCommitted(). (Closed)

Created:
7 years, 7 months ago by Nate Chapin
Modified:
7 years, 7 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, Nate Chapin, gavinp+loader_chromium.org
Visibility:
Public.

Description

Simply FrameLoaderStateMachine and FrameLoader::transitionToCommitted(). This removes 2 cases from FrameLoaderStateMachine. FirstLayoutDone is closely approximated by FrameView, and DisplayingInitialEmptyDocumentPostCommit appears to be a workaround for declaring the first real load committed a bit too early. BUG=none TEST=none Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=149766

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 8

Patch Set 4 : Merge to trunk for landing #

Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -110 lines) Patch
M Source/core/loader/DocumentLoader.cpp View 1 2 3 2 chunks +3 lines, -0 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 1 2 3 9 chunks +5 lines, -82 lines 0 comments Download
M Source/core/loader/FrameLoaderStateMachine.h View 1 chunk +1 line, -4 lines 0 comments Download
M Source/core/loader/FrameLoaderStateMachine.cpp View 2 chunks +3 lines, -8 lines 0 comments Download
M Source/core/loader/HistoryController.h View 1 2 3 chunks +5 lines, -6 lines 0 comments Download
M Source/core/loader/HistoryController.cpp View 1 2 4 chunks +26 lines, -6 lines 0 comments Download
M Source/core/loader/ProgressTracker.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/svg/graphics/SVGImage.cpp View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Nate Chapin
https://codereview.chromium.org/14787005/diff/3001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/14787005/diff/3001/Source/core/loader/FrameLoader.cpp#oldcode1667 Source/core/loader/FrameLoader.cpp:1667: history()->updateForStandardLoad(HistoryController::UpdateAllExceptBackForwardList); This case appears to be a Safari-specific hack: ...
7 years, 7 months ago (2013-05-01 21:38:34 UTC) #1
abarth-chromium
LGTM! Very nice. https://codereview.chromium.org/14787005/diff/3001/Source/core/loader/FrameLoader.cpp File Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/14787005/diff/3001/Source/core/loader/FrameLoader.cpp#oldcode1705 Source/core/loader/FrameLoader.cpp:1705: m_documentLoader->writer()->setMIMEType(dl->responseMIMEType()); On 2013/05/01 21:38:34, Nate Chapin ...
7 years, 7 months ago (2013-05-06 17:09:42 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14787005/3001
7 years, 7 months ago (2013-05-06 17:12:24 UTC) #3
commit-bot: I haz the power
Failed to apply patch for Source/core/loader/FrameLoader.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 7 months ago (2013-05-06 17:12:28 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14787005/14001
7 years, 7 months ago (2013-05-06 17:16:21 UTC) #5
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=6869
7 years, 7 months ago (2013-05-06 18:12:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/14787005/14001
7 years, 7 months ago (2013-05-06 18:26:09 UTC) #7
commit-bot: I haz the power
7 years, 7 months ago (2013-05-06 18:38:28 UTC) #8
Message was sent while issue was closed.
Change committed as 149766

Powered by Google App Engine
This is Rietveld 408576698