"The document contains no data." alert steals focus




Event Handling
15 years ago
9 years ago


(Reporter: Boris 'pi' Piwinger, Unassigned)



Firefox Tracking Flags

(Not tracked)




15 years ago
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6a) Gecko/20030924

Actually, this is a pretty old bug, so this might be a dupe, but I can neither
find it by searching nor by looking at tracking bug 88810 or bug 140346.

When a connection times out (telnet shows in the particular case that you can
open a connection, but after sending the request there is no answer) we get an
alert "The document contains no data." (instead of saying timeout!) which brings
the browser window which wants to load the page into foreground.

I assume other alerts do NOT steal focus for you?

Comment 2

15 years ago
I don't recall another one recently, but I would not say it does not happen. If
you have something I could test, let me know.

Could try loading http://foo.example.com/ in a window that's not on top (that
should give a DNS error alert).

Comment 4

15 years ago
Yes, that alert also steals focus.

Sounds to me like your window manager brings up windows when a modal dialog is
parented to them... (test with other windowmanagers to make sure?)

Comment 6

15 years ago
I use KDE. So I tried windowmaker which also brought the alert to the foreground.

I suggest trying twm or fvwm2, which don't try to guess things for you...

Comment 8

15 years ago
Sorry, I don't have them on this system.

Only KDE, Gnome (currently broken), Windowmaker and failsafe.


Comment 9

14 years ago
How do I fix this bug? For some reason when I go to certain pages (i.e.
eq.castersrealm.com) it gives me an alert "The Document Contains no data"

Comment 10

14 years ago
This alert is blocking access to my e-mail page at myway.com. It seemed to start
after I loaded MS SP2. The alert appears using both Firefox and Mozilla. 
Assignee: events → nobody
QA Contact: ian → events
You need to log in before you can comment on or make changes to this bug.