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

Unified Diff: Source/core/xml/XMLHttpRequest.idl

Issue 361883004: Replace many [TreatReturnedNullStringAs=Null] with nullable DOMString (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/xml/XMLHttpRequest.idl
diff --git a/Source/core/xml/XMLHttpRequest.idl b/Source/core/xml/XMLHttpRequest.idl
index c69a568af4e1c64b85614c99653863e8ef453904..ad6f01a5b958c90d19055c446cb0aa582ae2d53d 100644
--- a/Source/core/xml/XMLHttpRequest.idl
+++ b/Source/core/xml/XMLHttpRequest.idl
@@ -69,8 +69,8 @@ enum XMLHttpRequestResponseType {
// response
[TreatReturnedNullStringAs=Undefined] DOMString getAllResponseHeaders();
- [TreatReturnedNullStringAs=Null] DOMString getResponseHeader(DOMString header);
- [Custom=Getter, RaisesException=Getter] readonly attribute DOMString responseText; // The custom getter implements TreatReturnedNullStringAs=Null
+ DOMString? getResponseHeader(DOMString header);
+ [Custom=Getter, RaisesException=Getter] readonly attribute DOMString? responseText;
[RaisesException=Getter] readonly attribute Document responseXML;
[RaisesException=Setter] attribute XMLHttpRequestResponseType responseType;

Powered by Google App Engine
This is Rietveld 408576698