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

Issue 2871703002: Revert of Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ (Closed)

Created:
3 years, 7 months ago by Nate Chapin
Modified:
3 years, 7 months ago
Reviewers:
dcheng
CC:
chromium-reviews, blink-reviews, dglazkov+blink, blink-reviews-html_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Revert of Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ (patchset #2 id:20001 of https://codereview.chromium.org/2854853006/ ) Reason for revert: Moving CheckCompleted() call to HTMLFrameOwnerElement::ClearContentFrame() appears to be causing script to run in a ScriptForbiddenScope. See crbug.com/719397 Original issue's description: > Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_ > > Clear() is full of strange, old logic. Several clauses are outright unnecessary, or have better-encapsulated homes. > > check_timer_ appears to have two uses, one of which is vestigial, the other of which can be better-situated to not require a timer. > > BUG= > > Review-Url: https://codereview.chromium.org/2854853006 > Cr-Commit-Position: refs/heads/master@{#469774} > Committed: https://chromium.googlesource.com/chromium/src/+/2081f48578f7d6ff49d468a76e471f2b90f78178 TBR=dcheng@chromium.org # Not skipping CQ checks because original CL landed more than 1 days ago. BUG= Review-Url: https://codereview.chromium.org/2871703002 Cr-Commit-Position: refs/heads/master@{#470176} Committed: https://chromium.googlesource.com/chromium/src/+/f9ec861dd439fa98154ae7928f1472bd6e4d2c88

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -5 lines) Patch
M third_party/WebKit/Source/bindings/core/v8/ScriptController.h View 2 chunks +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/bindings/core/v8/ScriptController.cpp View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp View 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.h View 3 chunks +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoader.cpp View 7 chunks +31 lines, -1 line 0 comments Download

Messages

Total messages: 11 (5 generated)
Nate Chapin
Created Revert of Simplify FrameLoader::Clear(), remove FrameLoader::check_timer_
3 years, 7 months ago (2017-05-08 18:05:59 UTC) #2
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/2871703002/1
3 years, 7 months ago (2017-05-08 18:06:50 UTC) #3
dcheng
LGTM
3 years, 7 months ago (2017-05-08 20:20:21 UTC) #4
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/447866)
3 years, 7 months ago (2017-05-08 20:37:33 UTC) #6
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/2871703002/1
3 years, 7 months ago (2017-05-08 21:04:16 UTC) #8
commit-bot: I haz the power
3 years, 7 months ago (2017-05-09 03:58:20 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/f9ec861dd439fa98154ae7928f14...

Powered by Google App Engine
This is Rietveld 408576698