Closed Bug 129822 Opened 23 years ago Closed 23 years ago

"Allow webpages to raise or lower windows" makes window contents blank

Categories

(SeaMonkey :: General, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 122866

People

(Reporter: eliasen, Assigned: asa)

References

()

Details

From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.8) Gecko/20020204
BuildID:    2002020406 (this is the 0.9.8 release)

As I understand it, unchecking the preference Advanced | Scripts & Windows |
Allow Scripts To Open Unrequested Windows should block pop-up ads but allow
user-clicked links to open new windows as always.  It blocks ads, but sometimes
pops up an empty window after you click a link.


Reproducible: Always
Steps to Reproduce:
1.  Uncheck the preference Advanced | Scripts & Windows | Allow Scripts To Open
Unrequested Windows

2.  Go to http://www.tvguide.com/listings/
   (the first time you visit, you'll have to choose your location.)
  
3.  Click the name of any TV show in the listing.  This normally pops up a new
window containing details of the show (using JavaScript.)

Actual Results:  A new window pops up, but it's empty!

Expected Results:  As I understand it, unchecking the preference should continue
to make the link work normally, as it's a user-initiated action.
wfm using build 2002030803 on Win2k, and I block 'unrequested windows'.
The popup window when clicking on a program is blank when first opened, then it
loads content correctly.
I downloaded 2002030803 and had the same problem... played around with it for a
while.  Suddenly, it started to work and I traced it down to a different
preference.  

The problem actually occurs because of the "Allow webpages to raise or lower
windows" preference in the same location.  If this is unchecked, the window will
be created but will be empty.  I think that's the wrong behavior.  The window
should just refuse to be raised/lowered, and not silently break loading entirely.

I'm attempting to change the title of this bug to reflect the true problem.

But it's finicky.  You HAVE to exit Mozilla entirely and restart for this
preference to take effect.   That's not documented and should be.

So, to reproduce:

Change step 1 in the "steps to reproduce" to read "Uncheck the preference
Advanced | Scripts & Windows | Allow Webpages to Raise and Lower Windows"

Insert a new step 1.5 which reads "Exit Mozilla entirely (this is important) and
restart it for the preference change to take effect."

Summary: "Allow scripts to Open Unrequested Windows" makes window contents blank → "Allow webpages to raise or lower windows" makes window contents blank
resolving as dup of bug 122866 (by way of bug 121331)

*** This bug has been marked as a duplicate of 122866 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.