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

Unified Diff: webkit/pending/SecurityOrigin.cpp

Issue 4074: Fix some XSS test by fixing an improperly merged file and falling back on... (Closed) Base URL: svn://chrome-svn/chrome/branches/chrome_webkit_merge_branch/
Patch Set: Created 12 years, 3 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: webkit/pending/SecurityOrigin.cpp
===================================================================
--- webkit/pending/SecurityOrigin.cpp (revision 2575)
+++ webkit/pending/SecurityOrigin.cpp (working copy)
@@ -114,8 +114,10 @@
}
bool SecurityOrigin::canAccess(const SecurityOrigin* other) const
-{
+{
Evan Martin 2008/09/25 00:56:11 This looks funny, but it's what the upstream versi
if (isLocal())
+ return true;
+
if (m_noAccess || other->m_noAccess)
return false;
« no previous file with comments | « webkit/data/layout_test_results/v8/LayoutTests/http/tests/security/dataURL/xss-DENIED-to-data-url-window-open-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698