|
|
Remove IDBNotFoundError ExceptionCode
Instead of passing an ExceptionCode (int) around to signify
an exception, we now pass an ExceptionState object. This is
so that we can pass more data out than just a single int.
The ExceptionState object has methods for throwing an exception with an optional error message.
There are also temporary converters so that functions can
still use ExceptionCode until the entire code base has
transitioned. Once that is done the ExcetionState code can
be simplified further.
BUG= 252233
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153938
Total comments: 16
Total comments: 2
Total comments: 10
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+528 lines, -515 lines) |
Patch |
 |
M |
Source/bindings/bindings.gypi
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/deprecated_code_generator_v8.pm
|
View
|
1
2
3
4
5
6
7
8
9
10
|
32 chunks |
+53 lines, -73 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/v8/ExceptionState.h
|
View
|
1
2
3
4
|
1 chunk |
+44 lines, -22 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/v8/ExceptionState.cpp
|
View
|
1
2
3
4
|
1 chunk |
+24 lines, -13 lines |
2 comments
|
Download
|
 |
A + |
Source/bindings/v8/ExceptionStatePlaceholder.h
|
View
|
1
2
3
4
|
1 chunk |
+33 lines, -22 lines |
0 comments
|
Download
|
 |
A + |
Source/bindings/v8/ExceptionStatePlaceholder.cpp
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+13 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8ThrowException.h
|
View
|
|
1 chunk |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/V8ThrowException.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/DOMException.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/DOMException.cpp
|
View
|
1
2
|
2 chunks |
+10 lines, -24 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/ExceptionCode.h
|
View
|
1
2
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/inspector/InspectorIndexedDBAgent.cpp
|
View
|
1
2
3
4
5
6
7
|
12 chunks |
+40 lines, -37 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBCursor.h
|
View
|
1
2
3
4
|
3 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBCursor.cpp
|
View
|
1
2
3
4
5
6
7
|
8 chunks |
+27 lines, -29 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBCursorBackendInterface.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBDatabase.h
|
View
|
1
2
3
4
|
3 chunks |
+9 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBDatabase.cpp
|
View
|
1
2
3
4
5
6
|
8 chunks |
+25 lines, -25 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBDatabaseBackendInterface.h
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBFactory.h
|
View
|
1
2
3
4
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBFactory.cpp
|
View
|
1
2
3
4
|
6 chunks |
+16 lines, -15 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBIndex.h
|
View
|
1
2
3
4
|
2 chunks |
+11 lines, -10 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBIndex.cpp
|
View
|
1
2
3
4
|
6 chunks |
+42 lines, -41 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBKeyRange.h
|
View
|
1
2
3
4
|
2 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBKeyRange.cpp
|
View
|
1
2
3
4
|
2 chunks |
+13 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBObjectStore.h
|
View
|
1
2
3
4
|
3 chunks |
+21 lines, -20 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBObjectStore.cpp
|
View
|
1
2
3
4
5
6
7
8
|
19 chunks |
+82 lines, -85 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBRequest.h
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBRequest.cpp
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+8 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBTransaction.h
|
View
|
1
2
3
4
|
3 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/modules/indexeddb/IDBTransaction.cpp
|
View
|
1
2
3
4
5
6
|
7 chunks |
+11 lines, -13 lines |
0 comments
|
Download
|
 |
M |
public/platform/WebIDBDatabaseException.h
|
View
|
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
Total messages: 26 (0 generated)
|