|
|
Migrate bindings constructors to the new ExceptionState model.
This patch drops most 'failedToConstruct' instances outside of bindings,
migrating to the new model where ExceptionState is initialized with the
relevant data to generate a relevant exception message.
As a drive-by, it also changes WebAudio error that aren't actually
constructors to stop generating constructor-style error messages.
BUG= 270033
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163540
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+229 lines, -268 lines) |
Patch |
 |
M |
LayoutTests/fast/eventsource/eventsource-constructor-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/files/blob-constructor.html
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/files/blob-constructor-expected.txt
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/files/file-constructor.html
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/files/file-constructor-expected.txt
|
View
|
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/frames/sandboxed-iframe-workers-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/mediastream/RTCSessionDescription-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/workers/worker-constructor-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/security/contentSecurityPolicy/worker-script-src-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/bad-sub-protocol-control-chars-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/bad-sub-protocol-empty-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/bad-sub-protocol-non-ascii-expected.txt
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/invalid-subprotocol-characters-expected.txt
|
View
|
|
4 chunks |
+51 lines, -51 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/invalid-subprotocols.html
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/invalid-subprotocols-expected.txt
|
View
|
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/websocket/url-parsing-expected.txt
|
View
|
|
1 chunk |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/workers/shared-worker-redirect-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/http/tests/workers/worker-redirect-expected.txt
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/webaudio/delaynode-maxdelaylimit-expected.txt
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/webaudio/dom-exceptions-expected.txt
|
View
|
|
1 chunk |
+18 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/scripts/code_generator_v8.pm
|
View
|
1
|
8 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
View
|
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterface.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceConstructor.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/tests/results/V8TestInterfaceEventConstructor.cpp
|
View
|
|
4 chunks |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/Dictionary.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8BlobCustom.cpp
|
View
|
|
4 chunks |
+9 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8BlobCustomHelpers.h
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8BlobCustomHelpers.cpp
|
View
|
|
4 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/v8/custom/V8FileCustom.cpp
|
View
|
|
4 chunks |
+14 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/dom/DOMURL.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/events/MessageEvent.cpp
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/workers/AbstractWorker.cpp
|
View
|
|
1 chunk |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/workers/SharedWorker.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/AudioContext.cpp
|
View
|
|
11 chunks |
+39 lines, -81 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/DelayNode.cpp
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
Source/modules/webaudio/OfflineAudioContext.cpp
|
View
|
|
1 chunk |
+4 lines, -16 lines |
0 comments
|
Download
|
 |
M |
Source/web/SharedWorkerRepositoryClientImpl.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|