Closed
Bug 9347
Opened 25 years ago
Closed 25 years ago
.js source files not loaded sequentially
Categories
(Core :: DOM: Core & HTML, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: richmond, Assigned: vidur)
References
Details
.js source files seem to be loaded concurrently, breaking any javascript calls that depend on previous scripts. Even framesets are loaded before scripts are complete. The timing is random, so errors occur in different places. In the folowing code, the init() call may fail or anything in frame.html that references parent.*() <html> <head> <script src="../util.js"></script> <script src="i18n.js"></script> <script src="../main.js"></script> <script> init('self', 'i18n["app title"]') </script> </head> <frameset border="0" frameborder="no" rows="0,*" onLoad="start()" onUnload="end ()" onResize="change()"> <frameset border="0" frameborder="no" cols="25%,25%,25%,25%"> <frame name="cfgFrame" noresize scrolling="no" src="../frame.html"> <frame name="mboxFrame" noresize scrolling="no" src="../frame.html"> <frame name="cmdFrame" noresize scrolling="no" src="../frame.html"> <frame name="msgFrame" noresize scrolling="no" src="../frame.html"> </frameset> <frame name="mailFrame" marginwidth="0" marginheight="0" noresize src="../frame.html"> </frameset> </html>
Assignee: mccabe → vidur
Component: Javascript Engine → DOM Level 0
QA Contact: cbegle → desale
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•25 years ago
|
||
JavaScript source files are loaded sequentially and the parsing process is blocked until the sourced script files is retrieved and evaluated. A small test case that I created works correctly. To fully run your test case and see what might be going on, I'm going to need your script files as well.
Please try msg54.mcom.com (User "x" and passwd "x") This seems to fail with apprunner, not viewer and the most common missing function is init()
Assignee | ||
Comment 4•25 years ago
|
||
Form submission is broken in Necko. :-( I'll need to wait till it's fixed before looking at this bug again.
Comment 5•25 years ago
|
||
HTTP Post should be working now.
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 6•25 years ago
|
||
Doesn't look like the original URL is valid any longer. I have a test case on http://blueviper/vidur/sequential that loads 11 scripts and confirms that they are loaded in sequential order. As far as I'm concerned, this bug is fixed. When I did look at the original page and talked to richmond@netscape a couple of months ago, it did seem like there were other, unrelated problems with the page. The bug was left open for richmond@netscape.com to do a bit more investigation. I don't believe he works at Netscape anymore. Either way, I believe the original claim of the bug is incorrect.
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 7•25 years ago
|
||
According to vidurs testcase, everything seems working fine. All scripts are loaded sequentially. Marking verified.
You need to log in
before you can comment on or make changes to this bug.
Description
•