[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdelibs/khtml/ecma
From: Maks Orlovich <maksim () kde ! org>
Date: 2010-09-11 16:30:25
Message-ID: 20100911163025.60BB0AC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1174241 by orlovich:
Reorder this test so that we don't get bogus XSS restriction warnings when navigating
an accessible frame.
M +1 -2 kjs_window.cpp
--- trunk/KDE/kdelibs/khtml/ecma/kjs_window.cpp #1174240:1174241
@@ -1471,8 +1471,7 @@
kDebug(6070) << "Window::goURL dstUrl=" << dstUrl;
// check if we're allowed to inject javascript
- if ( isSafeScript(exec) ||
- !KHTMLPartPrivate::isJavaScriptURL(dstUrl) )
+ if ( !KHTMLPartPrivate::isJavaScriptURL(dstUrl) || isSafeScript(exec) )
part->scheduleRedirection(-1,
dstUrl,
lockHistory);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic