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

Issue 2522633003: Only propagate intervention reports to local frames (Closed)

Created:
4 years, 1 month ago by Sami
Modified:
3 years, 11 months ago
Reviewers:
Mike West, dcheng
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Only propagate intervention reports to local frames Don't try to log console messages about interventions to remote frames (which don't support this). Instead, report the intervention to the local root. BUG=667481 Committed: https://crrev.com/e1eb6009ca491323f9fe18237cc2dddfc8eb399e Cr-Commit-Position: refs/heads/master@{#434317}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 26 (17 generated)
Sami
4 years, 1 month ago (2016-11-22 15:03:46 UTC) #5
Mike West
LGTM.
4 years ago (2016-11-23 13:04:48 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/2522633003/1
4 years ago (2016-11-23 16:31:12 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/341694)
4 years ago (2016-11-23 19:45:11 UTC) #16
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/2522633003/1
4 years ago (2016-11-24 11:02:15 UTC) #18
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years ago (2016-11-24 14:44:15 UTC) #21
commit-bot: I haz the power
Patchset 1 (id:??) landed as https://crrev.com/e1eb6009ca491323f9fe18237cc2dddfc8eb399e Cr-Commit-Position: refs/heads/master@{#434317}
4 years ago (2016-11-24 14:46:21 UTC) #23
dcheng
I might be missing something, but how are the interventions reported to the local root ...
3 years, 12 months ago (2016-12-27 07:56:38 UTC) #25
Sami
3 years, 11 months ago (2017-01-09 13:26:43 UTC) #26
Message was sent while issue was closed.
On 2016/12/27 07:56:38, dcheng wrote:
> I might be missing something, but how are the interventions reported to the
> local root here? It seems like it just isn't reported at all in this case.

I think you're right -- we just drop the logs that are generated from
non-main-frame renderers.

I looked into fixing this but got a bit stuck: is there some object that
corresponds with the local root(s) of each renderer? I couldn't find a way to
get from WebViewImpl to the local root without recursing into the frame tree
which seems yucky. Can you think of a better idea?

Powered by Google App Engine
This is Rietveld 408576698