summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/fs/root-name.https.any.js
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/fs/root-name.https.any.js')
-rw-r--r--testing/web-platform/tests/fs/root-name.https.any.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/web-platform/tests/fs/root-name.https.any.js b/testing/web-platform/tests/fs/root-name.https.any.js
new file mode 100644
index 0000000000..650a7a64ee
--- /dev/null
+++ b/testing/web-platform/tests/fs/root-name.https.any.js
@@ -0,0 +1,6 @@
+'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');