# HG changeset patch # User Jonathan Watt # Parent 58e8b4ba03904003668b96bf335a4863a58d839e Bug 1177688, part 4 - Add DeviceStorage tests for the new .getContents() and .path API on Directory. r=baku diff --git a/dom/devicestorage/test/mochitest.ini b/dom/devicestorage/test/mochitest.ini --- a/dom/devicestorage/test/mochitest.ini +++ b/dom/devicestorage/test/mochitest.ini @@ -26,11 +26,12 @@ support-files = devicestorage_common.js [test_watchOther.html] [test_storageAreaListener.html] skip-if = (toolkit != 'gonk') # FileSystem API tests [test_fs_basic.html] [test_fs_createDirectory.html] [test_fs_get.html] +[test_fs_getContents.html] [test_fs_remove.html] [test_fs_createFile.html] [test_fs_appendFile.html] diff --git a/dom/devicestorage/test/test_fs_getContents.html b/dom/devicestorage/test/test_fs_getContents.html new file mode 100644 --- /dev/null +++ b/dom/devicestorage/test/test_fs_getContents.html @@ -0,0 +1,127 @@ + + + + + Test Directory#getContents of the FileSystem API for device storage + + + + + + +Mozilla Bug XXX +

+ +
+
+
+ + +