Closed Bug 297529 Opened 19 years ago Closed 19 years ago

ecmascript function not declared correctly

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 62485

People

(Reporter: bastien, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+

In this W3C example, a javascript error occures : a function is not declared.
When changing <script type="text/ecmascript"> to <script
type="text/javascript">, this example works.

Reproducible: Always

Steps to Reproduce:
1. Load the page
2. Click on the circle
3. Look into the JS console for the bug

Actual Results:  
Error: circle_clic is not defined

Expected Results:  
The circle grows

it is because ecmascript/text is not reconized as a javascript/text

*** This bug has been marked as a duplicate of 62485 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.