Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: Source/core/html/parser/XSSAuditorDelegate.cpp

Issue 301163006: Add schedulePageBlock() to navigation scheduler (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix omission. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/html/parser/XSSAuditorDelegate.cpp
diff --git a/Source/core/html/parser/XSSAuditorDelegate.cpp b/Source/core/html/parser/XSSAuditorDelegate.cpp
index 9b329e85ccd21ed6baab7429d383aab1bfb7dc9c..0f50eb46f5aefd03c0377271fbfea126675afa75 100644
--- a/Source/core/html/parser/XSSAuditorDelegate.cpp
+++ b/Source/core/html/parser/XSSAuditorDelegate.cpp
@@ -116,7 +116,7 @@ void XSSAuditorDelegate::didBlockScript(const XSSInfo& xssInfo)
}
if (xssInfo.m_didBlockEntirePage)
- m_document->frame()->navigationScheduler().scheduleLocationChange(m_document, SecurityOrigin::urlWithUniqueSecurityOrigin(), Referrer());
+ m_document->frame()->navigationScheduler().schedulePageBlock(m_document, Referrer());
Nate Chapin 2014/07/14 19:26:40 lockBackForwardList is an optional parameter that'
Tom Sepez 2014/07/14 19:45:49 Yes. Existing logic further down the line override
}
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698