Backed out 3 changesets (bug 1487113) for causing hazard bustages. CLOSED TREE
Backed out changeset 13bf04fc644f (bug1487113) Backed out changeset 5b7fe5d564aa (bug1487113) Backed out changeset 02236ccd64b4 (bug1487113)
This commit is contained in:
@@ -1594,9 +1594,8 @@ nsresult ScriptLoader::StartLoad(ScriptLoadRequest* aRequest) {
|
||||
// the bytecode cache instead of the sources, if such entry is already
|
||||
// registered.
|
||||
LOG(("ScriptLoadRequest (%p): Maybe request bytecode", aRequest));
|
||||
cic->PreferAlternativeDataType(
|
||||
nsContentUtils::JSBytecodeMimeType(), ""_ns,
|
||||
nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::ASYNC);
|
||||
cic->PreferAlternativeDataType(nsContentUtils::JSBytecodeMimeType(),
|
||||
""_ns, true);
|
||||
} else {
|
||||
// If we are explicitly loading from the sources, such as after a
|
||||
// restarted request, we might still want to save the bytecode after.
|
||||
@@ -1605,9 +1604,7 @@ nsresult ScriptLoader::StartLoad(ScriptLoadRequest* aRequest) {
|
||||
// does not exist, such that we can later save the bytecode with a
|
||||
// different alternative data type.
|
||||
LOG(("ScriptLoadRequest (%p): Request saving bytecode later", aRequest));
|
||||
cic->PreferAlternativeDataType(
|
||||
kNullMimeType, ""_ns,
|
||||
nsICacheInfoChannel::PreferredAlternativeDataDeliveryType::ASYNC);
|
||||
cic->PreferAlternativeDataType(kNullMimeType, ""_ns, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user