Backed out 2 changesets (bug 1775424) for causing linux hazard build bustage in js/loader/ModuleLoaderBase.cpp CLOSED TREE
Backed out changeset a043a84a771c (bug 1775424) Backed out changeset 19bc4fafd300 (bug 1775424)
This commit is contained in:
@@ -296,10 +296,6 @@ class ModuleLoaderBase : public nsISupports {
|
||||
static bool HostPopulateImportMeta(JSContext* aCx,
|
||||
JS::Handle<JS::Value> aReferencingPrivate,
|
||||
JS::Handle<JSObject*> aMetaObject);
|
||||
static bool ImportMetaResolve(JSContext* cx, unsigned argc, Value* vp);
|
||||
static JSString* ImportMetaResolveImpl(
|
||||
JSContext* aCx, JS::Handle<JS::Value> aReferencingPrivate,
|
||||
JS::Handle<JSString*> aSpecifier);
|
||||
static bool HostImportModuleDynamically(
|
||||
JSContext* aCx, JS::Handle<JS::Value> aReferencingPrivate,
|
||||
JS::Handle<JSObject*> aModuleRequest, JS::Handle<JSObject*> aPromise);
|
||||
@@ -382,14 +378,6 @@ class ModuleLoaderBase : public nsISupports {
|
||||
|
||||
nsresult CreateModuleScript(ModuleLoadRequest* aRequest);
|
||||
|
||||
// The slot stored in ImportMetaResolve function.
|
||||
enum { ModulePrivateSlot = 0, SlotCount };
|
||||
|
||||
// The number of args in ImportMetaResolve.
|
||||
static const uint32_t ImportMetaResolveNumArgs = 1;
|
||||
// The index of the 'specifier' argument in ImportMetaResolve.
|
||||
static const uint32_t ImportMetaResolveSpecifierArg = 0;
|
||||
|
||||
public:
|
||||
static mozilla::LazyLogModule gCspPRLog;
|
||||
static mozilla::LazyLogModule gModuleLoaderBaseLog;
|
||||
|
||||
Reference in New Issue
Block a user