summaryrefslogtreecommitdiffstats
path: root/dom/indexedDB/test/test_globalObjects_other.xul
diff options
context:
space:
mode:
authorAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-08 20:42:10 -0400
committerAscrod <32915892+Ascrod@users.noreply.github.com>2019-04-13 11:37:45 -0400
commit1d0af8b59102331cba100529e1697f91faf0c86b (patch)
tree3fa887fe66e4939ff8a3fc0d48cff84e8e4b14c4 /dom/indexedDB/test/test_globalObjects_other.xul
parentc7796280a9b5600fb15a4c170ca3d3f4d4d9e535 (diff)
downloadUXP-1d0af8b59102331cba100529e1697f91faf0c86b.tar
UXP-1d0af8b59102331cba100529e1697f91faf0c86b.tar.gz
UXP-1d0af8b59102331cba100529e1697f91faf0c86b.tar.lz
UXP-1d0af8b59102331cba100529e1697f91faf0c86b.tar.xz
UXP-1d0af8b59102331cba100529e1697f91faf0c86b.zip
Issue #991 Part 5: DOM and layout
Diffstat (limited to 'dom/indexedDB/test/test_globalObjects_other.xul')
-rw-r--r--dom/indexedDB/test/test_globalObjects_other.xul10
1 files changed, 2 insertions, 8 deletions
diff --git a/dom/indexedDB/test/test_globalObjects_other.xul b/dom/indexedDB/test/test_globalObjects_other.xul
index eb180a9b4..b527d66bd 100644
--- a/dom/indexedDB/test/test_globalObjects_other.xul
+++ b/dom/indexedDB/test/test_globalObjects_other.xul
@@ -31,14 +31,8 @@
Cu.import("resource://gre/modules/Services.jsm");
for (var stage of [ "install", "startup", "shutdown", "uninstall" ]) {
for (var symbol of [ "IDBKeyRange", "indexedDB" ]) {
- let pref;
- try {
- pref = Services.prefs.getBoolPref("indexeddbtest.bootstrap." + stage +
- "." + symbol);
- }
- catch(ex) {
- pref = false;
- }
+ let pref = Services.prefs.getBoolPref("indexeddbtest.bootstrap." + stage +
+ "." + symbol, false);
ok(pref, "Symbol '" + symbol + "' present during '" + stage + "'");
}
}