| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
|
| index 6f10be994a901f249eec7be1640217eeef29b699..17470c13528163884e355ec273b9efef66e40d1a 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8CustomEventCustom.cpp
|
| @@ -107,6 +107,8 @@ void V8CustomEvent::initCustomEventMethodEpilogueCustom(
|
| const v8::FunctionCallbackInfo<v8::Value>& info,
|
| CustomEvent* impl) {
|
| ASSERT(info.Length() >= 3);
|
| + if (impl->isBeingDispatched())
|
| + return;
|
| v8::Local<v8::Value> detail = info[3];
|
| if (!detail.IsEmpty())
|
| storeDetail(ScriptState::current(info.GetIsolate()), impl, info.Holder(),
|
|
|