Closed Bug 583700 Opened 14 years ago Closed 1 year ago

"setAttribute is not a function" error in JavaScript

Categories

(Firefox :: General, defect)

3.6 Branch
x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bugzilla, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.2.8) Gecko/20100723 Ubuntu/9.10 (karmic) Firefox/3.6.8 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; nl; rv:1.9.2.8) Gecko/20100723 Ubuntu/9.10 (karmic) Firefox/3.6.8 A Flash application seems to fail because a JavaScript error occurs. After an initial page load, the following error pops up: _obj.setAttribute is not a function, where "_obj" obviously is a variable. Strangely, the error does not show up on the first page load. (See below for steps how to reproduce.) Reproducible: Always Steps to Reproduce: 1. Go to http://v1.natuurkundeoveral.epn.nl/ (site is in Dutch) 2. Click the "start" button 3. Go to "1.1 Inleiding -> Instaptoets" 4. Click the "start" button, three multiple choice questions appear (thus this works) 5. Click on the round button marked "2". This should take you to the the next question: this does not work, but no JavaScript error. 6. Go back to question 1 (round button marked "1"): the question does not load and the JavaScript error appears. Any other question gives the same result. Actual Results: After step 4, no flash movies are loaded. This seems to relate to the JavaScript error, as in the particular part of the code the flash animations are loaded which set up the multiple choice questions. Expected Results: Obviously, I expect the flash animations to be loaded. I have tested the above with a clean (i.e. new) Firefox profile, no add-ons installed. Only the relevant plugins. I have also tested in Opera on Linux, version 10.60. Opera does not give the reported JavaScript error. Firefox on MS Windows XP gives the same result as Firefox on Linux.
Version: unspecified → 3.6 Branch
Severity: normal → S3

Unable to reproduce

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.