<rdar://problem/
3965196> security fix for javascript: exploit missed one case (already fixed in updates)
* khtml/ecma/kjs_window.cpp:
(WindowFunc::tryCall): correct mistake in earlier fix for the following bug, caught by Adele:
<rdar://problem/
3790449> REGRESSION (Mail): underline behavior is flaky because of how CSS handles text-decoration
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@8423
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-01-20 Maciej Stachowiak <mjs@apple.com>
+
+ Reviewed by Ken.
+
+ <rdar://problem/3965196> security fix for javascript: exploit missed one case (already fixed in updates)
+
+ * khtml/ecma/kjs_window.cpp:
+ (WindowFunc::tryCall): correct mistake in earlier fix for the following bug, caught by Adele:
+
+ <rdar://problem/3790449> REGRESSION (Mail): underline behavior is flaky because of how CSS handles text-decoration
+
2005-01-20 Maciej Stachowiak <mjs@apple.com>
Reviewed by Ken.
}
#if APPLE_CHANGES
if (!url.isEmpty()) {
- const Window* window = Window::retrieveWindow(part);
+ const Window* window = Window::retrieveWindow(khtmlpart);
if (!url.url().startsWith("javascript:", false) || (window && window->isSafeScript(exec))) {
bool userGesture = static_cast<ScriptInterpreter *>(exec->dynamicInterpreter())->wasRunByUserGesture();
// FIXME: Need to pass referrer here.