Changeset 276195 in webkit
- Timestamp:
- Apr 16, 2021, 10:03:59 PM (5 years ago)
- Location:
- trunk/Tools
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
TestWebKitAPI/Tests/WebKit/WKPreferences.cpp (modified) (5 diffs)
-
TestWebKitAPI/glib/TestExpectations.json (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r276193 r276195 1 2021-04-16 Lauro Moura <lmoura@igalia.com> 2 3 REGRESSION(r276164) [GTK] WKPreferencesDefaults API test is failing 4 https://bugs.webkit.org/show_bug.cgi?id=224710 5 6 Reviewed by Alex Christensen. 7 8 As of r276164, Mac/iOS disabled application cache by default but other 9 ports are still enabling it. 10 11 * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp: 12 (TestWebKitAPI::TEST): Add missing WPE guard and test against expected 13 port value instead of enforcing a single value for every port. 14 * TestWebKitAPI/glib/TestExpectations.json: Remove WPE expected 15 failure. 16 1 17 2021-04-16 Brent Fulgham <bfulgham@apple.com> 2 18 -
trunk/Tools/TestWebKitAPI/Tests/WebKit/WKPreferences.cpp
r276164 r276195 45 45 TEST(WebKit, WKPreferencesDefaults) 46 46 { 47 #if PLATFORM(GTK) || PLATFORM(PLAYSTATION) 47 #if PLATFORM(GTK) || PLATFORM(PLAYSTATION) || PLATFORM(WPE) 48 48 static const char* expectedStandardFontFamily = "Times"; 49 49 static const char* expectedFixedFontFamily = "Courier New"; … … 53 53 static const char* expectedFantasyFontFamily = "Impact"; 54 54 static const char* expectedPictographFontFamily = "Times"; 55 bool expectedApplicationCacheEnabled = true; 55 56 #elif WK_HAVE_C_SPI 56 57 static const char* expectedStandardFontFamily = "Times"; … … 61 62 static const char* expectedFantasyFontFamily = "Papyrus"; 62 63 static const char* expectedPictographFontFamily = "Apple Color Emoji"; 64 bool expectedApplicationCacheEnabled = false; 63 65 #elif PLATFORM(IOS_FAMILY) 64 66 static const char* expectedStandardFontFamily = "Times"; … … 69 71 static const char* expectedFantasyFontFamily = "Papyrus"; 70 72 static const char* expectedPictographFontFamily = "AppleColorEmoji"; 73 bool expectedApplicationCacheEnabled = false; 71 74 #endif 72 75 … … 75 78 EXPECT_TRUE(WKPreferencesGetJavaScriptEnabled(preference)); 76 79 EXPECT_TRUE(WKPreferencesGetLoadsImagesAutomatically(preference)); 77 EXPECT_ FALSE(WKPreferencesGetOfflineWebApplicationCacheEnabled(preference));80 EXPECT_EQ(expectedApplicationCacheEnabled, WKPreferencesGetOfflineWebApplicationCacheEnabled(preference)); 78 81 EXPECT_TRUE(WKPreferencesGetLocalStorageEnabled(preference)); 79 82 EXPECT_TRUE(WKPreferencesGetXSSAuditorEnabled(preference)); -
trunk/Tools/TestWebKitAPI/glib/TestExpectations.json
r275453 r276195 200 200 "expected": {"gtk": {"status": ["SKIP"], "bug": "webkit.org/b/121970"}} 201 201 }, 202 "WebKit.WKPreferencesDefaults": {203 "expected": {"wpe": {"status": ["FAIL"]}}204 },205 202 "WebKit.HitTestResultNodeHandle": { 206 203 "expected": {"wpe": {"status": ["TIMEOUT"]}}
Note:
See TracChangeset
for help on using the changeset viewer.