|
Improve handling of dictionary conversions.
When generating bindings for the dictionaries that Event constructors
take, emit code that enforce the required conversion step as per
WebIDL. i.e., if the property fails to convert, emit the required
(TypeError) exception and fail.
Previously these were mapped to empty/zero/null instead.
R=
BUG= 323036
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=162859
Total comments: 9
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+949 lines, -390 lines) |
Patch |
|
M |
LayoutTests/fast/events/constructors/composition-event-constructor.html
|
View
|
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/composition-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/focus-event-constructor.html
|
View
|
|
2 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/focus-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/keyboard-event-constructor.html
|
View
|
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/keyboard-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/media-key-event-constructor.html
|
View
|
|
6 chunks |
+25 lines, -24 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/media-key-event-constructor-expected.txt
|
View
|
1
|
4 chunks |
+23 lines, -23 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/media-stream-event-constructor.html
|
View
|
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/media-stream-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/message-event-constructor.html
|
View
|
|
1 chunk |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/mouse-event-constructor.html
|
View
|
|
2 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/mouse-event-constructor-expected.txt
|
View
|
1
|
2 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/storage-event-constructor.html
|
View
|
|
1 chunk |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/storage-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+13 lines, -12 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/track-event-constructor.html
|
View
|
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/track-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+9 lines, -9 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/ui-event-constructor.html
|
View
|
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/ui-event-constructor-expected.txt
|
View
|
1
|
1 chunk |
+12 lines, -11 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/wheel-event-constructor.html
|
View
|
|
2 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/wheel-event-constructor-expected.txt
|
View
|
1
|
2 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
|
M |
LayoutTests/media/track/opera/interfaces/TrackEvent/constructor.html
|
View
|
|
1 chunk |
+10 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/media/track/opera/interfaces/TrackEvent/constructor-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
|
8 chunks |
+78 lines, -9 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventConstructor.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventConstructor.cpp
|
View
|
1
|
2 chunks |
+8 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestExtendedEvent.h
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
View
|
1
|
2 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/Dictionary.h
|
View
|
1
|
3 chunks |
+217 lines, -0 lines |
1 comment
|
Download
|
|
M |
Source/bindings/v8/Dictionary.cpp
|
View
|
1
|
14 chunks |
+197 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/ExceptionMessages.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/ExceptionMessages.cpp
|
View
|
1
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.h
|
View
|
|
3 chunks |
+1 line, -10 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
|
7 chunks |
+29 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/events/FocusEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/FocusEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/MessageEvent.h
|
View
|
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MessageEvent.cpp
|
View
|
1
|
2 chunks |
+10 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MessageEvent.idl
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/MouseEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/events/UIEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/events/UIEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/html/MediaKeyEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/html/MediaKeyEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/storage/StorageEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/storage/StorageEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/modules/mediastream/MediaStreamEvent.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/mediastream/MediaStreamEvent.cpp
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/modules/mediastream/MediaStreamEvent.idl
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 23 (0 generated)
|