| This is a testharness.js-based test. |
| PASS rename(name) to rename a file |
| PASS rename(name) to rename a file the same name |
| PASS rename("") to rename a file fails |
| FAIL rename(name) to rename an empty directory promise_test: Unhandled rejection with value: object "AbortError: The user aborted a request." |
| FAIL rename("") to rename an empty directory fails promise_rejects_js: function "function() { throw e }" threw object "AbortError: The user aborted a request." ("AbortError") expected instance of function "function TypeError() { [native code] }" ("TypeError") |
| FAIL rename(name) to rename a non-empty directory promise_test: Unhandled rejection with value: object "AbortError: The user aborted a request." |
| PASS rename(name) can be called multiple times |
| PASS rename(dir) should rename to stringified dir object |
| PASS rename(name) with a name with a trailing period should fail |
| PASS rename(name) with a name with invalid characters should fail |
| PASS rename(name) while the file has an open writable fails |
| PASS rename(name) while the destination file has an open writable fails |
| Harness: the test ran to completion. |
| |