Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /fs/root-name.https.any.html - WPT Dashboard Interop Dashboard
- /fs/root-name.https.any.worker.html - WPT Dashboard Interop Dashboard
'use strict';
promise_test(async test => {
let root = await navigator.storage.getDirectory();
assert_equals(root.name, '');
}, 'getDirectory returns a directory whose name is the empty string');