1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/dirprovider/tests/unit/test_keys.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +function test_bookmarkhtml() { 1.9 + let bmarks = gProfD.clone(); 1.10 + bmarks.append("bookmarks.html"); 1.11 + 1.12 + let tbmarks = gDirSvc.get("BMarks", Ci.nsIFile); 1.13 + do_check_true(bmarks.equals(tbmarks)); 1.14 +} 1.15 + 1.16 +function run_test() { 1.17 + [test_bookmarkhtml 1.18 + ].forEach(function(f) { 1.19 + do_test_pending(); 1.20 + print("Running test: " + f.name); 1.21 + f(); 1.22 + do_test_finished(); 1.23 + }); 1.24 +}