dom/plugins/test/unit/test_bug471245.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:3b2469ff8fc8
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
4 */
5
6 Components.utils.import("resource://gre/modules/Services.jsm");
7
8 function run_test() {
9 do_get_profile_startup();
10
11 var plugin = get_test_plugintag();
12 do_check_true(plugin == null);
13
14 // Initialises a profile folder
15 do_get_profile();
16
17 var plugin = get_test_plugintag();
18 do_check_false(plugin == null);
19
20 // Clean up
21 Services.prefs.clearUserPref("plugin.importedState");
22 }

mercurial