Closed
Bug 197424
Opened 23 years ago
Closed 23 years ago
window.open() w/ parameter of modal=yes does not open the window modally
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 197351
People
(Reporter: jmcdaniel, Assigned: jst)
Details
Attachments
(1 file)
|
490 bytes,
text/html
|
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
As of 1.3a calling window.open passing modal=yes will NOT clock the calling
window's JavaScript. Example follows & is attached also.
<html>
<script>
function test()
{
var w = window.open ("http://www.mozilla.org", "mozilla", "modal=yes");
alert ("if you see this alert before closing the opened window, your browser is
buggy (or isn't Mozilla - which is even worse!). This should be fine in 1.2.1 &
buggy in 1.3 (alpha -> final).")
}
</script>
<input type=button onclick="test()" value="launch mozilla.org in a modal window
(or not) - if you see an alert BEFORE closing the window, you have the bug.">
</html>
Reproducible: Always
Steps to Reproduce:
see code snipit
Actual Results:
url is opened in a new window (good)
alert immediatly shows (bad) - code continued to execute in the parent window.
Expected Results:
waited for the user to close the "modal" window prior to allowing the JavaScript
to continue execution (the alert being shown)
fine on 1.2.1 and MANY previous builds (I have been developing an application
for a couple of years that uses this functionality and it has always worked before)
Comment 2•23 years ago
|
||
Please, check for previously reported bugs, specially with a release build all
such "bugs" are already known.
*** This bug has been marked as a duplicate of 197351 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•