|
IDL: Add support for [TreatNullAs=EmptyString]
[TreatNullAs=NullString] was already supported, and still is, but is
non-standard. [TreatNullAs=EmptyString] is what Web IDL has and what is
used in specifications to describe required behavior.
There are cases where web-exposed behavior relating to handling of null
is wrong today, and where using [TreatNullAs=EmptyString] instead would
be the natural fix.
BUG= 391194
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177561
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+118 lines, -36 lines) |
Patch |
|
M |
Source/bindings/IDLExtendedAttributes.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/ScriptEventListener.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8Binding.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8StringResource.h
|
View
|
1
|
4 chunks |
+33 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8CSSStyleDeclarationCustom.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8CustomXPathNSResolver.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8HistoryCustom.cpp
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8InspectorFrontendHostCustom.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
View
|
|
4 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_types.py
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/idls/TestObject.idl
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
|
12 chunks |
+60 lines, -8 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|