Bug 1792034 [wpt PR 36019] - Make location.search always expect UTF-8, a=testonly
[gecko.git] / toolkit / xre / nsIXREDirProvider.idl
blobce599a83bcdf1b2779ea7fdc858920c4aa427c73
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/. */
5 #include "nsISupports.idl"
7 interface nsIFile;
9 [scriptable, uuid(f6ee3c0a-5119-47fc-b1a7-ace9e1111fff)]
10 interface nsIXREDirProvider : nsISupports
12 /**
13 * Only intended to be used from xpcshell tests. Allows setting the local
14 * and normal profile data directories. Calling this after something using
15 * them has started up will cause problems.
17 void setUserDataDirectory(in nsIFile aFile, in boolean aLocal);
19 /**
20 * Gets the hash for the current installation directory.
22 AString getInstallHash();