Closed Bug 304093 Opened 19 years ago Closed 19 years ago

popup blank when window.open(...), document.write used

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: bugzilla33, Unassigned)

References

()

Details

(Keywords: regression, testcase)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050809 Firefox/1.0+

JavaScript can't be exetuted when window.open(...) used

Reproducible: Always

Steps to Reproduce:
1. Run http://pc44.pl/goorol/1.htm on Mozilla/5.0 (Windows; U; Windows NT 5.1; 
en-US; rv:1.8b4) Gecko/20050809 Firefox/1.0+
2. Click link to open new window;
3. Note that contents in new opened window is empty. JavaScript crush !!!
4. View page source of opened window (2.htm) and think why JS doesn't work 
good...;
5. Click 'Reload current page' button on 'Navigation Toolbar' on 2.htm. Now JS 
doesn't crush.;

6. Repeat all steps again on Firefox 1.0.6 or IE 6.0 or Opera 8.0 to see 
working without bug...
Actual Results:  
empty page (opened window)

Expected Results:  
'hello' word on page
Summary: JS crush when window.open(...) used. → JS crash when window.open(...) used.
OS: Windows XP → All
Hardware: PC → All
Whiteboard: dupeme
Version: unspecified → Trunk
Works with 2005-07-30 build, fails with 2005-07-31 build, probably fall-out from
bug 296639.
Assignee: nobody → general
Blocks: splitwindows
Status: UNCONFIRMED → NEW
Component: General → DOM
Ever confirmed: true
Keywords: regression, testcase
Product: Firefox → Core
QA Contact: general → ian
dupe of bug 303981 ?
This bug occur also in Gecko/20050810

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050810
Firefox/1.0+
This bug occur also in Gecko/20050811

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050811
Firefox/1.0+
Depends on: 303981
This bug occur also in Gecko/20050812

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050812
Firefox/1.0+
lunter@interia.pl, please stop commenting saying that this bug still occurs in
the latest builds. We are aware of the problem and are working to fix it. It is
not necessary to reiterate that the problem still exists each day. 
I can confirm that this bug occur also in Gecko/20050812

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050812
Firefox/1.0+


Sorry, guys - couldn't resist :-P
So is the bug here that you don't see the "Hello world" in the new window, or
does the browser actually crash for you? I've never seen a crash here, if you
do, please submit talkback data so we can have a chance to figure out what's
going on here.
Johnny Stenback, Firefox doesn't crush but Firefox can't load and diplay 
the "Hello world" until you click Reload button...

---

This bug occura also in Gecko/20050818

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050818
Firefox/1.0+
No crash involved here, just that the popup window is showing up blank,
initially is the bug.
The popup window consist of:
<script>
 document.write('hello')
</script>
Summary: JS crash when window.open(...) used. → popup blank when window.open(...), document.write used
FIXED: 2005-08-19-14-mozilla1.8
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b4) Gecko/20050819
Firefox/1.0+ ID:2005081913

confirmed
Whiteboard: dupeme
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.