Add support to the JSC shell for systems that don't provide a working directory to user applications (e.g. PlayStation). * Add in a --working-directory option to set the base working directory for such systems. * When a directory has been set with the above, convert paths into absolute paths for opening. * fetchModuleFromLocalFileSystem says that it expects only absolute paths already, so no changes were made there. * For PlayStation, do not try to call to getcwd.
Created attachment 361799 [details] Add --working-directory and related code
Created attachment 361803 [details] Add --working-directory and related code, move to file-scope NeverDestroyed Trying a NeverDestroyed static in file-scope to avoid -Wexit-time-destructors failures.
Comment on attachment 361803 [details] Add --working-directory and related code, move to file-scope NeverDestroyed Attachment 361803 [details] did not pass win-ews (win): Output: https://webkit-queues.webkit.org/results/11123765 New failing tests: js/dom/custom-constructors.html
Created attachment 361815 [details] Archive of layout-test-results from ews202 for win-future The attached test failures were seen while running run-webkit-tests on the win-ews. Bot: ews202 Port: win-future Platform: CYGWIN_NT-6.1-2.10.0-0.325-5-3-x86_64-64bit
Created attachment 361817 [details] Add --working-directory and related code, move to file-scope NeverDestroyed
Comment on attachment 361817 [details] Add --working-directory and related code, move to file-scope NeverDestroyed Taking out of review since the bug has been declared invalid.