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 470803002: WebViewImpl's hit tests should use setToShadowHostIfInUserAgentShadowRoot. (Closed)

Created:
6 years, 4 months ago by esprehn
Modified:
6 years, 3 months ago
CC:
blink-reviews
Project:
blink
Visibility:
Public.

Description

WebViewImpl's hit tests should use setToShadowHostIfInUserAgentShadowRoot. This code in WebViewImpl never expects to end up inside a UA shadow root, so call setToShadowHostIfInUserAgentShadowRoot() after doing each hit test. Unfortunately there's no obvious way to test context menus right now. I also added a bunch of FIXME's related to parentNode() traversals inside WebViewImpl that are not ShadowDOM aware. BUG=402026 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181071

Patch Set 1 #

Total comments: 6

Patch Set 2 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -1 line) Patch
M Source/web/WebViewImpl.cpp View 1 4 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 14 (0 generated)
esprehn
The alternative to this is to revert https://src.chromium.org/viewvc/blink?revision=176900&view=revision and then make the old "ConfusingAndOftenMisusedDisallowShadowContent" flag ...
6 years, 4 months ago (2014-08-14 01:38:50 UTC) #1
abarth-chromium
@rbyers: Thoughts?
6 years, 4 months ago (2014-08-14 03:56:48 UTC) #2
Rick Byers
Sorry for the delay, still digging my way out of vacation e-mail. This looks reasonable ...
6 years, 4 months ago (2014-08-15 18:10:58 UTC) #3
esprehn
I'm not sure how to write tests at this layer of the system. We should ...
6 years, 4 months ago (2014-08-16 04:14:58 UTC) #4
Rick Byers
On 2014/08/16 04:14:58, esprehn wrote: > I'm not sure how to write tests at this ...
6 years, 4 months ago (2014-08-18 16:35:12 UTC) #5
esprehn
Can someone give pointers on how to write tests? I think we need to do ...
6 years, 4 months ago (2014-08-19 23:36:15 UTC) #6
Rick Byers
On 2014/08/19 23:36:15, esprehn wrote: > Can someone give pointers on how to write tests? ...
6 years, 4 months ago (2014-08-20 14:18:22 UTC) #7
esprehn
Can I get an lgtm then?
6 years, 3 months ago (2014-08-27 20:17:45 UTC) #8
Rick Byers
LGTM (modulo merge with trunk nits) I'm not an owner of Source/web though. https://codereview.chromium.org/470803002/diff/1/Source/web/WebViewImpl.cpp File ...
6 years, 3 months ago (2014-08-27 20:35:10 UTC) #9
scherkus (not reviewing)
scherkus@chromium.org changed reviewers: + scherkus@chromium.org
6 years, 3 months ago (2014-08-27 20:43:35 UTC) #10
scherkus (not reviewing)
where are we with this CL? as it stands blink r176900 regressed media context menus ...
6 years, 3 months ago (2014-08-27 20:43:35 UTC) #11
esprehn
The CQ bit was checked by esprehn@chromium.org
6 years, 3 months ago (2014-08-29 02:42:59 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/esprehn@chromium.org/470803002/20001
6 years, 3 months ago (2014-08-29 02:43:50 UTC) #13
commit-bot: I haz the power
6 years, 3 months ago (2014-08-29 02:47:36 UTC) #14
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181071

Powered by Google App Engine
This is Rietveld 408576698