diff options
Diffstat (limited to 'toolkit/components/formautofill/test/xpcshell/head.js')
-rw-r--r-- | toolkit/components/formautofill/test/xpcshell/head.js | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/toolkit/components/formautofill/test/xpcshell/head.js b/toolkit/components/formautofill/test/xpcshell/head.js deleted file mode 100644 index 1cee023f2..000000000 --- a/toolkit/components/formautofill/test/xpcshell/head.js +++ /dev/null @@ -1,23 +0,0 @@ -/* Any copyright is dedicated to the Public Domain. - * http://creativecommons.org/publicdomain/zero/1.0/ */ - -/* - * Initialization specific to Form Autofill xpcshell tests. - * - * This file is loaded by "loader.js". - */ - -"use strict"; - -// The testing framework is fully initialized at this point, you can add -// xpcshell specific test initialization here. If you need shared functions or -// initialization that are not specific to xpcshell, consider adding them to -// "head_common.js" in the parent folder instead. - -add_task_in_parent_process(function* test_xpcshell_initialize_profile() { - // We need to send the profile-after-change notification manually to the - // startup component to ensure it has been initialized. - Cc["@mozilla.org/formautofill/startup;1"] - .getService(Ci.nsIObserver) - .observe(null, "profile-after-change", ""); -}); |