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

Issue 1476953004: Consolidate functions for updating state after a security origin change. (Closed)

Created:
5 years ago by dcheng
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, gavinp+loader_chromium.org, Nate Chapin, loading-reviews_chromium.org, rwlbuis, scheduler-bugs_chromium.org, sof, tyoshino+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Consolidate functions for updating state after a security origin change. Since changing a security origin has security implications, it's better to consolidate all the functions that update state after a security origin change into one place. Also revert to being consistent when these functions are called: only call them after the security origin actually changes in a call to Document::setSecurityOrigin(). BUG=none Committed: https://crrev.com/eaad6362fae91ce9fe55050711d95e52ac21a92a Cr-Commit-Position: refs/heads/master@{#362019}

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -17 lines) Patch
M components/scheduler/renderer/web_frame_scheduler_impl.h View 1 chunk +1 line, -1 line 0 comments Download
M components/scheduler/renderer/web_frame_scheduler_impl.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/frame/LocalFrame.cpp View 1 chunk +3 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/core/loader/EmptyClients.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 1 chunk +0 lines, -1 line 1 comment Download
M third_party/WebKit/public/platform/WebFrameScheduler.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (7 generated)
dcheng
https://codereview.chromium.org/1476953004/diff/1/third_party/WebKit/Source/core/loader/FrameLoader.cpp File third_party/WebKit/Source/core/loader/FrameLoader.cpp (left): https://codereview.chromium.org/1476953004/diff/1/third_party/WebKit/Source/core/loader/FrameLoader.cpp#oldcode1071 third_party/WebKit/Source/core/loader/FrameLoader.cpp:1071: m_frame->updateFrameSecurityOrigin(); In this case, the frame scheduler update has ...
5 years ago (2015-11-26 21:16:30 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1476953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1476953004/1
5 years ago (2015-11-26 21:16:57 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-11-26 23:08:54 UTC) #7
haraken
LGTM
5 years ago (2015-11-26 23:27:02 UTC) #8
Sami
lgtm, thanks for the cleanup.
5 years ago (2015-11-27 11:11:06 UTC) #10
alex clarke (OOO till 29th)
lgtm
5 years ago (2015-11-27 12:17:26 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1476953004/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1476953004/1
5 years ago (2015-11-27 17:26:40 UTC) #13
commit-bot: I haz the power
Committed patchset #1 (id:1)
5 years ago (2015-11-27 17:31:25 UTC) #14
commit-bot: I haz the power
5 years ago (2015-11-27 17:32:17 UTC) #16
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/eaad6362fae91ce9fe55050711d95e52ac21a92a
Cr-Commit-Position: refs/heads/master@{#362019}

Powered by Google App Engine
This is Rietveld 408576698