-
jnd@chromium.org authored
Reviewed by Adam Barth. Gesture API, disallow popup bypass with using iframe src. https://bugs.webkit.org/show_bug.cgi?id=53244 * fast/events/popup-blocked-from-iframe-src-expected.txt: Added. * fast/events/popup-blocked-from-iframe-src.html: Added. 2011-01-28 Johnny Ding <jnd@chromium.org> Reviewed by Adam Barth. Gesture API: Don't use current gesture status to set "forceUserGesture" parameter when calling ScriptController::executeScript. The "forceUserGesture" parameter should be only set when you are definitely sure that the running script is from a hyper-link. https://bugs.webkit.org/show_bug.cgi?id=53244 Test: fast/events/popup-blocked-from-iframe-src.html * bindings/ScriptControllerBase.cpp: (WebCore::ScriptController::executeIfJavaScriptURL): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77049 268f45cc-cd09-0410-ab3c-d52691b4dbfc
df0c4676