(ftp: or file:) url spews many blank browser windows




17 years ago
17 years ago


(Reporter: sairuh (rarely reading bugmail), Assigned: dougt)


({regression, smoketest})

regression, smoketest

Firefox Tracking Flags

(Not tracked)



(1 attachment)



17 years ago
not sure if this is the right component --found this on a 7:15pm-ish debug build
on linux. basically, if i try to open an ftp url from either the URL bar or the
Open Web Location dialog, mozilla opens up a bunch of blank browser
windows...indefinitely. (well, i hit ^C in the console to stop it. :)

to repro:
1. go to the URL bar --or, open the Open Web Location dialog-- and enter
2. hit enter.

*Important* clicking on a link with an ftp url will *not* exhibit this problem
[doing that works fine].

result: watch the windows open. get the following console errors each time a
window opened:

Enabling Quirk StyleSheet
JavaScript error: 
chrome://communicator/content/securityUI.js line 30:
Components.classes['@mozilla.org/secure_browser_ui;1'] has no properties
Error loading URL ftp://ftp.mozilla.org/ : 2152398850

anyone else see this?

Comment 1

17 years ago
spoke w/jag --the console error above prolly isn't relevant, but i filed bug
76292 it.

anyhow, i'll check to see if this occurs with a verification build...
Keywords: nsbeta1, nsdogfood, regression

Comment 2

17 years ago
not a problem with the 2001.04.16.10 verification build.

Comment 3

17 years ago
*** Bug 76333 has been marked as a duplicate of this bug. ***

Comment 4

17 years ago
i wonder if we can get an extension on 0.9.. dupe was filed as smoketest 
Severity: critical → blocker
Keywords: smoketest

Comment 5

17 years ago
This doesn't seam limited to ftp URLs, I also see this if I enter a file:// URL
into the urlbar.

This is with 2001041621 on Linux.

Comment 6

17 years ago
This works for me on my own opt build from 2001-04-17, so it might have been fixed.

Comment 7

17 years ago
seen on commercial builds:

windows 2001-04-17-06-trunk
mac 2001-04-17-04-trunk

Comment 8

17 years ago
I see this on the pre-8AM win32 build from today - 2001-04-17-06-trunk

Comment 9

17 years ago
Spam URIloader/download folks.

Comment 10

17 years ago
I just saw this on a Mac build from 4am *yesterday*.  I ended up having to bail 
from the debugger.  It was awful!  I *think* I produced it by loading 
"thrify.com" (note: typo!)
OS: Linux → All
Hardware: PC → All
Summary: opening ftp url spews many blank browser windows → opening url spews many blank browser windows

Comment 12

17 years ago
rebuilding tree now.  since it is both ftp and file, this may be a directory
viewer problem.  Can anyone with a build from yesterday back out this change:

cvs update -j1.73 -j1.72 mozilla/xpfe/components/directory/nsDirectoryViewer.cpp

Comment 13

17 years ago
I don't think its me - file:// urls don't go through nsDirectoryViewer.cpp. I'm
rebuilding now, but I patched nsCRT.h, so it'll be another half hour to an hour
or so.

Comment 14

17 years ago
I backed myself out and still see this.

When I try to open a file:// uri using the urlbar I get:

The link to file:/// was blocked by the security manager.
Remote content may not link to local content.
Error loading URL file:/// : 2152398850

on the console, (before the never-ending windows) which may be a separate bug,
but is definately wrong, and a smoketest blocker as well.

so I'm ccing mstoltz anyway, due to the security patches checked in yesterday :)

Comment 15

17 years ago
mail sent to hook.
FWIW, I see lots of errors (maybe one for each window) of:

Error loading URL file:///home/dbaron/webtest/ : 2152398850

js> Number(2152398850).toString(16)

and 0x804b0002 is (I think) NS_BINDING_ABORTED.

Comment 17

17 years ago
On a mac build from yesterday, I simply see a failure to load the FTP url:
Error loading URL ftp://ftp.mozilla.org/ : 2152398849
but no window spawning.

Comment 18

17 years ago
In classic skin, I get:

###!!! ASSERTION: Error scroll port has too many children: 'count <= 1', file 
nsScrollPortView.cpp, line 415
Error loading URL ftp://ftp.mozilla.org/ : 2152398850
I have a Windows build from yesterday which does not have the problem and a mac
build from today which does. Starting with the URILoader, I'll see where they

Comment 20

17 years ago
Created attachment 31198 [details] [diff] [review]
Fixes problem. v1

Comment 21

17 years ago
I need a review.

Comment 22

17 years ago
r=valeski; thanks doug!

Comment 23

17 years ago
fix is in.
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 24

17 years ago
*** Bug 76377 has been marked as a duplicate of this bug. ***
*** Bug 76395 has been marked as a duplicate of this bug. ***
*** Bug 76473 has been marked as a duplicate of this bug. ***
verified fixed on commercial builds:

windows 2001-04-18-06-trunk
linux 2001-04-18-05-trunk

Comment 28

17 years ago
*** Bug 76612 has been marked as a duplicate of this bug. ***
*** Bug 77409 has been marked as a duplicate of this bug. ***

Comment 30

17 years ago
*** Bug 76473 has been marked as a duplicate of this bug. ***

Comment 31

17 years ago
-> networking, changed summary for accuracy
Component: Networking: FTP → Networking
Summary: opening url spews many blank browser windows → (ftp: or file:) url spews many blank browser windows

Comment 32

17 years ago
*** Bug 77111 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.