Closed
Bug 758640
Opened 13 years ago
Closed 13 years ago
Treat text/jscript (and others, per HTML5) as a synonym for text/javascript
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 672814
People
(Reporter: boterogomezalex, Unassigned)
Details
Attachments
(2 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Build ID: 20120420145725
Steps to reproduce:
I have created a web page that initialize a javascript object with certain information, later after loading the web page FireFox can't read any property, a proved that page in IE, Opera, Safari and Chrome and it works perfectly but it doesn't work in FF.
Actual results:
It seems that FF never execute the javascript code, for instance, I put alert messages before and after and but those messages but never poped up, the variable used never is initialized and it causes that the page doesn't work.
the attachment is the whole page without extern files, but you can go the http://omega.compuhora.com.co/alphasig_testing/
Expected results:
the object have to be initialized and the page works normally.
Reporter | ||
Updated•13 years ago
|
OS: Windows 7 → All
Hardware: x86_64 → All
Reporter | ||
Comment 1•13 years ago
|
||
this is the error message
Reporter | ||
Updated•13 years ago
|
Attachment #627237 -
Attachment mime type: text/plain → text/html
Comment 2•13 years ago
|
||
The datasServidor variable is initialized in a script that looks like this:
<script type="text/jscript" language="javascript">
You probably want type="text/javascript" there, since "jscript" is technically only implemented by IE... Similar in some of the other script tags on the page.
That said, HTML5 seems to have given up on that and has a nice long list of things that browsers should pretend are actually JavaScript, at http://www.whatwg.org/specs/web-apps/current-work/multipage/scripting-1.html#scriptingLanguages
Ms2ger, want to patch? ;)
Assignee: general → nobody
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM
Ever confirmed: true
QA Contact: general → general
Summary: FF can't initialize a javascript object → Treat text/jscript (and others, per HTML5) as a synonym for text/javascript
Comment 3•13 years ago
|
||
And hey, we had a bug on this already.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
Assignee | ||
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
•