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

Issue 1817453002: Implement Event.relatedTargetScoped (Closed)

Created:
4 years, 9 months ago by yuzuchan
Modified:
4 years, 9 months ago
Reviewers:
hayato, kochi, Steven Holte
CC:
asvitkine+watch_chromium.org, blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement Event.relatedTargetScoped This CL implements Event.relatedTargetScoped flag, which is set to false by default and should be set to true only if the event is trusted and has a related target or if the user sets it to true. See the spec here: https://w3c.github.io/webcomponents/spec/shadow/#dfn-relatedtargetscoped-flag BUG=589782 TBR=holte@chromium.org Committed: https://crrev.com/19bc947948fe95fd5fae7cbe3e9a8ef71d8cf0c0 Cr-Commit-Position: refs/heads/master@{#381929}

Patch Set 1 #

Patch Set 2 : Remove unnecessary changes #

Patch Set 3 : Remove unnecessary changes #

Total comments: 4

Patch Set 4 : Fix bot builds error & refactor #

Patch Set 5 : OILPAN error fix #

Patch Set 6 : Ensure test execution order #

Patch Set 7 : Fix layout test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+178 lines, -13 lines) Patch
M third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-get-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/http/tests/serviceworker/webexposed/global-interface-listing-service-worker-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/shadow-dom/events-related-target-scoped.html View 1 2 3 4 5 6 1 chunk +114 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-shared-worker-expected.txt View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.h View 1 2 3 3 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/Event.cpp View 1 2 chunks +16 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventInit.idl View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/FocusEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/GestureEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/MouseRelatedEvent.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/MouseRelatedEvent.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/events/RelatedEvent.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/core/events/UIEvent.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEvent.cpp View 2 chunks +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.h View 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEventWithKeyState.cpp View 1 chunk +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (10 generated)
yuzuchan
PTAL
4 years, 9 months ago (2016-03-18 05:20:39 UTC) #2
kochi
lgtm https://codereview.chromium.org/1817453002/diff/40001/third_party/WebKit/Source/core/events/Event.h File third_party/WebKit/Source/core/events/Event.h (right): https://codereview.chromium.org/1817453002/diff/40001/third_party/WebKit/Source/core/events/Event.h#newcode213 third_party/WebKit/Source/core/events/Event.h:213: Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableArg, EventTarget* ...
4 years, 9 months ago (2016-03-18 05:43:43 UTC) #3
kochi
could you fix oilpan build error?
4 years, 9 months ago (2016-03-18 05:44:25 UTC) #4
hayato
I chatted with Yuzu offline. We'll make another CL to use relatedTargetScope so that event ...
4 years, 9 months ago (2016-03-18 06:26:52 UTC) #5
yuzuchan
https://codereview.chromium.org/1817453002/diff/40001/third_party/WebKit/LayoutTests/shadow-dom/events-related-target-scoped.html File third_party/WebKit/LayoutTests/shadow-dom/events-related-target-scoped.html (right): https://codereview.chromium.org/1817453002/diff/40001/third_party/WebKit/LayoutTests/shadow-dom/events-related-target-scoped.html#newcode53 third_party/WebKit/LayoutTests/shadow-dom/events-related-target-scoped.html:53: async_test(function(t) { On 2016/03/18 at 06:26:52, hayato wrote: > ...
4 years, 9 months ago (2016-03-18 07:20:15 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817453002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817453002/100001
4 years, 9 months ago (2016-03-18 08:01:35 UTC) #8
yuzuchan
Hello holte@, could you please lgtm this CL if it looks good? I changed histogram.xml ...
4 years, 9 months ago (2016-03-18 08:06:59 UTC) #10
kochi
On 2016/03/18 08:06:59, yuzuchan wrote: > Hello holte@, could you please lgtm this CL if ...
4 years, 9 months ago (2016-03-18 08:15:05 UTC) #12
yuzuchan
On 2016/03/18 at 08:15:05, kochi wrote: > On 2016/03/18 08:06:59, yuzuchan wrote: > > Hello ...
4 years, 9 months ago (2016-03-18 08:21:19 UTC) #13
hayato
lgtm
4 years, 9 months ago (2016-03-18 08:31:03 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817453002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817453002/120001
4 years, 9 months ago (2016-03-18 09:26:08 UTC) #19
yuzuchan
After this lgtm I fixed a build-bot failure by modifying a mouseover function in layout ...
4 years, 9 months ago (2016-03-18 09:32:58 UTC) #20
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 9 months ago (2016-03-18 10:55:04 UTC) #21
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/19bc947948fe95fd5fae7cbe3e9a8ef71d8cf0c0 Cr-Commit-Position: refs/heads/master@{#381929}
4 years, 9 months ago (2016-03-18 10:56:10 UTC) #23
Steven Holte
4 years, 9 months ago (2016-03-24 19:51:40 UTC) #25
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698