michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: function test_bookmarkhtml() { michael@0: let bmarks = gProfD.clone(); michael@0: bmarks.append("bookmarks.html"); michael@0: michael@0: let tbmarks = gDirSvc.get("BMarks", Ci.nsIFile); michael@0: do_check_true(bmarks.equals(tbmarks)); michael@0: } michael@0: michael@0: function run_test() { michael@0: [test_bookmarkhtml michael@0: ].forEach(function(f) { michael@0: do_test_pending(); michael@0: print("Running test: " + f.name); michael@0: f(); michael@0: do_test_finished(); michael@0: }); michael@0: }