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

Issue 1485833004: Drop [LegacyInterfaceTypeChecking] for most init*Event() methods (Closed)

Created:
5 years ago by philipj_slow
Modified:
5 years ago
Reviewers:
Rick Byers
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

Drop [LegacyInterfaceTypeChecking] for most init*Event() methods This will only affect cases where the argument provided but is neither null nor an object of the required type. The main risk is therefore that people have passed shifted all the arguments by accident, so that a boolean, string or number is passed for one of the affected arguments. Cases where undefined is passed or the argument is omitted entirely are not affected, they behave just as if null were passed. Also drop the *Arg suffix in arguments for initTextEvent(). BUG=561338 Committed: https://crrev.com/6fd2d82ef9ef4a19c6eeefa0ff8a486b0f22b43a Cr-Commit-Position: refs/heads/master@{#362727}

Patch Set 1 #

Patch Set 2 : add tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -48 lines) Patch
A third_party/WebKit/LayoutTests/fast/events/init-event-exceptions.html View 1 1 chunk +12 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/events/init-event-exceptions-expected.txt View 1 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/events/CompositionEvent.idl View 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/events/KeyboardEvent.idl View 1 chunk +10 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/events/MouseEvent.idl View 1 chunk +15 lines, -15 lines 0 comments Download
M third_party/WebKit/Source/core/events/MutationEvent.idl View 1 chunk +8 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/events/TextEvent.idl View 1 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/events/UIEvent.idl View 1 chunk +5 lines, -5 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1485833004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1485833004/20001
5 years ago (2015-12-02 12:23:41 UTC) #2
philipj_slow
PTAL and CQ?
5 years ago (2015-12-02 13:42:51 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-02 14:03:57 UTC) #7
Rick Byers
How would your characterize the compat risk of this? It's not obvious to me that ...
5 years ago (2015-12-02 14:39:24 UTC) #8
philipj_slow
On 2015/12/02 14:39:24, Rick Byers wrote: > How would your characterize the compat risk of ...
5 years ago (2015-12-02 14:52:24 UTC) #10
Rick Byers
Thanks for the details. I agree this qualifies as "trivial" - it's really just a ...
5 years ago (2015-12-02 16:14:08 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1485833004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1485833004/20001
5 years ago (2015-12-02 16:14:43 UTC) #13
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-02 16:19:46 UTC) #15
commit-bot: I haz the power
5 years ago (2015-12-02 16:20:34 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/6fd2d82ef9ef4a19c6eeefa0ff8a486b0f22b43a
Cr-Commit-Position: refs/heads/master@{#362727}

Powered by Google App Engine
This is Rietveld 408576698