Changeset 150474 in webkit
- Timestamp:
- May 21, 2013 1:38:04 PM (11 years ago)
- Location:
- trunk/Tools
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r150472 r150474 1 2013-05-21 Alexey Proskuryakov <ap@apple.com> 2 3 <rdar://problem/13929704> [WK2] WebKitTestRunner always crashes on exit 4 https://bugs.webkit.org/show_bug.cgi?id=116568 5 6 Reviewed by Anders Carlsson. 7 8 * WebKitTestRunner/WebNotificationProvider.cpp: 9 (WTR::WebNotificationProvider::~WebNotificationProvider): 10 * WebKitTestRunner/WebNotificationProvider.h: 11 When the provider is destroyed, it should no longer be registered with the manager. 12 13 * WebKitTestRunner/GeolocationProviderMock.cpp: 14 (WTR::GeolocationProviderMock::~GeolocationProviderMock): 15 * WebKitTestRunner/GeolocationProviderMock.h: 16 I wasn't seeing a crash here, but this code has the same issue as notification 17 provider, so applying the same fix. 18 19 * WebKitTestRunner/TestController.cpp: (WTR::TestController::~TestController): 20 Close icon database. I started seeing ASSERT(!isOpen()) in WebCore IconDatabase 21 destructor having fixed the above. 22 1 23 2013-05-21 Commit Queue <commit-queue@webkit.org> 2 24 -
trunk/Tools/WebKitTestRunner/GeolocationProviderMock.cpp
r130416 r150474 59 59 } 60 60 61 GeolocationProviderMock::~GeolocationProviderMock() 62 { 63 WKGeolocationManagerSetProvider(m_geolocationManager, 0); 64 } 65 61 66 void GeolocationProviderMock::setPosition(double latitude, double longitude, double accuracy, bool providesAltitude, double altitude, bool providesAltitudeAccuracy, double altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, double speed) 62 67 { -
trunk/Tools/WebKitTestRunner/GeolocationProviderMock.h
r130416 r150474 34 34 public: 35 35 GeolocationProviderMock(WKContextRef); 36 ~GeolocationProviderMock(); 36 37 37 38 void setPosition(double latitude, double longitude, double accuracy, bool providesAltitude, double altitude, bool providesAltitudeAccuracy, double altitudeAccuracy, bool providesHeading, double heading, bool providesSpeed, double speed); -
trunk/Tools/WebKitTestRunner/TestController.cpp
r149335 r150474 34 34 #include <WebKit2/WKContextPrivate.h> 35 35 #include <WebKit2/WKCredential.h> 36 #include <WebKit2/WKIconDatabase.h> 36 37 #include <WebKit2/WKNotification.h> 37 38 #include <WebKit2/WKNotificationManager.h> … … 121 122 TestController::~TestController() 122 123 { 124 WKIconDatabaseClose(WKContextGetIconDatabase(m_context.get())); 125 123 126 platformDestroy(); 124 127 } -
trunk/Tools/WebKitTestRunner/WebNotificationProvider.cpp
r127028 r150474 62 62 WebNotificationProvider::WebNotificationProvider() 63 63 { 64 } 65 66 WebNotificationProvider::~WebNotificationProvider() 67 { 68 WKNotificationManagerSetProvider(m_notificationManager.get(), 0); 64 69 } 65 70 -
trunk/Tools/WebKitTestRunner/WebNotificationProvider.h
r127026 r150474 37 37 public: 38 38 WebNotificationProvider(); 39 ~WebNotificationProvider(); 39 40 WKNotificationProvider provider(); 40 41
Note: See TracChangeset
for help on using the changeset viewer.