Changeset 99071 in webkit
- Timestamp:
- Nov 2, 2011 9:44:38 AM (13 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/ChangeLog
r98975 r99071 1 2011-11-02 Deepak Sherveghar <bpwv64@motorola.com> 2 3 [Qt] Failing test media/video-document-types.html 4 https://bugs.webkit.org/show_bug.cgi?id=62108 5 6 Reviewed by Simon Hausmann. 7 8 Match what Mac has been doing since r36001: cancel the main load, 9 and handle failures caused by 'will be handled by plugin' errors. 10 11 * WebCoreSupport/FrameLoaderClientQt.cpp: 12 (WebCore::FrameLoaderClientQt::committedLoad): 13 (WebCore::FrameLoaderClientQt::shouldFallBack): 14 1 15 2011-11-01 Simon Hausmann <simon.hausmann@nokia.com> 2 16 -
trunk/Source/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp
r98231 r99071 900 900 if (!m_pluginView) 901 901 loader->commitData(data, length); 902 902 903 // If we are sending data to MediaDocument, we should stop here and cancel the request. 904 if (m_frame->document()->isMediaDocument()) 905 loader->cancelMainResourceLoad(pluginWillHandleLoadError(loader->response())); 906 903 907 // We re-check here as the plugin can have been created. 904 908 if (m_pluginView && m_pluginView->isPluginView()) { … … 975 979 bool FrameLoaderClientQt::shouldFallBack(const WebCore::ResourceError& error) 976 980 { 977 return !(error.isCancellation() || (error.errorCode() == WebKitErrorFrameLoadInterruptedByPolicyChange) );981 return !(error.isCancellation() || (error.errorCode() == WebKitErrorFrameLoadInterruptedByPolicyChange) || (error.errorCode() == WebKitErrorPluginWillHandleLoad)); 978 982 } 979 983
Note: See TracChangeset
for help on using the changeset viewer.