Changeset 126884 in webkit
- Timestamp:
- Aug 28, 2012, 8:46:51 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/efl-wk2/TestExpectations (modified) (1 diff)
-
LayoutTests/platform/efl/Skipped (modified) (1 diff)
-
Source/WebKit/efl/ChangeLog (modified) (1 diff)
-
Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp (modified) (2 diffs)
-
Source/WebKit2/ChangeLog (modified) (1 diff)
-
Source/WebKit2/UIProcess/API/efl/ewk_view_policy_client.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r126882 r126884 1 2012-08-28 Christophe Dumez <christophe.dumez@intel.com> 2 3 [EFL] WebKit EFL updates view on HTTP 204 response 4 https://bugs.webkit.org/show_bug.cgi?id=95199 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Unskip http/tests/navigation/response204.html now 9 that EFL port properly ignores responses with 10 HTTP status 204 (No content). 11 12 * platform/efl-wk2/TestExpectations: 13 * platform/efl/Skipped: 14 1 15 2012-08-28 János Badics <jbadics@inf.u-szeged.hu> 2 16 -
trunk/LayoutTests/platform/efl-wk2/TestExpectations
r126866 r126884 139 139 140 140 // WebKitTestRunner needs an implementation for testRunner.queueLoad 141 BUGWKEFL : fast/dom/navigation-type-back-forward.html = TEXT 142 BUGWKEFL : fast/dom/navigation-type-navigate.html = TEXT 143 BUGWKEFL : fast/dom/navigation-type-reload.html = TEXT 141 BUGWK42674 : fast/dom/navigation-type-back-forward.html = TEXT 142 BUGWK42674 : fast/dom/navigation-type-navigate.html = TEXT 143 BUGWK42674 : fast/dom/navigation-type-reload.html = TEXT 144 BUGWK42674 : http/tests/navigation/response204.html = TEXT 144 145 145 146 // WebKitTestRunner needs an implementation for testRunner.titleTextDirection -
trunk/LayoutTests/platform/efl/Skipped
r126880 r126884 357 357 # https://bugs.webkit.org/show_bug.cgi?id=54251 358 358 http/tests/multipart/invalid-image-data-standalone.html 359 360 # HTTP 204 (No Content) should be ignored361 # https://bugs.webkit.org/show_bug.cgi?id=60206362 http/tests/navigation/response204.html363 359 364 360 # http/tests/multipart/stop-crash.html fails on GTK and Qt missing multipart/x-mixed-replace support in libsoup -
trunk/Source/WebKit/efl/ChangeLog
r126868 r126884 1 2012-08-28 Christophe Dumez <christophe.dumez@intel.com> 2 3 [EFL] WebKit EFL updates view on HTTP 204 response 4 https://bugs.webkit.org/show_bug.cgi?id=95199 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Ignore HTTP responses which have status code equal 9 to 204 (No Content). 10 11 * WebCoreSupport/FrameLoaderClientEfl.cpp: 12 (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForResponse): 13 1 14 2012-08-28 Thiago Marcos P. Santos <thiago.santos@intel.com> 2 15 -
trunk/Source/WebKit/efl/WebCoreSupport/FrameLoaderClientEfl.cpp
r125500 r126884 46 46 #include "FrameView.h" 47 47 #include "HTMLFormElement.h" 48 #include "HTTPStatusCodes.h" 48 49 #include "IntentRequest.h" 49 50 #include "MIMETypeRegistry.h" … … 298 299 } 299 300 301 // Ignore responses with an HTTP status code of 204 (No Content) 302 if (response.httpStatusCode() == HTTPNoContent) { 303 callPolicyFunction(function, PolicyIgnore); 304 return; 305 } 306 300 307 if (canShowMIMEType(response.mimeType())) 301 308 callPolicyFunction(function, PolicyUse); -
trunk/Source/WebKit2/ChangeLog
r126877 r126884 1 2012-08-28 Christophe Dumez <christophe.dumez@intel.com> 2 3 [EFL] WebKit EFL updates view on HTTP 204 response 4 https://bugs.webkit.org/show_bug.cgi?id=95199 5 6 Reviewed by Kenneth Rohde Christiansen. 7 8 Ignore HTTP responses which have status code equal 9 to 204 (No Content). 10 11 * UIProcess/API/efl/ewk_view_policy_client.cpp: 12 (decidePolicyForResponseCallback): 13 1 14 2012-08-28 Zeno Albisser <zeno@webkit.org> 2 15 -
trunk/Source/WebKit2/UIProcess/API/efl/ewk_view_policy_client.cpp
r122803 r126884 32 32 #include "ewk_view_policy_client_private.h" 33 33 #include "ewk_view_private.h" 34 #include <WebCore/HTTPStatusCodes.h> 34 35 #include <wtf/text/CString.h> 35 36 … … 59 60 { 60 61 const ResourceResponse resourceResponse = toImpl(response)->resourceResponse(); 62 63 // Ignore responses with an HTTP status code of 204 (No Content) 64 if (resourceResponse.httpStatusCode() == HTTPNoContent) { 65 WKFramePolicyListenerIgnore(listener); 66 return; 67 } 68 61 69 // If the URL Response has "Content-Disposition: attachment;" header, then 62 70 // we should download it.
Note:
See TracChangeset
for help on using the changeset viewer.