47 bytes, text/x-phabricator-request
|Details | Review|
UserAgentOverrides is initialized every time nsHttpHandler::NewProxiedChannel2 is called via nsHttpHandler::EnsureUAOverridesInit https://searchfox.org/mozilla-central/rev/3160ddc1f0ab55d230c595366662c62950e5c785/netwerk/protocol/http/nsHttpHandler.cpp#393 Doing it once should be enough. While it won't entirely resolve the issue discussed in bug 1513582, it will go a long way in getting around the issue as the first nsHttpRequest we run, is unlikely going to be in a DOM element requiring to load it content while in stable state.
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/ebad6bf33237 only initialize UserAgentOverrides.jsm once. r=dragana
You need to log in before you can comment on or make changes to this bug.