| Index: third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| index fbde86903d45695683a767a9ff69c3dea2edf087..53587f3febcc8c66405f285af4baa750f624ba05 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/custom/V8WindowCustom.cpp
|
| @@ -287,7 +287,11 @@ void V8Window::openMethodCustom(
|
| // passed the BindingSecurity check above.
|
| DOMWindow* opened_window = ToLocalDOMWindow(impl)->open(
|
| url_string, frame_name, window_features_string,
|
| - CurrentDOMWindow(info.GetIsolate()), EnteredDOMWindow(info.GetIsolate()));
|
| + CurrentDOMWindow(info.GetIsolate()), EnteredDOMWindow(info.GetIsolate()),
|
| + exception_state);
|
| + if (exception_state.HadException()) {
|
| + return;
|
| + }
|
| if (!opened_window) {
|
| V8SetReturnValueNull(info);
|
| return;
|
|
|