Changeset 188948 in webkit
- Timestamp:
- Aug 26, 2015 12:03:24 AM (9 years ago)
- Location:
- trunk/Tools
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r188947 r188948 1 2015-08-26 Gyuyoung Kim <gyuyoung.kim@webkit.org> 2 3 [EFL][GTK] REGRESSION(r188828): All performance tests and almost all layout tests crash 4 https://bugs.webkit.org/show_bug.cgi?id=148377 5 6 Reviewed by Carlos Garcia Campos. 7 8 EFL and GTK don't support TestController::platformPreferences() yet which was introduced by r188828. 9 It caused all crashes of layout test and performance test on EFL and GTK. So this patch implements 10 TestController::platformPreferences() using WKPageGroupGetPreferences() which was previous thing for 11 EFL and GTK at the moment. 12 13 * WebKitTestRunner/TestController.cpp: 14 (WTR::TestController::platformWillRunTest): 15 * WebKitTestRunner/efl/TestControllerEfl.cpp: 16 (WTR::TestController::platformPreferences): 17 * WebKitTestRunner/gtk/TestControllerGtk.cpp: 18 (WTR::TestController::platformPreferences): 19 1 20 2015-08-25 Nan Wang <n_wang@apple.com> 2 21 -
trunk/Tools/WebKitTestRunner/TestController.cpp
r188828 r188948 1601 1601 } 1602 1602 1603 #if !PLATFORM(EFL) && !PLATFORM(GTK) && !PLATFORM(COCOA) 1604 WKPreferencesRef TestController::platformPreferences() 1605 { 1606 WKRetainPtr<WKPageConfigurationRef> configuration = adoptWK(WKPageCopyPageConfiguration(m_mainWebView->page())); 1607 return WKPageConfigurationGetPreferences(configuration.get()); 1608 } 1609 #endif 1610 1603 1611 #if !PLATFORM(COCOA) 1604 1612 void TestController::platformWillRunTest(const TestInvocation&) … … 1606 1614 } 1607 1615 1608 WKPreferencesRef TestController::platformPreferences()1609 {1610 WKRetainPtr<WKPageConfigurationRef> configuration = adoptWK(WKPageCopyPageConfiguration(m_mainWebView->page()));1611 return WKPageConfigurationGetPreferences(configuration.get());1612 }1613 1614 1616 void TestController::platformCreateWebView(WKPageConfigurationRef configuration, const ViewOptions& options) 1615 1617 { -
trunk/Tools/WebKitTestRunner/efl/TestControllerEfl.cpp
r188828 r188948 59 59 m_forceNoTimeout = true; 60 60 } 61 } 62 63 WKPreferencesRef TestController::platformPreferences() 64 { 65 return WKPageGroupGetPreferences(m_pageGroup.get()); 61 66 } 62 67 -
trunk/Tools/WebKitTestRunner/gtk/TestControllerGtk.cpp
r188828 r188948 47 47 void TestController::platformInitialize() 48 48 { 49 } 50 51 WKPreferencesRef TestController::platformPreferences() 52 { 53 return WKPageGroupGetPreferences(m_pageGroup.get()); 49 54 } 50 55
Note: See TracChangeset
for help on using the changeset viewer.