AutoMemMap.cpp |
|
2901 |
AutoMemMap.h |
|
2165 |
ChromeScriptLoader.cpp |
|
18802 |
ComponentUtils.sys.mjs |
Deprecated utilities for JavaScript components loaded by the JS component
loader.
|
1090 |
IOBuffers.h |
|
3373 |
JSMEnvironmentProxy.cpp |
|
9144 |
JSMEnvironmentProxy.h |
|
1209 |
ModuleEnvironmentProxy.cpp |
|
7798 |
ModuleEnvironmentProxy.h |
|
1129 |
moz.build |
|
1437 |
mozJSLoaderUtils.cpp |
|
2483 |
mozJSLoaderUtils.h |
mozJSLoaderUtils_h |
1083 |
mozJSModuleLoader.cpp |
Buffer sizes for serialization and deserialization of scripts.
FIXME: bug #411579 (tune this macro!) Last updated: Jan 2008
|
70182 |
mozJSModuleLoader.h |
|
12598 |
mozJSSubScriptLoader.cpp |
load() error msgs, XXX localize? |
15921 |
mozJSSubScriptLoader.h |
829814d6-1dd2-11b2-8e08-82fa0a339b00 |
1813 |
nsImportModule.cpp |
|
2565 |
nsImportModule.h |
Usage with exported name:
Foo.sys.mjs:
export function foo(bar) {
return bar.toString();
}
mozIFoo.idl:
interface mozIFoo : nsISupports {
AString foo(double meh);
}
Thing.cpp:
nsCOMPtr<mozIFoo> foo = do_ImportESModule(
"resource://meh/Foo.sys.mjs");
MOZ_TRY(foo->Foo(42));
Usage with a single named object:
Foo.sys.mjs:
export var Foo = {
function foo(bar) {
return bar.toString();
}
};
Thing.cpp:
nsCOMPtr<mozIFoo> foo = do_ImportESModule(
"resource:://meh/Foo.sys.mjs", "Foo");
|
3641 |
PrecompiledScript.h |
|
1868 |
PScriptCache.ipdl |
|
1005 |
script_cache.py |
Usage: script_cache.py <file.bin> ...
Decodes and prints out the contents of a startup script cache file
(e.g., startupCache/scriptCache.bin) in human-readable form. |
2479 |
ScriptCacheActors.cpp |
|
2847 |
ScriptCacheActors.h |
|
1462 |
ScriptPreloader-inl.h |
|
4063 |
ScriptPreloader.cpp |
|
45727 |
ScriptPreloader.h |
|
19015 |
SkipCheckForBrokenURLOrZeroSized.h |
|
791 |
SyncModuleLoader.cpp |
is top level |
9005 |
SyncModuleLoader.h |
|
3633 |
URLPreloader.cpp |
|
20534 |
URLPreloader.h |
A singleton class to manage loading local URLs during startup, recording
them, and pre-loading them during early startup in the next session. URLs
that are not already loaded (or already being pre-loaded) when required are
read synchronously from disk, and (if startup is not already complete)
added to the pre-load list for the next session.
|
10125 |
XPCOMUtils.sys.mjs |
Redefines the given property on the given object with the given
value. This can be used to redefine getter properties which do not
implement setters.
|
11719 |