Closed Bug 197992 Opened 21 years ago Closed 21 years ago

window.open with modal attribute doesn't work anymore

Categories

(SeaMonkey :: General, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 197351

People

(Reporter: a.fiorino, Assigned: asa)

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.3) Gecko/20030312

With Mozilla 1.2.1, a window opened with
window.open(url,name,'modal=1')
used to be an application modal window, blocking all events (both keyboard and
mouse) on the opening window until the opened window is closed.
With Mozilla 1.3 (also beta versions) it doesn't work anymore: the new window
stays on top of the opener, but the user can still interact with the window below.

Reproducible: Always

Steps to Reproduce:
1. Open a simple page like this
<html>
<body>
Try to click <a href="javascript:window.alert('Test')">this</a>
<script>
window.open('http://www.mozilla.org','_blank','modal=1');
</script>
</body>
</html>
2. Try to click on the link without closing the new window
Actual Results:  
I can click on the link in the background window and an alert  popup is opened

Expected Results:  
Block the interaction with the background window until I close the new window

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