getFileMetadata() does not work as expected for symbolic links. It should provide metadata about the symlink, not its target. FileMetadata.type should properly be set to TypeSymbolicLink.
Created attachment 319451 [details] Patch
Created attachment 319453 [details] Patch
Created attachment 319466 [details] Patch
Created attachment 319468 [details] Patch
Created attachment 319481 [details] Patch
Comment on attachment 319481 [details] Patch r=me
Comment on attachment 319481 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319481&action=review > Tools/TestWebKitAPI/Tests/WebCore/FileSystem.cpp:126 > + EXPECT_TRUE(createSymbolicLink(tempFilePath(), symlinkPath)); We should probably take care to remove this symlink at some point.
Created attachment 319506 [details] Patch
Created attachment 319507 [details] Patch
Comment on attachment 319507 [details] Patch Clearing flags on attachment: 319507 Committed r221441: <http://trac.webkit.org/changeset/221441>
All reviewed patches have been landed. Closing bug.
<rdar://problem/34694512>