| Index: Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| diff --git a/Source/bindings/tests/results/V8TestExtendedEvent.cpp b/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| index 790f02430098aa74f2173a74706398d25792653e..24e208f0992f2137722c97578eb6d23a562f6007 100644
|
| --- a/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| +++ b/Source/bindings/tests/results/V8TestExtendedEvent.cpp
|
| @@ -25,6 +25,7 @@
|
| #include "RuntimeEnabledFeatures.h"
|
| #include "V8TestEvent.h"
|
| #include "bindings/v8/Dictionary.h"
|
| +#include "bindings/v8/ExceptionMessages.h"
|
| #include "bindings/v8/ScriptController.h"
|
| #include "bindings/v8/V8Binding.h"
|
| #include "bindings/v8/V8DOMConfiguration.h"
|
| @@ -97,7 +98,7 @@ static void keyLocationAttributeGetterCallback(v8::Local<v8::String> name, const
|
| static void constructor(const v8::FunctionCallbackInfo<v8::Value>& args)
|
| {
|
| if (args.Length() < 1) {
|
| - throwNotEnoughArgumentsError(args.GetIsolate());
|
| + throwTypeError(ExceptionMessages::failedToConstruct("Event", "An event name must be provided."), args.GetIsolate());
|
| return;
|
| }
|
|
|
|
|