Bug 170856

Summary: [ios-simulator] API test WebKit2.AdditionalReadAccessAllowedURLs is failing
Product: WebKit Reporter: Ryan Haddad <ryanhaddad>
Component: New BugsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: mitz
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=170387

Description Ryan Haddad 2017-04-14 11:31:01 PDT
[ios-simulator] API test WebKit2.AdditionalReadAccessAllowedURLs is failing

FAIL WebKit2.AdditionalReadAccessAllowedURLs

/Volumes/Data/slave/ios-simulator-10-release/build/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm:98
Value of: string
  Actual: 0xa007465726365736
Expected: nullptr
Which is: (null)


/Volumes/Data/slave/ios-simulator-10-release/build/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm:99
Value of: error.domain
  Actual: ""
Expected: NSCocoaErrorDomain
Which is: "NSCocoaErrorDomain"


/Volumes/Data/slave/ios-simulator-10-release/build/Tools/TestWebKitAPI/Tests/WebKit2Cocoa/AdditionalReadAccessAllowedURLs.mm:100
Value of: error.code
  Actual: 0
Expected: NSFileReadNoPermissionError
Which is: 257

https://build.webkit.org/builders/Apple%20iOS%2010%20Simulator%20Release%20WK2%20%28Tests%29/builds/667
Comment 1 mitz 2017-04-14 12:02:31 PDT
We can’t run that test in the Simulator because sandboxing isn’t enforced in that environment.
Comment 2 mitz 2017-04-14 15:17:48 PDT
Fixed in <https://trac.webkit.org/r215377>.