Closed
Bug 1172
Opened 26 years ago
Closed 26 years ago
frames dont work with javascript
Categories
(Core :: DOM: Core & HTML, defect, P1)
Tracking
()
VERIFIED
FIXED
M6
People
(Reporter: jty, Assigned: vidur)
References
()
Details
When trying to output to a frame in javascript, nothing is printed..
Assignee | ||
Updated•26 years ago
|
Assignee: karnaze → vidur
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•26 years ago
|
||
The problem is actually unrelated to frames. We're still not dealing with
document.writes that are "out-of-line" i.e. after the document has initially
loaded.
Severity: normal → major
Component: HTMLFrames → DOM
Priority: P2 → P1
QA Contact: 4082
Hardware: PC → All
This site, http://www.citec.fi/~jty/test1.html, now crashes all platforms, with
Feb 2 Seamonkey build. Upped priority, platform to all and component to DOM, as
it appears to be JS and not frames.
mac: PowerPC illegal instruction
Calling chain using A6/R1 links
Back chain ISA Caller
00000000 PPC 0AE492D8
030510C0 PPC 0AE3FDE4
03051060 PPC 0AE3F644
03051020 PPC 0AC69CC8 nsMacMessageSink::IsRaptorWindow(GrafPort*)+00E6C
03050F40 PPC 0AC6A200 nsMacMessageSink::IsRaptorWindow(GrafPort*)+013A4
03050EE0 PPC 0ADBE7C4 Repeater::DoRepeaters(const EventRecord&)+00030
03050EA0 PPC 0ADBAF48 TimerPeriodical::RepeatAction(const EventRecord&)+
00048
03050E50 PPC 0ADBAC00 TimerImpl::Fire()+00024
03050E10 PPC 0AD42710 NS_OpenURL(nsIURL*, nsIInputStream**,
nsIStreamListener*)+0016C
03050DD0 PPC 0AD238F0 NET_RegisterProtocolImplementation+05978
03050D80 PPC 0AD1FB20 NET_RegisterProtocolImplementation+01BA8
030509F0 PPC 0AD3C308 TimingElapsedTimeToString+17B18
03050580 PPC 0AD3B880 TimingElapsedTimeToString+17090
030504E0 PPC 0AD161E0
03050480 PPC 0AD45198 NS_ShutdownINetService+02928
03050430 PPC 0A9EC818
030503E0 PPC 0AA083B0 NS_NewOtherHTMLDTD(nsIDTD**)+0815C
03050380 PPC 0AA07F90 NS_NewOtherHTMLDTD(nsIDTD**)+07D3C
03050330 PPC 0AA08090 NS_NewOtherHTMLDTD(nsIDTD**)+07E3C
030502F0 PPC 0A9FC6B4 NS_NewNavHTMLDTD(nsIDTD**)+00A7C
030502A0 PPC 0A9FC938 NS_NewNavHTMLDTD(nsIDTD**)+00D00
03050250 PPC 0AA06EF4 NS_NewOtherHTMLDTD(nsIDTD**)+06CA0
03050210 PPC 0A9FBD74 NS_NewNavHTMLDTD(nsIDTD**)+0013C
030501C0 PPC 0A9FD2F4 NS_NewNavHTMLDTD(nsIDTD**)+016BC
03050100 PPC 0A9FCFE0 NS_NewNavHTMLDTD(nsIDTD**)+013A8
03050040 PPC 0A9FF2D8 NS_NewNavHTMLDTD(nsIDTD**)+036A0
0304FFE0 PPC 0A9FD920 NS_NewNavHTMLDTD(nsIDTD**)+01CE8
0304FF90 PPC 0A9FF890 NS_NewNavHTMLDTD(nsIDTD**)+03C58
0304FF50 PPC 0AAA623C nsGlobalVariables::Release()+080AC
0304FF10 PPC 0AAA8690 nsGlobalVariables::Release()+0A500
0304FD60 PPC 0AAA8270 nsGlobalVariables::Release()+0A0E0
0304FCA0 PPC 0AA276A8 NS_NewScriptElement+00574
0304FC40 PPC 0ACBE720 JS_EvaluateUCScriptForPrincipals+0004C
0304FBF0 PPC 0ACD3C80 js_ForceGC+015A8
0304FB50 PPC 0ACD9090 js_ForceGC+069B8
0304F930 PPC 0AA29A64 NS_NewScriptText+002DC
Return addresses on the stack
Stack Addr Frame Addr ISA Caller
0304FB58 PPC 0ACD3C80 js_ForceGC+015A8
0304FAF8 PPC 0ACBDC80 JS_DefineFunction+00154
0304FAF0 68K 0304FB9E
0304FAEC 68K 0288C176
0304FAE8 68K 027AC1F6
0304FAB8 0304FAB0 PPC 0ACCA1F8 js_FinishCodeGenerator+00088
0304FA98 0304FA90 PPC 0ACF648C js_NewScriptFromCG+000A4
0304FA88 68K 0288C176
0304FA48 0304FA40 PPC 0ACC2CE0 js_InitAtomMap+00068
0304FA2C 68K 0288C176
0304FA08 0304FA00 PPC 0ACBB704 JS_malloc+00024
0304F9F8 0304F9F0 PPC 0ACBB7EC JS_strdup+00030
0304F9C8 0304F9C0 PPC 0AE2EF10 malloc+00040
0304F988 0304F980 PPC 0ACF4804 js_CloseTokenStream+02404
0304F978 0304F970 PPC 0AE2EF10 malloc+00040
0304F938 0304F930 PPC 0ACD9090 js_ForceGC+069B8
0304F920 68K 0288C176
0304F8E8 0304F8E0 PPC 0ACDAD24 js_GetSlotWhileLocked+00038
0304F8D0 0304F8CC 68K 0288C176
0304F8B8 0304F8B0 PPC 0ACE0C04 js_FindProperty+00690
0304F8A8 0304F8A0 PPC 0ACDB230 js_InitContextForLocking+0024C
0304F898 0304F890 PPC 0ACDB1EC js_InitContextForLocking+00208
0304F868 0304F860 PPC 0ACDB164 js_InitContextForLocking+00180
0304F850 68K 0288C176
0304F828 0304F820 PPC 0ACDB230 js_InitContextForLocking+0024C
0304F818 0304F810 PPC 0ACDB1EC js_InitContextForLocking+00208
0304F808 0304F800 PPC 0AA59E38 NET_InitJavaScriptProtocol()+00254
0304F7C8 0304F7C0 PPC 0ADB74E0 nsAutoString::~nsAutoString()+00044
0304F7A8 0304F7A0 PPC 0AA29A64 NS_NewScriptText+002DC
0304F778 0304F770 PPC 0ACDAD24 js_GetSlotWhileLocked+00038
0304F768 0304F760 PPC 0ACBBEB8 JS_GetPrivate+00010
PC: Illegal instruction, invalid page fault in JSDOM.DLL
qa contact to gerardok@netscape.com
Assignee | ||
Updated•26 years ago
|
Target Milestone: M5 → M6
Assignee | ||
Comment 7•26 years ago
|
||
It doesn't crash, but there's still a problem because javascript: URLs are
broken. My current plan is to defer fixing it until the new netlib comes in.
Assignee | ||
Comment 8•26 years ago
|
||
Works if the src of the frame f2 is "about:blank". The javascript: problems is
addressed by bug 1646.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Updated•26 years ago
|
Status: RESOLVED → VERIFIED
Comment 9•26 years ago
|
||
Yes if we change the src of frame f2 to "about:blank" then it works fine.
So here is test code for that.
<html>
<head>
<script>
var emptyframe="<html></html>";
</script>
<title>proving that frames dont work with JS on NGLayout</title>
<frameset cols="50%,50%">
<frame name="f1" src="test1.html">
<frame name="f2" src="about:blank">
</frameset>
</head>
<body>
<p> kind of a null body</p>
</body>
This code works fine. Since javascript: URLs problem is reffered in bug 1646,
marking this bug as verified.
Comment 10•18 years ago
|
||
there is no record of the test and the URI is not in archive.org. denying in-testsuite :/
Flags: in-testsuite-
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•