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

Issue 1586563005: Add Event.scoped (Closed)

Created:
4 years, 11 months ago by yuzusan
Modified:
4 years, 11 months ago
Reviewers:
yuzuchan, hayato, kojii, kochi
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add scoped flag to Event. Spec is described here: http://w3c.github.io/webcomponents/spec/shadow/#dfn-scoped-flag Only with UA's creation of certain events(abort, error, etc.), this scoped flag is set to true. Note that any event created by users has scoped flag set to false by default. R=hayato@chromium.org BUG=531990, 575042 Committed: https://crrev.com/e3f3112453d171c88fd0f06b4c8196228f47780c Cr-Commit-Position: refs/heads/master@{#371747}

Patch Set 1 #

Total comments: 30

Patch Set 2 : Fix old layout tests #

Patch Set 3 : Modify layout test for event.scoped #

Total comments: 2

Patch Set 4 : Mark imported tests as failure #

Patch Set 5 : Fix Event.cpp #

Total comments: 2

Patch Set 6 : Add flags in EventInit.idl #

Patch Set 7 : Modify Use Counter #

Total comments: 2

Patch Set 8 : Modify layout test results #

Total comments: 3

Patch Set 9 : Add a missing semicolon #

Patch Set 10 : Remove error from test case as it bubbles up and fails test\ #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -23 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 9 1 chunk +9 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html View 1 2 3 4 5 6 7 8 9 4 chunks +5 lines, -5 lines 1 comment Download
M third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt View 1 2 3 4 5 6 7 8 9 3 chunks +20 lines, -6 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/dom/shadow/scoped-events-by-ua-stopped.html View 1 2 1 chunk +76 lines, -0 lines 4 comments Download
M third_party/WebKit/LayoutTests/fast/xmlhttprequest/xmlhttprequest-get-expected.txt View 1 2 3 4 5 6 7 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 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-dedicated-worker-expected.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 4 5 6 7 8 9 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 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.h View 3 chunks +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.cpp View 1 2 3 4 2 chunks +27 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/events/Event.idl View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventInit.idl View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/EventPath.cpp View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -9 lines 0 comments Download
M third_party/WebKit/Source/core/frame/UseCounter.h View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 34 (12 generated)
yuzusan
4 years, 11 months ago (2016-01-14 08:50:05 UTC) #1
hayato
Looks promising. Thank you! My comments are for patch set 1. Some of them are ...
4 years, 11 months ago (2016-01-15 03:59:52 UTC) #4
yuzuchan
https://codereview.chromium.org/1586563005/diff/1/third_party/WebKit/LayoutTests/fast/dom/shadow/event-scoped-user-setting-on-creation.html File third_party/WebKit/LayoutTests/fast/dom/shadow/event-scoped-user-setting-on-creation.html (right): https://codereview.chromium.org/1586563005/diff/1/third_party/WebKit/LayoutTests/fast/dom/shadow/event-scoped-user-setting-on-creation.html#newcode26 third_party/WebKit/LayoutTests/fast/dom/shadow/event-scoped-user-setting-on-creation.html:26: img.onload = function (e) { On 2016/01/15 03:59:52, hayato ...
4 years, 11 months ago (2016-01-15 05:32:27 UTC) #6
kochi
For tests under LayoutTests/imported, please mark those tests which fail as [Failure] in LayoutTest/TestExpectations file. ...
4 years, 11 months ago (2016-01-15 06:51:16 UTC) #7
kochi
On 2016/01/15 06:51:16, kochi wrote: > For tests under LayoutTests/imported, > please mark those tests ...
4 years, 11 months ago (2016-01-15 06:55:19 UTC) #8
yuzuchan
Done. Thank you! On 2016/01/15 06:55:19, kochi wrote: > On 2016/01/15 06:51:16, kochi wrote: > ...
4 years, 11 months ago (2016-01-15 07:52:38 UTC) #9
yuzuchan
https://codereview.chromium.org/1586563005/diff/40001/third_party/WebKit/Source/core/events/Event.cpp File third_party/WebKit/Source/core/events/Event.cpp (right): https://codereview.chromium.org/1586563005/diff/40001/third_party/WebKit/Source/core/events/Event.cpp#newcode51 third_party/WebKit/Source/core/events/Event.cpp:51: : Event("", false, false) On 2016/01/15 06:51:16, kochi wrote: ...
4 years, 11 months ago (2016-01-15 07:53:02 UTC) #10
kochi
https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl File third_party/WebKit/Source/core/events/EventInit.idl (right): https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl#newcode10 third_party/WebKit/Source/core/events/EventInit.idl:10: boolean scoped = false; You also need [RuntimeEnabled=ShadowDOMV1, MeasureAs=EventScoped] ...
4 years, 11 months ago (2016-01-18 08:39:50 UTC) #11
kochi
On 2016/01/18 08:39:50, kochi wrote: > https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl > File third_party/WebKit/Source/core/events/EventInit.idl (right): > > https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl#newcode10 > ...
4 years, 11 months ago (2016-01-18 08:53:31 UTC) #12
yuzusan
https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl File third_party/WebKit/Source/core/events/EventInit.idl (right): https://codereview.chromium.org/1586563005/diff/80001/third_party/WebKit/Source/core/events/EventInit.idl#newcode10 third_party/WebKit/Source/core/events/EventInit.idl:10: boolean scoped = false; On 2016/01/18 08:39:50, kochi wrote: ...
4 years, 11 months ago (2016-01-19 06:10:28 UTC) #14
hayato
I think you have to update LayoutTests/webexposed/ also in this CL, as you did in ...
4 years, 11 months ago (2016-01-21 09:51:41 UTC) #16
yuzuchan
https://codereview.chromium.org/1586563005/diff/120001/third_party/WebKit/Source/core/events/EventInit.idl File third_party/WebKit/Source/core/events/EventInit.idl (right): https://codereview.chromium.org/1586563005/diff/120001/third_party/WebKit/Source/core/events/EventInit.idl#newcode10 third_party/WebKit/Source/core/events/EventInit.idl:10: [RuntimeEnabled=ShadowDOMV1, MeasureAs=EventScoped] boolean scoped = false; On 2016/01/21 09:51:40, ...
4 years, 11 months ago (2016-01-22 05:44:35 UTC) #17
hayato
lgtm https://codereview.chromium.org/1586563005/diff/140001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt File third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt (right): https://codereview.chromium.org/1586563005/diff/140001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt#newcode86 third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt:86: FAIL successfullyParsed should be true. Was false. Looks ...
4 years, 11 months ago (2016-01-22 07:16:25 UTC) #18
yuzuchan
https://codereview.chromium.org/1586563005/diff/140001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt File third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt (right): https://codereview.chromium.org/1586563005/diff/140001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt#newcode86 third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary-expected.txt:86: FAIL successfullyParsed should be true. Was false. Found out ...
4 years, 11 months ago (2016-01-25 07:23:49 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586563005/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586563005/160001
4 years, 11 months ago (2016-01-25 07:24:12 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/169593)
4 years, 11 months ago (2016-01-25 08:03:21 UTC) #24
kochi
On 2016/01/25 08:03:21, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 11 months ago (2016-01-25 08:28:52 UTC) #25
yuzuchan
On 2016/01/25 08:28:52, kochi wrote: > On 2016/01/25 08:03:21, commit-bot: I haz the power wrote: ...
4 years, 11 months ago (2016-01-27 05:11:11 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1586563005/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1586563005/180001
4 years, 11 months ago (2016-01-27 05:51:05 UTC) #29
kochi
https://codereview.chromium.org/1586563005/diff/180001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html File third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html (right): https://codereview.chromium.org/1586563005/diff/180001/third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html#newcode54 third_party/WebKit/LayoutTests/fast/dom/shadow/events-stopped-at-shadow-boundary.html:54: var events = ['abort', 'select', 'change', 'reset', 'resize', 'scroll', ...
4 years, 11 months ago (2016-01-27 06:02:16 UTC) #30
commit-bot: I haz the power
Committed patchset #10 (id:180001)
4 years, 11 months ago (2016-01-27 06:22:59 UTC) #32
commit-bot: I haz the power
4 years, 11 months ago (2016-01-27 06:24:00 UTC) #34
Message was sent while issue was closed.
Patchset 10 (id:??) landed as
https://crrev.com/e3f3112453d171c88fd0f06b4c8196228f47780c
Cr-Commit-Position: refs/heads/master@{#371747}

Powered by Google App Engine
This is Rietveld 408576698