Changeset 57178 in webkit
- Timestamp:
- Apr 6, 2010 4:36:41 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r57177 r57178 1 2010-04-06 Chris Evans <cevans@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Add test for javascript:window.open() popup blocker bypass. 6 https://bugs.webkit.org/show_bug.cgi?id=37138 7 8 * fast/events/popup-blocked-from-window-open.html: added 9 * fast/events/popup-blocked-from-window-open-expected.txt: added 10 1 11 2010-04-06 Adam Barth <abarth@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r57176 r57178 1 2010-04-06 Chris Evans <cevans@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Use the new UserGestureIndictor to process javascript:window.open() 6 7 https://bugs.webkit.org/show_bug.cgi?id=37138 8 9 * bindings/v8/ScriptController.cpp 10 (WebCore::ScriptController::processingUserGesture): 11 Use the new UserGestureIndicator when processing a 12 javascript:window.open() 13 1 14 2010-04-06 Vangelis Kokkevis <vangelis@chromium.org> 2 15 -
trunk/WebCore/bindings/v8/ScriptController.cpp
r57045 r57178 193 193 return true; 194 194 } else if (m_sourceURL && m_sourceURL->isNull() && !activeProxy->timerCallback()) { 195 // This is the <a href="javascript:window.open('...')> case -> we let it through.196 return true;195 // This is the javascript:window.open('...') case -> we let it through if it was a <a href> user click and not if it was window.open(). 196 return UserGestureIndicator::processingUserGesture(); 197 197 } 198 198
Note: See TracChangeset
for help on using the changeset viewer.