Bug 1398198 - browser_startup.js should show the stack when a JS file was loaded earlier than expected, r=felipe,mccr8.
This commit is contained in:
@@ -8,11 +8,17 @@
|
||||
[scriptable, builtinclass, uuid(4f94b21f-2920-4bd9-8251-5fb60fb054b2)]
|
||||
interface xpcIJSModuleLoader : nsISupports
|
||||
{
|
||||
// These 2 functions are for startup testing purposes. They are not expected
|
||||
// These functions are for startup testing purposes. They are not expected
|
||||
// to be used for production code.
|
||||
void loadedModules([optional] out unsigned long length,
|
||||
[retval, array, size_is(length)] out string aModules);
|
||||
|
||||
void loadedComponents([optional] out unsigned long length,
|
||||
[retval, array, size_is(length)] out string aComponents);
|
||||
|
||||
// These 2 functions will only return useful values if the
|
||||
// "browser.startup.record" preference was true at the time the JS file
|
||||
// was loaded.
|
||||
ACString getModuleImportStack(in AUTF8String aLocation);
|
||||
ACString getComponentLoadStack(in AUTF8String aLocation);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user