| Index: Source/core/html/HTMLFormElement.cpp
|
| diff --git a/Source/core/html/HTMLFormElement.cpp b/Source/core/html/HTMLFormElement.cpp
|
| index c768e3a45852c1c8356a68f31010e80023e80ef0..b93baf8d4877070af04952af7b73752abc87ec6b 100644
|
| --- a/Source/core/html/HTMLFormElement.cpp
|
| +++ b/Source/core/html/HTMLFormElement.cpp
|
| @@ -441,6 +441,8 @@ void HTMLFormElement::scheduleFormSubmission(PassRefPtrWillBeRawPtr<FormSubmissi
|
| } else {
|
| submission->clearTarget();
|
| }
|
| + if (!submission->state()->sourceDocument()->frame()->canNavigate(*targetFrame))
|
| + return;
|
| if (!targetFrame->host())
|
| return;
|
|
|
|
|