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

Issue 14508005: Support an Event Path API (Closed)

Created:
7 years, 8 months ago by hayato
Modified:
7 years, 7 months ago
Reviewers:
dglazkov
CC:
blink-reviews
Visibility:
Public.

Description

Support an Event Path API behind experimentalShadowDOM flag. The spec issue is here: https://www.w3.org/Bugs/Public/show_bug.cgi?id=21066 See also the comment in the bug: https://code.google.com/p/chromium/issues/detail?id=234030#c5 BUG=234030 R=dglazkov@chromium.org Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150007

Patch Set 1 #

Patch Set 2 : Add a test for reprojection. #

Patch Set 3 : Rebased #

Patch Set 4 : event.path() now returns a different view for each node. #

Total comments: 1

Patch Set 5 : Introduce TreeScope::isInclusiveAncestorOf #

Unified diffs Side-by-side diffs Delta from patch set Stats (+170 lines, -17 lines) Patch
A LayoutTests/fast/dom/shadow/event-path.html View 1 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/event-path-expected.txt View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/event-path-in-shadow-tree.html View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
A LayoutTests/fast/dom/shadow/event-path-in-shadow-tree-expected.txt View 1 2 3 1 chunk +43 lines, -0 lines 0 comments Download
M LayoutTests/fast/dom/shadow/resources/shadow-dom.js View 1 2 3 1 chunk +11 lines, -3 lines 0 comments Download
M Source/core/dom/Event.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/Event.cpp View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M Source/core/dom/Event.idl View 1 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/EventContext.h View 1 2 3 4 2 chunks +1 line, -13 lines 0 comments Download
M Source/core/dom/EventContext.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/TreeScope.h View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/TreeScope.cpp View 1 2 3 4 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
hayato
An initial attempt to implement an Event Path API. Not ready for review.
7 years, 8 months ago (2013-04-26 08:13:46 UTC) #1
hayato
On 2013/04/26 08:13:46, hayato wrote: > An initial attempt to implement an Event Path API. ...
7 years, 7 months ago (2013-05-07 04:38:19 UTC) #2
hayato
7 years, 7 months ago (2013-05-07 04:47:40 UTC) #3
dglazkov
It's nice and clean :) I wonder though -- should we limit the results to ...
7 years, 7 months ago (2013-05-07 14:48:40 UTC) #4
hayato
On 2013/05/07 14:48:40, Dimitri Glazkov wrote: > It's nice and clean :) > > I ...
7 years, 7 months ago (2013-05-08 01:57:46 UTC) #5
hayato
I've attached the picture on issue234030. https://code.google.com/p/chromium/issues/detail?id=234030#c10 That explains what event.path() should return at each ...
7 years, 7 months ago (2013-05-08 06:53:05 UTC) #6
hayato
I've uploaded the new patch which implements https://code.google.com/p/chromium/issues/detail?id=234030#c11.
7 years, 7 months ago (2013-05-08 08:38:40 UTC) #7
dglazkov
lgtm https://codereview.chromium.org/14508005/diff/13001/Source/core/dom/Node.cpp File Source/core/dom/Node.cpp (right): https://codereview.chromium.org/14508005/diff/13001/Source/core/dom/Node.cpp#newcode2782 Source/core/dom/Node.cpp:2782: bool Node::canReach(const Node* target) const I think we ...
7 years, 7 months ago (2013-05-08 16:37:29 UTC) #8
hayato
On 2013/05/08 16:37:29, Dimitri Glazkov wrote: > lgtm > > https://codereview.chromium.org/14508005/diff/13001/Source/core/dom/Node.cpp > File Source/core/dom/Node.cpp (right): ...
7 years, 7 months ago (2013-05-09 04:20:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hayato@chromium.org/14508005/19001
7 years, 7 months ago (2013-05-09 04:22:57 UTC) #10
commit-bot: I haz the power
Step "update" is always a major failure. Look at the try server FAQ for more ...
7 years, 7 months ago (2013-05-09 04:46:33 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hayato@chromium.org/14508005/19001
7 years, 7 months ago (2013-05-09 04:49:52 UTC) #12
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7297
7 years, 7 months ago (2013-05-09 05:34:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/hayato@chromium.org/14508005/19001
7 years, 7 months ago (2013-05-09 05:52:11 UTC) #14
commit-bot: I haz the power
Retried try job too often on linux_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_layout_rel&number=7302
7 years, 7 months ago (2013-05-09 06:33:07 UTC) #15
hayato
Committed patchset #5 manually as r150007 (presubmit successful).
7 years, 7 months ago (2013-05-09 06:35:48 UTC) #16
dominicc (has gone to gerrit)
On 2013/05/09 06:35:48, hayato wrote: > Committed patchset #5 manually as r150007 (presubmit successful). Where's ...
7 years, 7 months ago (2013-05-10 06:14:47 UTC) #17
hayato
On 2013/05/10 06:14:47, dominicc wrote: > On 2013/05/09 06:35:48, hayato wrote: > > Committed patchset ...
7 years, 7 months ago (2013-05-10 06:18:52 UTC) #18
hayato
On 2013/05/10 06:18:52, hayato wrote: > On 2013/05/10 06:14:47, dominicc wrote: > > On 2013/05/09 ...
7 years, 7 months ago (2013-05-10 06:24:01 UTC) #19
dominicc (has gone to gerrit)
On 2013/05/10 06:24:01, hayato wrote: > On 2013/05/10 06:18:52, hayato wrote: > > On 2013/05/10 ...
7 years, 7 months ago (2013-05-10 09:36:45 UTC) #20
hayato
7 years, 7 months ago (2013-05-10 09:43:30 UTC) #21
Message was sent while issue was closed.
On 2013/05/10 09:36:45, dominicc wrote:
> On 2013/05/10 06:24:01, hayato wrote:
> > On 2013/05/10 06:18:52, hayato wrote:
> > > On 2013/05/10 06:14:47, dominicc wrote:
> > > > On 2013/05/09 06:35:48, hayato wrote:
> > > > > Committed patchset #5 manually as r150007 (presubmit successful).
> > > > 
> > > > Where's the layout test that verifies that this does not leak user agent
> > > shadows
> > > > to script?
> > > 
> > > No, I've not written that.
> > 
> > Let me verify that. It is supposed that it doesn't leak.
> 
> At a first glance it does not leak, but I would really like to have a
regression
> test in place for this.

Yeah, a test was uploaded and is waiting for a review.
https://codereview.chromium.org/14864018/

Powered by Google App Engine
This is Rietveld 408576698