diff --git a/dom/tests/mochitest/ajax/offline/Makefile.in b/dom/tests/mochitest/ajax/offline/Makefile.in
index cba98f426cb..946116c01f0 100644
--- a/dom/tests/mochitest/ajax/offline/Makefile.in
+++ b/dom/tests/mochitest/ajax/offline/Makefile.in
@@ -95,6 +95,8 @@ MOCHITEST_FILES = \
missing.html \
jupiter.jpg \
test_cancelOfflineCache.html \
+ test_lowDeviceStorage.html \
+ test_lowDeviceStorageDuringUpdate.html \
$(NULL)
# test_offlineMode.html disabled due to bug 656943
diff --git a/dom/tests/mochitest/ajax/offline/test_lowDeviceStorage.html b/dom/tests/mochitest/ajax/offline/test_lowDeviceStorage.html
new file mode 100644
index 00000000000..47b65833c7f
--- /dev/null
+++ b/dom/tests/mochitest/ajax/offline/test_lowDeviceStorage.html
@@ -0,0 +1,91 @@
+
+
+Low device storage
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/dom/tests/mochitest/ajax/offline/test_lowDeviceStorageDuringUpdate.html b/dom/tests/mochitest/ajax/offline/test_lowDeviceStorageDuringUpdate.html
new file mode 100644
index 00000000000..729933d018a
--- /dev/null
+++ b/dom/tests/mochitest/ajax/offline/test_lowDeviceStorageDuringUpdate.html
@@ -0,0 +1,59 @@
+
+
+Low device storage during update
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/testing/mochitest/b2g.json b/testing/mochitest/b2g.json
index f801427d9f9..cd1a741775a 100644
--- a/testing/mochitest/b2g.json
+++ b/testing/mochitest/b2g.json
@@ -225,6 +225,8 @@
"dom/tests/mochitest/ajax/offline/test_fallback.html":"",
"dom/tests/mochitest/ajax/offline/test_foreign.html":"",
"dom/tests/mochitest/ajax/offline/test_identicalManifest.html":"",
+ "dom/tests/mochitest/ajax/offline/test_lowDeviceStorage.html":"",
+ "dom/tests/mochitest/ajax/offline/test_lowDeviceStorageDuringUpdate.html":"",
"dom/tests/mochitest/ajax/offline/test_missingFile.html":"",
"dom/tests/mochitest/ajax/offline/test_missingManifest.html":"",
"dom/tests/mochitest/ajax/offline/test_obsolete.html":"",