Bug 1931514 - Remove nsITimedChannel.timingEnabled r=necko-reviewers,kershaw

Timing should always be enabled.

Differential Revision: https://phabricator.services.mozilla.com/D229340
This commit is contained in:
Valentin Gosu
2024-11-20 20:53:51 +00:00
parent 8b76c848d6
commit 056ff7244b
17 changed files with 47 additions and 134 deletions

View File

@@ -9937,8 +9937,6 @@ nsIPrincipal* nsDocShell::GetInheritedPrincipal(
}
if (nsCOMPtr<nsITimedChannel> timedChannel = do_QueryInterface(channel)) {
timedChannel->SetTimingEnabled(true);
nsString initiatorType;
switch (aLoadInfo->InternalContentPolicyType()) {
case nsIContentPolicy::TYPE_INTERNAL_EMBED: