Open
Bug 180459
Opened 22 years ago
Updated 2 years ago
uncaught exception from window.sizeToContent() on frameset
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect, P2)
Tracking
()
NEW
Future
People
(Reporter: tuukka.tolvanen, Unassigned)
Details
(Keywords: testcase)
Attachments
(3 files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021116 Phoenix/0.4 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021116 Phoenix/0.4 If a document being viewed in the browser window is a frameset, calling window.sizeToContent() crashes. Mozilla trunk cvs 2002-11-15 on linux. Reproducible: Always Steps to Reproduce: 1. load testcase 2. click on link Actual Results: Crash Expected Results: No crash. A resize, if that's feasible, would be nice too.
Reporter | ||
Comment 1•22 years ago
|
||
Reporter | ||
Comment 2•22 years ago
|
||
Running a debug build it goes slow enough to see the window grow rather large, before Mozilla dies.
Comment 3•22 years ago
|
||
with linux trunk build 20021114 and current CVS, I get a hang
Comment 4•22 years ago
|
||
This is layout
Assignee: jst → frame
Component: DOM Level 0 → Layout: HTML Frames
QA Contact: desale → amar
Comment 5•22 years ago
|
||
This works in Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2b) Gecko/20021016. So regression
Keywords: regression
Reporter | ||
Comment 6•22 years ago
|
||
Frank, are you seeing the abnormal exit in a later build? I tested 2002-10-14-13-NATIVE_THEME, 1.2b, 2002-10-10-11-1.0, 1.0 and they all die on the testcase -- doesn't look like a regression to me (on linux)
Comment 7•22 years ago
|
||
old builds (0.9.8) don't do anything the first time I click, but they hang the second time. I'm guessing this might just be linux-only.
Keywords: regression
Comment 8•22 years ago
|
||
hm probably you're right, it also doesn't crash on Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3a) Gecko/20021113 I think this would be then a linux-only issue
Updated•22 years ago
|
Priority: -- → P2
Updated•22 years ago
|
Target Milestone: --- → Future
Comment 9•19 years ago
|
||
Is this still an issue?
Reporter | ||
Comment 10•19 years ago
|
||
The testcase link doesn't seem to work as intended anymore -- just javascript:window.sizeToContent() in the url bar instead. - 1.0.4 gtk2 m.o build crashes on testcase - 1.0.4 win98 wfm (as in, no crash / hang), no exception - trunk gtk2 opt and debug wfm (as in, no crash / hang), but yield uncaught exception on js console: Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMWindow.sizeToContent]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: javascript:window.sizeToContent(); :: <TOP_LEVEL> :: line 1" data: no] Morphing bug to reflect the trunk issue.
Updated•15 years ago
|
Assignee: layout.html-frames → nobody
QA Contact: amar → layout.html-frames
Updated•6 years ago
|
Product: Core → Core Graveyard
Assignee | ||
Updated•6 years ago
|
Component: Layout: HTML Frames → Layout: Images
Product: Core Graveyard → Core
Updated•2 years ago
|
Severity: minor → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•