|
Improve handling of failed integer type conversions.
Change over the V8Binding methods for converting to integer types
(to*Int*()) to take an ExceptionState argument instead of using a
bool reference argument to indicate success/failure.
Improve the exception messages from failed type conversion as a
result; adjust the binding code generator to emit compatible calls and
exception propagation.
Reworked some of the error reporting in the WebGL custom binding code
while switching over; more informative exception messages will now
flow.
R=jsbell,nbarth,haraken
BUG=
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164568
Total comments: 5
Total comments: 13
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1279 lines, -851 lines) |
Patch |
|
M |
LayoutTests/fast/canvas/webgl/bad-arguments-test-expected.txt
|
View
|
|
2 chunks |
+14 lines, -14 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/canvas/webgl/gl-object-get-calls-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/exception-in-binding.html
|
View
|
|
1 chunk |
+34 lines, -43 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/dom/exception-in-binding-expected.txt
|
View
|
|
1 chunk |
+4 lines, -6 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/js/webidl-type-mapping-expected.txt
|
View
|
|
20 chunks |
+102 lines, -102 lines |
0 comments
|
Download
|
|
M |
LayoutTests/storage/indexeddb/cursor-advance-expected.txt
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/storage/indexeddb/cursor-advance-workers-expected.txt
|
View
|
1
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
LayoutTests/storage/indexeddb/exceptions-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/storage/indexeddb/intversion-bad-parameters-expected.txt
|
View
|
1
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
LayoutTests/virtual/gpu/fast/canvas/webgl/gl-object-get-calls-expected.txt
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
2
3
4
|
19 chunks |
+89 lines, -73 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/unstable/v8_attributes.py
|
View
|
1
2
|
3 chunks |
+14 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/unstable/v8_methods.py
|
View
|
1
2
3
4
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/unstable/v8_types.py
|
View
|
1
2
3
|
5 chunks |
+18 lines, -10 lines |
0 comments
|
Download
|
|
M |
Source/bindings/templates/attributes.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestEventTarget.cpp
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceCheckSecurity.cpp
|
View
|
1
2
3
4
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestInterfaceNamedConstructor.cpp
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObject.cpp
|
View
|
1
2
3
4
|
83 chunks |
+255 lines, -130 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestObjectPython.cpp
|
View
|
1
2
3
4
|
81 chunks |
+229 lines, -118 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/V8TestTypedefs.cpp
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/Dictionary.h
|
View
|
1
2
3
4
|
2 chunks |
+24 lines, -28 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/ExceptionState.h
|
View
|
|
1 chunk |
+11 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/v8/ExceptionState.cpp
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.h
|
View
|
1
2
3
4
|
2 chunks |
+53 lines, -54 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8Binding.cpp
|
View
|
1
2
3
4
|
14 chunks |
+91 lines, -48 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/V8BindingMacros.h
|
View
|
|
2 chunks |
+40 lines, -36 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8BiquadFilterNodeCustom.cpp
|
View
|
|
3 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp
|
View
|
|
2 chunks |
+5 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8OscillatorNodeCustom.cpp
|
View
|
|
3 chunks |
+11 lines, -5 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8PannerNodeCustom.cpp
|
View
|
|
4 chunks |
+21 lines, -12 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8PromiseCustom.cpp
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/v8/custom/V8WebGLRenderingContextCustom.cpp
|
View
|
|
18 chunks |
+187 lines, -106 lines |
0 comments
|
Download
|
|
M |
Source/modules/indexeddb/IDBCursor.cpp
|
View
|
1
|
2 chunks |
+4 lines, -5 lines |
0 comments
|
Download
|
Total messages: 12 (0 generated)
|