Closed Bug 462496 Opened 17 years ago Closed 17 years ago

Loading/Executing of a local javascript script (file://) stops further rendering

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 327796

People

(Reporter: matthias.neubauer, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081031 Minefield/3.1b2pre Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b2pre) Gecko/20081031 Minefield/3.1b2pre When opening a local html file which again loads a local javascript file using a script tag (with attribute src="A.js"), the browser stops doing anything after loading the script. I.e nothing is rendered at all after the script tag. Reproducible: Always Steps to Reproduce: 1. open local file "A.html" by starting firefox with "firefox A.html" or by entering "file://my/local/path/A.html" into the running firefox instance 2. press "OK" on the first first pop-up "INLIN" that appears Actual Results: NOTHING happens after exectuting the first script tag. i.e. the page stays blank after the portion before the script tags. Expected Results: A completly rendered page, whith finale tag * I will upload two files "A.html" and "A.js" are needed to reproduce the behavior described above. * Same happens under Windows XP with a current Firefox 3.0.3.
Attached file Demo Page 'A.html'
You are missing the script end tag <script src="A.js" type="text/javascript"> should be <script src="A.js" type="text/javascript"></script> So I'm pretty sure this is invalid.
After posting the report, I also realized that omitting the closing script tag is invalid following the official html 4.01 spec. Note that firefox 2 accepts the page anyhow. So this is something that worked before but doesn't work anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: