|
Use ExceptionState to throw exceptions when converting arrays
In the to*NativeArray(), toImplArray() and toImplArguments() helpers,
throw all exceptions via an ExceptionState& argument.
To facilitate this, also add an ExceptionState& argument to the various
NativeValueTraits<>::nativeValue() implementations, and add a
V8StringValue::prepare() variant that takes an ExceptionState& argument.
BUG= 413257
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=182602
Total comments: 3
Total comments: 1
Total comments: 1
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+337 lines, -265 lines) |
Patch |
|
M |
LayoutTests/crypto/aes-cbc-generateKey-parseAlgorithm-failures-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
LayoutTests/crypto/unwrapKey-badParameters-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+8 lines, -8 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/constructors/message-event-constructor-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+12 lines, -12 lines |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/init-message-event.html
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/events/init-message-event-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/Dictionary.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/DictionaryHelperForCore.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+12 lines, -17 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/SerializedScriptValue.cpp
|
View
|
1
2
3
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8Binding.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
11 chunks |
+102 lines, -74 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8Binding.cpp
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8BindingTest.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
5 chunks |
+12 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/V8StringResource.h
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+33 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8ElementCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8MessageEventCustom.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/bindings/core/v8/custom/V8WebGLRenderingContextCustom.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
3 chunks |
+6 lines, -15 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_methods.py
|
View
|
1
2
3
4
5
6
7
8
9
|
4 chunks |
+18 lines, -8 lines |
0 comments
|
Download
|
|
M |
Source/bindings/scripts/v8_types.py
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/bindings/templates/methods.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestInterfaceConstructor.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestObject.cpp
|
View
|
1
2
3
4
5
6
7
8
9
10
|
30 chunks |
+90 lines, -73 lines |
0 comments
|
Download
|
|
M |
Source/bindings/tests/results/core/V8TestTypedefs.cpp
|
View
|
1
2
|
4 chunks |
+14 lines, -15 lines |
0 comments
|
Download
|
Total messages: 21 (5 generated)
|