Page 1 of 1

abort netbios lookup when user hits ESC key

Posted: Sat Jan 18, 2014 12:41 am
by ultramage
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)

Re: abort netbios lookup when user hits ESC key

Posted: Thu Nov 13, 2014 1:07 pm
by ultramage
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.

Re: abort netbios lookup when user hits ESC key

Posted: Thu Nov 13, 2014 3:34 pm
by therube
(Known issue. There exists another thread on this, but I'm not finding it at the moment.)

Re: abort netbios lookup when user hits ESC key

Posted: Thu Nov 13, 2014 8:41 pm
by dhouwn
I believe most of the NetBIOS stuff can be deactivated (on the OS-level) somehow.