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

Issue 2570203004: Fix low risk nullable => non nullable change for NavigatorLanguage.language (Closed)

Created:
4 years ago by lunalu1
Modified:
4 years ago
CC:
chromium-reviews, blink-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix low risk nullable => non nullable change for NavigatorLanguage.language NavigatorLanguage::language() returns defaultLanguage() which either preferredLanguagesOverride()[0] if preferredLanguagesOverride() is not empty or platformLanguage() which will never return null; therefore, the change is safe. Added web platform test for InputEvent BUG=662005 Committed: https://crrev.com/3d59b1cb65c0b2566316b0886e69e49ef7589d6e Cr-Commit-Position: refs/heads/master@{#439111}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Added layout test for inputevent.data and modified layout test expectation for two input tests #

Total comments: 2

Patch Set 3 : Added web platfom test for InputEvent #

Total comments: 4

Patch Set 4 : Codereview update #

Patch Set 5 : Revert changes made to InputEvent, leaved web platform test entry for input-events for future platf… #

Total comments: 3

Patch Set 6 : Revert InputEvent #

Total comments: 2

Patch Set 7 : Move inputevent constructor web platform test to the appropriate place #

Total comments: 5

Patch Set 8 : Codereview update #

Total comments: 4

Patch Set 9 : Codereview update #

Patch Set 10 : Added InputEvent constructor platform test to MANIFEST #

Unified diffs Side-by-side diffs Delta from patch set Stats (+32 lines, -1 line) Patch
M third_party/WebKit/LayoutTests/imported/wpt/MANIFEST.json View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html View 1 2 3 4 5 6 7 8 1 chunk +25 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/frame/NavigatorLanguage.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 68 (41 generated)
lunalu1
4 years ago (2016-12-14 18:05:37 UTC) #4
foolip
https://codereview.chromium.org/2570203004/diff/1/third_party/WebKit/Source/core/events/InputEvent.idl File third_party/WebKit/Source/core/events/InputEvent.idl (right): https://codereview.chromium.org/2570203004/diff/1/third_party/WebKit/Source/core/events/InputEvent.idl#newcode14 third_party/WebKit/Source/core/events/InputEvent.idl:14: readonly attribute DOMString data; This one needs a test, ...
4 years ago (2016-12-14 19:07:31 UTC) #5
lunalu1
Hi Tim, Could you please take a look at my change in: fast/events/inputevents/inputevent-data-keyboard.html fast/events/inputevents/inputevent-cut-paste.html I ...
4 years ago (2016-12-15 10:33:54 UTC) #12
foolip
navigator.language change lgtm, for input let's tinker with tests and wait for tdresser@ https://codereview.chromium.org/2570203004/diff/40001/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html File ...
4 years ago (2016-12-15 10:53:49 UTC) #18
tdresser
LGTM, but over to dtapuska who has context on InputEvent. https://codereview.chromium.org/2570203004/diff/60001/third_party/WebKit/LayoutTests/W3CImportExpectations File third_party/WebKit/LayoutTests/W3CImportExpectations (right): https://codereview.chromium.org/2570203004/diff/60001/third_party/WebKit/LayoutTests/W3CImportExpectations#newcode273 ...
4 years ago (2016-12-15 13:35:56 UTC) #24
dtapuska
On 2016/12/15 13:35:56, tdresser wrote: > LGTM, but over to dtapuska who has context on ...
4 years ago (2016-12-15 14:09:34 UTC) #26
dtapuska
On 2016/12/15 14:09:34, dtapuska wrote: > On 2016/12/15 13:35:56, tdresser wrote: > > LGTM, but ...
4 years ago (2016-12-15 14:11:18 UTC) #27
dtapuska
On 2016/12/15 14:11:18, dtapuska wrote: > On 2016/12/15 14:09:34, dtapuska wrote: > > On 2016/12/15 ...
4 years ago (2016-12-15 14:14:08 UTC) #28
dtapuska
On 2016/12/15 14:11:18, dtapuska wrote: > On 2016/12/15 14:09:34, dtapuska wrote: > > On 2016/12/15 ...
4 years ago (2016-12-15 14:14:10 UTC) #29
lunalu1
Thank you for reviewing my CL. I have reverted the change made to the InputEvent*, ...
4 years ago (2016-12-15 16:10:03 UTC) #33
chongz
On 2016/12/15 14:14:10, dtapuska wrote: > On 2016/12/15 14:11:18, dtapuska wrote: > > On 2016/12/15 ...
4 years ago (2016-12-15 16:11:32 UTC) #35
dtapuska
https://codereview.chromium.org/2570203004/diff/100001/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html File third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html (right): https://codereview.chromium.org/2570203004/diff/100001/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html#newcode43 third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html:43: assert_equals(event.data, null, 'Cut&Paste should have empty plain text |data| ...
4 years ago (2016-12-15 16:12:49 UTC) #36
lunalu1
My bad. Sorry for missing a few places for the revert. https://codereview.chromium.org/2570203004/diff/100001/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html File third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cut-paste.html (right): ...
4 years ago (2016-12-15 16:18:50 UTC) #37
dtapuska
https://codereview.chromium.org/2570203004/diff/120001/third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html File third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html (right): https://codereview.chromium.org/2570203004/diff/120001/third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html#newcode3 third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html:3: <script src="/resources/testharness.js"></script> Shouldn't imported tests first be added to ...
4 years ago (2016-12-15 17:00:03 UTC) #38
foolip
https://codereview.chromium.org/2570203004/diff/120001/third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html File third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html (right): https://codereview.chromium.org/2570203004/diff/120001/third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html#newcode3 third_party/WebKit/LayoutTests/imported/wpt/input-events/inputevent-constructor.html:3: <script src="/resources/testharness.js"></script> On 2016/12/15 17:00:03, dtapuska wrote: > Shouldn't ...
4 years ago (2016-12-15 22:43:33 UTC) #39
lunalu1
done. thanks
4 years ago (2016-12-16 09:24:44 UTC) #40
foolip
I said to split the test into a separate CL, but never mind actually, just ...
4 years ago (2016-12-16 10:01:44 UTC) #43
lunalu1
done. thanks https://codereview.chromium.org/2570203004/diff/140001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html File third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html (right): https://codereview.chromium.org/2570203004/diff/140001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html#newcode10 third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html:10: assert_equals(e.dataTransfer, null); On 2016/12/16 10:01:44, foolip wrote: ...
4 years ago (2016-12-16 11:23:08 UTC) #47
foolip
lgtm % nit https://codereview.chromium.org/2570203004/diff/160001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html File third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html (right): https://codereview.chromium.org/2570203004/diff/160001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html#newcode8 third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html:8: assert_equals(e.inputType, ''); inputType is also from ...
4 years ago (2016-12-16 12:28:48 UTC) #49
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/2570203004/180001
4 years ago (2016-12-16 13:42:39 UTC) #52
foolip
jeffcarp@, here's another test export CL for you.
4 years ago (2016-12-16 14:09:12 UTC) #55
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/2570203004/200001
4 years ago (2016-12-16 14:11:40 UTC) #60
commit-bot: I haz the power
Committed patchset #10 (id:200001)
4 years ago (2016-12-16 15:34:26 UTC) #63
commit-bot: I haz the power
Patchset 10 (id:??) landed as https://crrev.com/3d59b1cb65c0b2566316b0886e69e49ef7589d6e Cr-Commit-Position: refs/heads/master@{#439111}
4 years ago (2016-12-16 15:37:02 UTC) #65
lunalu1
Done. Thanks https://codereview.chromium.org/2570203004/diff/160001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html File third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html (right): https://codereview.chromium.org/2570203004/diff/160001/third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html#newcode8 third_party/WebKit/LayoutTests/imported/wpt/uievents/constructors/inputevent-constructor.html:8: assert_equals(e.inputType, ''); On 2016/12/16 12:28:48, foolip wrote: ...
4 years ago (2016-12-16 15:58:42 UTC) #66
chromium-reviews
Upstreamed! https://github.com/w3c/web-platform-tests/pull/4360 On Fri, Dec 16, 2016 at 6:09 AM <foolip@chromium.org> wrote: > jeffcarp@, here's ...
4 years ago (2016-12-16 22:19:14 UTC) #67
blink-reviews
4 years ago (2016-12-16 22:19:15 UTC) #68
Message was sent while issue was closed.
Upstreamed! https://github.com/w3c/web-platform-tests/pull/4360

On Fri, Dec 16, 2016 at 6:09 AM <foolip@chromium.org> wrote:

> jeffcarp@, here's another test export CL for you.
>
> https://codereview.chromium.org/2570203004/
>

-- 
You received this message because you are subscribed to the Google Groups "Blink
Reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to blink-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698