Open Bug 1186389 Opened 9 years ago Updated 3 years ago

Error not Displayed for Failure to load JavaScript with no closing tag </script>

Categories

(Core :: DOM: HTML Parser, defect, P5)

31 Branch
defect

Tracking

()

People

(Reporter: martin.vahi, Unassigned)

Details

(Keywords: helpwanted)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0
Build ID: 20150701031438

Steps to reproduce:

Load a page.


Actual results:

If the JavaScript source is loaded by

<script type="text/javascript" src="./the_source.js"/>

then the_source.js is not executed and no error messages are shown.
As of 2015_07 a dirty workaround is based on IDE intelligence.

    https://youtrack.jetbrains.com/issue/WEB-17347
    
but a correct solution is to fix it at web browsers.


Expected results:

Correct case: the_source.js should have been loaded and executed.

Dirty compromise: JavaScript console displays an exception that explains, why the_source.js was not loaded.
Component: Untriaged → HTML: Parser
Product: Firefox → Core
Summary: Error not Displayed for Failure to load JavaScript → Error not Displayed for Failure to load JavaScript with no closing tag </script>

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: helpwanted
You need to log in before you can comment on or make changes to this bug.