From ee24c1c27a12fcfec431b3bd629e76ddb5512380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20Jim=C3=A9nez?= Date: Fri, 10 May 2013 16:20:06 +0200 Subject: [PATCH] Bug 861920 - Avoid apps to write in its local storage while device free storage is low. Tests. r=honzab --- dom/tests/mochitest/localstorage/Makefile.in | 1 + .../localstorage/test_lowDeviceStorage.html | 76 +++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 dom/tests/mochitest/localstorage/test_lowDeviceStorage.html diff --git a/dom/tests/mochitest/localstorage/Makefile.in b/dom/tests/mochitest/localstorage/Makefile.in index c21e19510371..e2f32625fc76 100644 --- a/dom/tests/mochitest/localstorage/Makefile.in +++ b/dom/tests/mochitest/localstorage/Makefile.in @@ -51,6 +51,7 @@ MOCHITEST_FILES = \ test_localStorageQuotaSessionOnly.html \ test_localStorageQuotaSessionOnly2.html \ test_localStorageKeyOrder.html \ + test_lowDeviceStorage.html \ test_storageConstructor.html \ $(NULL) diff --git a/dom/tests/mochitest/localstorage/test_lowDeviceStorage.html b/dom/tests/mochitest/localstorage/test_lowDeviceStorage.html new file mode 100644 index 000000000000..077460373c4a --- /dev/null +++ b/dom/tests/mochitest/localstorage/test_lowDeviceStorage.html @@ -0,0 +1,76 @@ + + +Test localStorage usage while in a low device storage situation + + + + + + + + + + + +