Changes between Version 143 and Version 144 of WebKitIDL
- Timestamp:
- Feb 24, 2016, 4:53:19 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WebKitIDL
v143 v144 261 261 Summary: `[TreatReturnedNullStringAs]` controls the behavior when a WebKit null string is returned from the WebCore implementation. 262 262 263 Usage: The possible usage is `[TreatReturnedNullStringAs=Null]` , `[TreatReturnedNullStringAs=Undefined]` or `[TreatReturnedNullStringAs=False]`.263 Usage: The possible usage is `[TreatReturnedNullStringAs=Null]` or `[TreatReturnedNullStringAs=Undefined]`. 264 264 They can be specified on DOMString attributes or methods that return a DOMString value: 265 265 {{{ … … 270 270 * `[TreatReturnedNullStringAs=Null]` indicates that if the returned DOMString is a WebKit null string, the returned value is treated as a JavaScript null. 271 271 * `[TreatReturnedNullStringAs=Undefined]` indicates that if the returned DOMString is a WebKit null string, the returned value is treated as a JavaScript undefined. 272 * `[TreatReturnedNullStringAs=False]` indicates that if the returned DOMString is a WebKit null string, the returned value is treated as a JavaScript false.273 272 274 273 Without `[TreatReturnedNullStringAs=...]`, if the returned DOMString is a WebKit null string, then the returned value is treated as a JavaScript empty string ''.