Changeset 196061 in webkit
- Timestamp:
- Feb 3, 2016 2:37:12 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r196060 r196061 1 2016-02-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Layout Test http/tests/appcache/different-https-origin-resource-main.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=145253 5 6 Reviewed by Michael Catanzaro. 7 8 Update test expectation. 9 10 * platform/gtk/TestExpectations: 11 1 12 2016-02-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/LayoutTests/platform/gtk/TestExpectations
r196060 r196061 1749 1749 webkit.org/b/123431 http/tests/local/link-stylesheet-load-order.html [ Failure Pass ] 1750 1750 1751 webkit.org/b/145253 http/tests/appcache/different-https-origin-resource-main.html [ Failure Crash]1751 webkit.org/b/145253 http/tests/appcache/different-https-origin-resource-main.html [ Failure ] 1752 1752 1753 1753 #//////////////////////////////////////////////////////////////////////////////////////// -
trunk/Source/WebCore/ChangeLog
r196060 r196061 1 2016-02-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 3 [GTK] Layout Test http/tests/appcache/different-https-origin-resource-main.html is failing 4 https://bugs.webkit.org/show_bug.cgi?id=145253 5 6 Reviewed by Michael Catanzaro. 7 8 The problem is that when the load is cancelled while the 9 connection is still being established, 10 SoupMessage::notify::tls-errors is emitted and the handler calls 11 ResourceHandleClient::didFail() which can delete the ResourceHandle. 12 13 * platform/network/soup/ResourceHandleSoup.cpp: 14 (WebCore::tlsErrorsChangedCallback): Protect the ResourceHandle 15 for the scope of the callback because 16 ResourceHandleClient::didFail() could delete the object. 17 1 18 2016-02-03 Carlos Garcia Campos <cgarcia@igalia.com> 2 19 -
trunk/Source/WebCore/platform/network/soup/ResourceHandleSoup.cpp
r195450 r196061 339 339 static void tlsErrorsChangedCallback(SoupMessage* message, GParamSpec*, gpointer data) 340 340 { 341 Re sourceHandle*handle = static_cast<ResourceHandle*>(data);341 RefPtr<ResourceHandle> handle = static_cast<ResourceHandle*>(data); 342 342 if (!handle || handle->cancelledOrClientless()) 343 343 return; 344 344 345 if (handleUnignoredTLSErrors(handle , message))345 if (handleUnignoredTLSErrors(handle.get(), message)) 346 346 handle->cancel(); 347 347 }
Note: See TracChangeset
for help on using the changeset viewer.