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

Issue 367663002: Make [TreatNullAs=NullString] DOMString arguments nullable instead (Closed)

Created:
6 years, 5 months ago by Jens Widell
Modified:
6 years, 5 months ago
Reviewers:
haraken
CC:
blink-reviews, aandrey+blink_chromium.org, arv+blink, webcomponents-bugzilla_chromium.org, blink-reviews-css, sof, eae+blinkwatch, ed+blinkwatch_opera.com, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, apavlov+blink_chromium.org, Inactive, darktears, blink-reviews-html_chromium.org, rwlbuis, watchdog-blink-watchlist_google.com, rune+blink
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Make [TreatNullAs=NullString] DOMString arguments nullable instead An IDL method declaration such as void f([TreatNullAs=NullString] DOMString x); can be transformed into void f(DOMString? x); without affecting behavior or generated code, so do that. Arguments that also have [TreatUndefinedAs=NullString] can't be converted this way (yet), so this CL leaves them unchanged for now. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177322

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -32 lines) Patch
M Source/core/css/CSSStyleDeclaration.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/DOMImplementation.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/Document.idl View 2 chunks +6 lines, -7 lines 0 comments Download
M Source/core/dom/Element.idl View 1 chunk +6 lines, -6 lines 0 comments Download
M Source/core/dom/NamedNodeMap.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Node.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/shadow/ShadowRoot.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/events/EventTarget.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/html/canvas/CanvasRenderingContext2D.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/storage/StorageEvent.idl View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
Jens Widell
PTAL I will address the [TreatNullAs=NullString, TreatUndefinedAs=NullString] case in a follow-up; shouldn't be too complicated.
6 years, 5 months ago (2014-07-01 13:21:37 UTC) #1
haraken
I remembered that [TreatNullAs] is an IDL extended attribute defined in the Web IDL spec. ...
6 years, 5 months ago (2014-07-01 13:37:07 UTC) #2
Jens Widell
On 2014/07/01 13:37:07, haraken wrote: > I remembered that [TreatNullAs] is an IDL extended attribute ...
6 years, 5 months ago (2014-07-01 13:56:37 UTC) #3
haraken
On 2014/07/01 13:56:37, Jens Lindström wrote: > On 2014/07/01 13:37:07, haraken wrote: > > I ...
6 years, 5 months ago (2014-07-01 14:00:05 UTC) #4
Jens Widell
On 2014/07/01 14:00:05, haraken wrote: > > For writable attributes, changing "[TreatNullAs=NullString] attribute > DOMString" ...
6 years, 5 months ago (2014-07-01 14:11:05 UTC) #5
haraken
On 2014/07/01 14:11:05, Jens Lindström wrote: > On 2014/07/01 14:00:05, haraken wrote: > > > ...
6 years, 5 months ago (2014-07-01 15:34:11 UTC) #6
Jens Widell
On 2014/07/01 15:34:11, haraken wrote: > Another idea would be: > > - Deprecate [TreatNullAs=NullString]. ...
6 years, 5 months ago (2014-07-01 15:44:26 UTC) #7
haraken
On 2014/07/01 15:44:26, Jens Lindström wrote: > On 2014/07/01 15:34:11, haraken wrote: > > Another ...
6 years, 5 months ago (2014-07-01 15:52:07 UTC) #8
Jens Widell
On 2014/07/01 15:52:07, haraken wrote: > In your plan, we'll have two ways to express ...
6 years, 5 months ago (2014-07-01 16:00:08 UTC) #9
haraken
On 2014/07/01 16:00:08, Jens Lindström wrote: > On 2014/07/01 15:52:07, haraken wrote: > > In ...
6 years, 5 months ago (2014-07-01 16:03:43 UTC) #10
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 5 months ago (2014-07-01 16:12:15 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/367663002/1
6 years, 5 months ago (2014-07-01 16:12:37 UTC) #12
commit-bot: I haz the power
Change committed as 177322
6 years, 5 months ago (2014-07-01 17:27:07 UTC) #13
Jens Widell
On 2014/07/01 15:52:07, haraken wrote: > On 2014/07/01 15:44:26, Jens Lindström wrote: > > replace ...
6 years, 5 months ago (2014-07-02 14:03:00 UTC) #14
haraken
On 2014/07/02 14:03:00, Jens Lindström wrote: > On 2014/07/01 15:52:07, haraken wrote: > > On ...
6 years, 5 months ago (2014-07-02 15:57:26 UTC) #15
Jens Widell
On 2014/07/02 15:57:26, haraken wrote: > Thanks for the detailed study! Another thing you might ...
6 years, 5 months ago (2014-07-02 16:19:36 UTC) #16
Jens Widell
6 years, 5 months ago (2014-07-02 16:24:24 UTC) #17
Message was sent while issue was closed.
Looks like http://crbug.com/310298 and http://crbug.com/304959 are related to
this discussion (which might have made more sense to have in one of those issues
instead.)

Powered by Google App Engine
This is Rietveld 408576698