| 276 | == `[TreatReturnedNullObjectAs]`(m) == #TreatReturnedNullObjectAs |
| 277 | |
| 278 | Summary: `[TreatReturnedNullObjectAs]` controls the behavior when a WebKit null object is returned from the WebCore implementation. |
| 279 | |
| 280 | Usage: The possible usage is `[TreatReturnedNullObjectAs=Undefined]`. |
| 281 | It can be specified on methods that return an object: |
| 282 | {{{ |
| 283 | [TreatReturnedNullObjectAs=Undefined] Object func(); |
| 284 | }}} |
| 285 | |
| 286 | * `[TreatReturnedNullObjectAs=Undefined]` indicates that if the returned object is null, the returned value is treated as a JavaScript undefined. |
| 287 | |
| 288 | Without `[TreatReturnedNullObjectAs=Undefined]`, if the returned object is null, then the returned value is treated as a JavaScript null. |
| 289 | |