Chromium Code Reviews| Index: third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
| diff --git a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
| index b238477105003a682e4f1cb4b27883b6aa3125cc..78bdbc12823653a8e1d3ba2d4cb2bbe2c5af6499 100644 |
| --- a/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
| +++ b/third_party/WebKit/Source/core/loader/DocumentLoader.cpp |
| @@ -364,7 +364,8 @@ void DocumentLoader::cancelLoadAfterXFrameOptionsOrCSPDenied(const ResourceRespo |
| // Pretend that this was an empty HTTP 200 response. |
| clearMainResourceHandle(); |
| - m_response = ResourceResponse(blankURL(), "text/html", 0, nullAtom, String()); |
| + updateForSameDocumentNavigation(SecurityOrigin::urlWithUniqueSecurityOrigin(), SameDocumentNavigationDefault); |
|
Charlie Reis
2016/06/23 05:56:45
Why same document? Aren't we leaving the current
Mike West
2016/06/23 06:26:40
We haven't created the document yet for this respo
alexmos
2016/06/23 14:09:45
I think I do need the redirect bits. I tried this
Mike West
2016/06/23 15:35:10
Hrm. Ok. I think I'd prefer for you to just extrac
alexmos
2016/06/23 17:37:33
Done. Removed the function call in favor of expli
|
| + m_response = ResourceResponse(SecurityOrigin::urlWithUniqueSecurityOrigin(), "text/html", 0, nullAtom, String()); |
| finishedLoading(monotonicallyIncreasingTime()); |
| return; |