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

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed)

Created:
6 years, 5 months ago by Jens Widell
Modified:
6 years, 5 months ago
Reviewers:
haraken
CC:
blink-reviews, serviceworker-reviews, tzik, eae+blinkwatch, ericu+idb_chromium.org, dgrogan, aandrey+blink_chromium.org, rwlbuis, jsbell+serviceworker_chromium.org, Yoav Weiss, arv+blink, blink-reviews-css, blink-reviews-html_chromium.org, alecflett, blink-reviews-dom_chromium.org, dglazkov+blink, Rik, rune+blink, kenneth.christiansen, philipj_slow, sof, nhiroki, feature-media-reviews_chromium.org, tommyw+watchlist_chromium.org, eric.carlson_apple.com, darktears, jsbell+idb_chromium.org, alecflett+watch_chromium.org, michaeln, horo+watch_chromium.org, falken, ed+blinkwatch_opera.com, kinuko+serviceworker, Inactive, cmumford, apavlov+blink_chromium.org, watchdog-blink-watchlist_google.com
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString In IDL files, the attribute declarations [TreatReturnedNullStringAs=Null] readonly attribute DOMString X; [TreatReturnedNullStringAs=Null, TreatNullAs=NullString] attribute DOMString X; can now be changed into readonly attribute DOMString? X; attribute DOMString? X; without changing behavior or generated code, so do that. Similarly for methods, the declaration [TreatReturnedNullStringAs=Null] DOMString f(); can be changed into DOMString? f(); without changing behavior or generated code, so do that too. Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177302

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -65 lines) Patch
M Source/core/css/CSSImportRule.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/CSSStyleDeclaration.idl View 1 chunk +7 lines, -7 lines 0 comments Download
M Source/core/css/CSSValue.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/MediaList.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/css/StyleSheet.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/Attr.idl View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/dom/CharacterData.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/Document.idl View 2 chunks +7 lines, -7 lines 0 comments Download
M Source/core/dom/Element.idl View 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/MutationRecord.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/dom/Node.idl View 2 chunks +6 lines, -6 lines 0 comments Download
M Source/core/dom/ProcessingInstruction.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/dom/URL.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/frame/Window.idl View 1 chunk +2 lines, -2 lines 1 comment Download
M Source/core/html/canvas/WebGLDebugShaders.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.idl View 1 chunk +3 lines, -3 lines 0 comments Download
M Source/core/storage/Storage.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/testing/TypeConversions.idl View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/xml/XMLHttpRequest.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/xml/XPathNSResolver.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/donottrack/NavigatorDoNotTrack.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/indexeddb/IDBObjectStore.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediasource/URLMediaSource.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/mediastream/RTCSessionDescription.idl View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/modules/mediastream/URLMediaStream.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/modules/serviceworkers/Headers.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
Jens Widell
PTAL There are some [TreatReturnedNullStringAs=Null] left that we can remove, but that lead to minor ...
6 years, 5 months ago (2014-07-01 10:53:13 UTC) #1
haraken
LGTM https://codereview.chromium.org/361883004/diff/1/Source/core/frame/Window.idl File Source/core/frame/Window.idl (right): https://codereview.chromium.org/361883004/diff/1/Source/core/frame/Window.idl#newcode73 Source/core/frame/Window.idl:73: DOMString? prompt(optional DOMString message = null, Just to ...
6 years, 5 months ago (2014-07-01 11:16:03 UTC) #2
Jens Widell
On 2014/07/01 11:16:03, haraken wrote: > LGTM > > https://codereview.chromium.org/361883004/diff/1/Source/core/frame/Window.idl > File Source/core/frame/Window.idl (right): > ...
6 years, 5 months ago (2014-07-01 11:21:39 UTC) #3
Jens Widell
On 2014/07/01 11:21:39, Jens Lindström wrote: > On 2014/07/01 11:16:03, haraken wrote: > > Just ...
6 years, 5 months ago (2014-07-01 11:22:58 UTC) #4
haraken
On 2014/07/01 11:22:58, Jens Lindström wrote: > On 2014/07/01 11:21:39, Jens Lindström wrote: > > ...
6 years, 5 months ago (2014-07-01 11:42:35 UTC) #5
Jens Widell
The CQ bit was checked by jl@opera.com
6 years, 5 months ago (2014-07-01 11:43:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/361883004/1
6 years, 5 months ago (2014-07-01 11:44:19 UTC) #7
commit-bot: I haz the power
6 years, 5 months ago (2014-07-01 12:49:53 UTC) #8
Message was sent while issue was closed.
Change committed as 177302

Powered by Google App Engine
This is Rietveld 408576698