Changeset 95226 in webkit
- Timestamp:
- Sep 15, 2011 2:04:09 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r95224 r95226 1 2011-09-15 Jon Lee <jonlee@apple.com> 2 3 Submitting a form with target=_blank works only once 4 https://bugs.webkit.org/show_bug.cgi?id=28633 5 <rdar://problem/7357787> 6 7 Reviewed by Andy Estes. 8 9 New test that simulates mouse clicking submit button twice (which didn't work), as well as using the keyboard twice (which did work). 10 11 * fast/forms/resources/submit-to-blank-multiple-times-form-action.html: Added. 12 * fast/forms/submit-to-blank-multiple-times-expected.txt: Added. 13 * fast/forms/submit-to-blank-multiple-times.html: Added. 14 1 15 2011-09-15 David Levin <levin@chromium.org> 2 16 -
trunk/Source/WebCore/ChangeLog
r95223 r95226 1 2011-09-15 Jon Lee <jonlee@apple.com> 2 3 Submitting a form with target=_blank works only once 4 https://bugs.webkit.org/show_bug.cgi?id=28633 5 <rdar://problem/7357787> 6 7 Reviewed by Andy Estes. 8 9 Test: fast/forms/submit-to-blank-multiple-times.html 10 11 The call to reset the multiple form submission bool is pushed down from the mouseDown handler to 12 handleMousePressEvent(), to include WK2 coverage, similar to keyEvent. 13 14 * page/EventHandler.cpp: 15 (WebCore::EventHandler::handleMousePressEvent): 16 (WebCore::EventHandler::keyEvent): clarified old FIXME comment. Both key events and mouse events 17 may submit a form multiple times, but the call to reset the handler should probably be in another 18 abstraction layer. 19 * page/mac/EventHandlerMac.mm: 20 (WebCore::EventHandler::mouseDown): 21 1 22 2011-09-15 Peter Rybin <peter.rybin@gmail.com> 2 23 -
trunk/Source/WebCore/page/EventHandler.cpp
r94797 r95226 1342 1342 UserGestureIndicator gestureIndicator(DefinitelyProcessingUserGesture); 1343 1343 1344 // FIXME (bug 68185): this call should be made at another abstraction layer 1345 m_frame->loader()->resetMultipleFormSubmissionProtection(); 1346 1344 1347 cancelFakeMouseMoveEvent(); 1345 1348 m_mousePressed = true; … … 2519 2522 view->resetDeferredRepaintDelay(); 2520 2523 2521 // FIXME : what is this doing here, in keyboard event handler?2524 // FIXME (bug 68185): this call should be made at another abstraction layer 2522 2525 m_frame->loader()->resetMultipleFormSubmissionProtection(); 2523 2526 -
trunk/Source/WebCore/page/mac/EventHandlerMac.mm
r92068 r95226 479 479 BEGIN_BLOCK_OBJC_EXCEPTIONS; 480 480 481 m_frame->loader()->resetMultipleFormSubmissionProtection();482 483 481 m_mouseDownView = nil; 484 482 -
trunk/Source/WebKit/chromium/ChangeLog
r95216 r95226 1 2011-09-15 Jon Lee <jonlee@apple.com> 2 3 Submitting a form with target=_blank works only once 4 https://bugs.webkit.org/show_bug.cgi?id=28633 5 <rdar://problem/7357787> 6 7 Reviewed by Andy Estes. 8 9 * src/WebViewImpl.cpp: 10 (WebKit::WebViewImpl::mouseDown): Remove call to resetMultipleFormSubmissionProtection() since 11 it will be made in platform-independent function EventHandler::handleMousePressEvent(). 12 1 13 2011-09-15 Eric Seidel <eric@webkit.org> 2 14 -
trunk/Source/WebKit/chromium/src/WebViewImpl.cpp
r95152 r95226 476 476 } 477 477 478 mainFrameImpl()->frame()->loader()->resetMultipleFormSubmissionProtection();479 480 478 mainFrameImpl()->frame()->eventHandler()->handleMousePressEvent( 481 479 PlatformMouseEventBuilder(mainFrameImpl()->frameView(), event));
Note: See TracChangeset
for help on using the changeset viewer.