Fix for "FF 45 aborts initial request for new domains"

Android-specific support, bug reports and feature requests.
Post Reply
Lekensteyn
Junior Member
Posts: 31
Joined: Thu May 19, 2011 12:01 pm

Fix for "FF 45 aborts initial request for new domains"

Post by Lekensteyn »

Since updating to Firefox 45.0b1, pages from new domain would not load until a second attempt. For example, visit https://lwn.net for the first time, the page load simply aborts and will only pass when opening it for the second time (affects both addresses entered via the location bar and anchors in a HTML page).

logcat

Code: Select all

[NSA] First request https://lwn.net/checked in 314 (including lazy init) at 1454589276774
[NSA Error] TypeError: Cc['@mozilla.org/netwerk/global-channel-event-sink;1'] is undefined
ChannelReplacement.prototype._onChannelRedirect@resource://noscript_3_5a10/modules/ChannelReplacement.jsm:195:1
ChannelReplacement.prototype._redirect@resource://noscript_3_5a10/modules/ChannelReplacement.jsm:298:9
ChannelReplacement.prototype.replace/</self.observeCapture/self.open@resource://noscript_3_5a10/modules/ChannelReplacement.jsm:267:36
ABE.deferIfNeeded/</</<@resource://noscript_3_5a10/modules/ABE.jsm:293:13
DNS.resolve/resolve/<@resource://noscript_3_5a10/modules/DNS.jsm:248:15
DNSListener.prototype.onLookupComplete@resource://noscript_3_5a10/modules/DNS.jsm:365:24
By the way, the https://noscript.net/nsa/ page links to the older 3.5a9 version rather than the current 3.5a10.
Last edited by Lekensteyn on Tue Feb 09, 2016 2:17 pm, edited 1 time in total.
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Lekensteyn
Junior Member
Posts: 31
Joined: Thu May 19, 2011 12:01 pm

Re: FF 45 / NSA 3.5a10 aborts initial request for new domain

Post by Lekensteyn »

Issue was introduced with https://hg.mozilla.org/mozilla-central/rev/e772b5154e0c where an event sink was removed. The fix is to avoid passing messages to this sink.

Patch: https://github.com/Lekensteyn/noscript- ... 33c192daf6
Pre-built extension: https://lekensteyn.nl/files/noscript-ns ... nsteyn.xpi (from https://github.com/Lekensteyn/noscript- ... 0-20160209 using makexpi.sh)
Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Fix for "FF 45 aborts initial request for new domains"

Post by Giorgio Maone »

Thank you!
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Sentinel
Junior Member
Posts: 25
Joined: Fri Oct 28, 2011 12:32 pm

Re: Fix for "FF 45 aborts initial request for new domains"

Post by Sentinel »

OK, please forgive my ignorance here but the same thing is happening to me. Ever since updating to FF 45 I have to click every link twice to go to a page. I think that that is what the original poster topic is about. I uninstalled NoScript and it works fine so I figured it must be the culprit so I came here and saw this topic.

But if I am reading the reply correctly it seems as though there is a patch or fix; am I understanding this correctly? However I do not understand how to apply or download the fix. Can someone explain what I have to do so a "not quite as savvy" person can implement it please? It would be greatly appreciated. :)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
User avatar
Giorgio Maone
Site Admin
Posts: 9454
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Fix for "FF 45 aborts initial request for new domains"

Post by Giorgio Maone »

Sentinel wrote: But if I am reading the reply correctly it seems as though there is a patch or fix; am I understanding this correctly? However I do not understand how to apply or download the fix.
Just install 3.5a11 from https://noscript.net/nsa/
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0
Sentinel
Junior Member
Posts: 25
Joined: Fri Oct 28, 2011 12:32 pm

Re: Fix for "FF 45 aborts initial request for new domains"

Post by Sentinel »

Thank you. That did it.
Oddly I tried that before posting but for some reason it was still downloading the previous version.
Got the new version now and all is well.
Very much appreciated.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0
Post Reply