[Webkit-unassigned] [Bug 129579] New: Misleading sandbox extension error when passing nonexistent file to WebKitTestRunner from Xcode

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 2 12:54:44 PST 2014


https://bugs.webkit.org/show_bug.cgi?id=129579

           Summary: Misleading sandbox extension error when passing
                    nonexistent file to WebKitTestRunner from Xcode
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: bburg at apple.com
                CC: ddkilzer at webkit.org, rniwa at webkit.org


When I debug DumpRenderTree using lldb, I typically run it from the root of the working copy, so passing "LayoutTests/inspector/test-name.html" works fine. But if I pass the same as an argument to DumpRenderTree or WebKitTestRunner from a custom Xcode scheme, I get an obtuse sandbox extension error. 


Could not create a sandbox extension for '/Users/bburg/repos/webkit/OpenSource/WebKitBuild/Vanilla/Debug/LayoutTests/inspector/test-harness-trivially-works.html'


It seems that the CWD when running from Xcode is the BUILT_PRODUCTS_DIR, so its trying to open a file that doesn't exist with that base directory. That's fine, but it would save a lot of confusion if the error message said the file did not exist.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list