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

Issue 2601763002: WebFrame cleanup: Move addMessageToConsole to WebLocalFrame (Closed)

Created:
3 years, 12 months ago by dcheng
Modified:
3 years, 10 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, extensions-reviews_chromium.org, mlamouri+watch-blink_chromium.org, jam, dcheng, dglazkov+blink, darin-cc_chromium.org, blink-reviews, chromium-apps-reviews_chromium.org, kinuko+watch, blink-reviews-api_chromium.org, michaeln, ananta, mlamouri (slow - plz ping), Sami
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

WebFrame cleanup: Move addMessageToConsole to WebLocalFrame Calling this method on a generic WebFrame doesn't make sense, since it doesn't make sense to log things to a remote frame. Some code is apparently doing this, and spamming the CrOS logs like crazy. BUG=416660, 667481 R=avi@chromium.org,haraken@chromium.org TBR=rdevlin.cronin@chromium.org,thestig@chromium.org Committed: https://crrev.com/5a2307c7dd371719a6f21aa919efa9ce607e3f4c Cr-Commit-Position: refs/heads/master@{#441029}

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -45 lines) Patch
M chrome/renderer/chrome_content_renderer_client.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_content_renderer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/chrome_render_view_observer.cc View 1 chunk +5 lines, -3 lines 1 comment Download
M chrome/renderer/extensions/chrome_extensions_renderer_client.h View 2 chunks +1 line, -2 lines 0 comments Download
M chrome/renderer/extensions/chrome_extensions_renderer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/resource_request_policy.h View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/renderer/extensions/resource_request_policy.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.h View 2 chunks +2 lines, -2 lines 0 comments Download
M components/printing/renderer/print_web_view_helper.cc View 2 chunks +5 lines, -3 lines 0 comments Download
M content/public/renderer/content_renderer_client.h View 1 chunk +1 line, -1 line 0 comments Download
M content/public/renderer/content_renderer_client.cc View 1 chunk +4 lines, -5 lines 0 comments Download
M content/renderer/renderer_webapplicationcachehost_impl.cc View 2 chunks +8 lines, -3 lines 1 comment Download
M extensions/shell/renderer/shell_content_renderer_client.h View 1 chunk +1 line, -1 line 0 comments Download
M extensions/shell/renderer/shell_content_renderer_client.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/page/ChromeClient.cpp View 1 chunk +6 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.h View 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/ChromeClientImpl.cpp View 1 chunk +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp View 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebFrame.h View 2 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/public/web/WebLocalFrame.h View 2 chunks +4 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (14 generated)
dcheng
+avi for non-Blink code +haraken for Blink code Most of this is just changing plumbing ...
3 years, 12 months ago (2016-12-27 08:48:59 UTC) #5
dcheng
(Btw, at some point in Q1/Q2, I do plan on starting to audit all the ...
3 years, 12 months ago (2016-12-27 08:53:35 UTC) #6
haraken
LGTM
3 years, 12 months ago (2016-12-27 11:35:41 UTC) #9
Avi (use Gerrit)
lgtm This looks reasonable to me.
3 years, 12 months ago (2016-12-27 13:52:56 UTC) #10
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/2601763002/1
3 years, 12 months ago (2016-12-27 17:34:06 UTC) #12
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/332647)
3 years, 12 months ago (2016-12-27 17:39:38 UTC) #14
dcheng
TBRing rdevlin.cronin@ for extensions and thestig@ for chrome and components.
3 years, 11 months ago (2016-12-30 10:09:21 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/2601763002/1
3 years, 11 months ago (2016-12-30 10:09:41 UTC) #19
commit-bot: I haz the power
Committed patchset #1 (id:1)
3 years, 11 months ago (2016-12-30 13:35:41 UTC) #22
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/5a2307c7dd371719a6f21aa919efa9ce607e3f4c Cr-Commit-Position: refs/heads/master@{#441029}
3 years, 11 months ago (2017-01-02 15:54:30 UTC) #24
Devlin
extensions retro lgtm
3 years, 11 months ago (2017-01-02 16:40:29 UTC) #25
Lei Zhang
On 2016/12/30 10:09:21, dcheng wrote: > TBRing rdevlin.cronin@ for extensions and thestig@ for chrome and ...
3 years, 10 months ago (2017-02-23 22:16:55 UTC) #26
Lei Zhang
3 years, 10 months ago (2017-02-23 22:16:55 UTC) #27
Message was sent while issue was closed.
On 2016/12/30 10:09:21, dcheng wrote:
> TBRing rdevlin.cronin@ for extensions and thestig@ for chrome and components.

lgtm

Powered by Google App Engine
This is Rietveld 408576698