WebKit.WebsitePoliciesCustomJavaScriptUserAgent is failing on iOS after being introduced in https://trac.webkit.org/changeset/240541/webkit Failed TestWebKitAPI.WebKit.WebsitePoliciesCustomJavaScriptUserAgent Received data during response processing, queuing it. Received data during response processing, queuing it. Received data during response processing, queuing it. /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1142 Value of: [userAgentString hasPrefix:@"Mozilla/5.0 (Macintosh;"] Actual: false Expected: true /Volumes/Data/slave/ios-simulator-12-release/build/Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:1143 Value of: [userAgentString hasSuffix:@"(KHTML, like Gecko)"] Actual: false Expected: true
Ryosuke, can you look into this today, or should the change be rolled back?
Ugh... of course. iOS has a different UA string.
Created attachment 360660 [details] Fixes the test
Comment on attachment 360660 [details] Fixes the test Clearing flags on attachment: 360660 Committed r240756: <https://trac.webkit.org/changeset/240756>
All reviewed patches have been landed. Closing bug.
<rdar://problem/47691812>