| Index: third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
|
| index f13bc611b0263f77de1f576802b373251ca9948e..5474f2825d6ceab4fd25968cddbfddd4a1510f27 100644
|
| --- a/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
|
| +++ b/third_party/WebKit/Source/modules/webaudio/AudioNode.cpp
|
| @@ -621,7 +621,7 @@ AudioNode* AudioNode::connect(AudioNode* destination,
|
| }
|
|
|
| if (context() != destination->context()) {
|
| - exceptionState.throwDOMException(SyntaxError,
|
| + exceptionState.throwDOMException(InvalidAccessError,
|
| "cannot connect to a destination "
|
| "belonging to a different audio context.");
|
| return nullptr;
|
|
|