abort netbios lookup when user hits ESC key

Bug reports and enhancement requests
Post Reply
ultramage
Posts: 9
Joined: Thu May 23, 2013 3:12 pm

abort netbios lookup when user hits ESC key

Post by ultramage » Sat Jan 18, 2014 12:41 am

if I type something short in the address bar, Firefox will attempt DNS resolution, failing that it will try NetBios resolution, and if that fails it'll redirect to a search engine. This process can be aborted at any time using the ESC key.

I found that when the NoScript addon is enabled, if I hit the ESC key, the tab title changes from '@ Connecting' back to 'New Tab', but after a few seconds Firefox goes to the search engine anyway, and it will replace whatever page is currently loaded in the tab and whatever I typed into the address bar in the meantime.

I encounter this problem pretty often because Firefox's url autocomplete feature is asynchronous and sometimes does not kick in fast enough (maybe cold start, or maybe if that part of memory is paged out at the moment). If I want to go to 'example.com' and I punch in 'ex' + ENTER too quickly, Firefox will try to resolve 'ex' as the server name.

(PS: this has been happening for quite some time now)
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:26.0) Gecko/20100101 Firefox/26.0

ultramage
Posts: 9
Joined: Thu May 23, 2013 3:12 pm

Re: abort netbios lookup when user hits ESC key

Post by ultramage » Thu Nov 13, 2014 1:07 pm

Steps to reproduce:
0. Clean Windows XP VirtualPC VM.
1. Install Firefox 33 with default settings
2. Addons -> NoScript 2.6.9.3
3. about:config -> keyword.enabled=false, browser.fixup.alternate.enabled=false
4. type 'z' into urlbar, press Enter, then press Esc, then wait until NetBIOS lookup times out.

Without NoScript: request is cancelled, tab stays blank
With NoScript: request appears cancelled, but after a few seconds the "Server not found" page is shown, replacing whatever's currently in the tab.

PS: This thing is ancient. I was able to replicate this with firefox 3.0 and noscript 2.0.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:32.0) Gecko/20100101 Firefox/32.0

User avatar
therube
Ambassador
Posts: 7431
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: abort netbios lookup when user hits ESC key

Post by therube » Thu Nov 13, 2014 3:34 pm

(Known issue. There exists another thread on this, but I'm not finding it at the moment.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 5.1; rv:33.0) Gecko/20100101 SeaMonkey/2.30

dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: abort netbios lookup when user hits ESC key

Post by dhouwn » Thu Nov 13, 2014 8:41 pm

I believe most of the NetBIOS stuff can be deactivated (on the OS-level) somehow.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0

Post Reply