Open
Bug 371633
Opened 17 years ago
Updated 2 years ago
image.src = "javascript:theXbm["+i+"]"; url gives array 'is not defined'
Categories
(Core :: DOM: Core & HTML, defect, P5)
Tracking
()
NEW
People
(Reporter: w.langdon, Unassigned)
References
()
Details
(Keywords: regression)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.10) Gecko/20070216 Firefox/1.5.0.10 JavaScript code http://www.cs.ucl.ac.uk/staff/W.Langdon/pfeiffer.html which generates and manipulates XBM and PNG images has been working under Firefox for several years. Mysweriously in January 2007 it stopped working. I think the problem is due to a change of behaviour of javascript url when used as the .src of an image object. Cf. http://www.mozilla.org/security/announce/2006/mfsa2006-34.html I have just created a small example page which shows the problem on current version of firefox. The same code works ok on Netscape 7.2 but I cannot check that it works on Pre-January versions of Firefox. Reproducible: Always Steps to Reproduce: 1. open javascript console 2. open http://www.cs.ucl.ac.uk/staff/W.Langdon/image_javascript.html 3. Observe 10 "theXbm is not defined" in console window. http://www.cs.ucl.ac.uk/staff/W.Langdon/t.xbm is displayed BUT NOT updated Actual Results: Error: theXbm is not defined Source File: theXbm[1] Line: 1 (repeats ten times) Expected Results: No errors should appear in JavaScript Console. t.xbm should appear at bottom of page to be rapidnly replaced by XBM images 1..10 in rapid succession (should cycle indefinitely). Can control speed using faster and slower buttons.
Comment 1•17 years ago
|
||
This regressed on the 1.8 branch between 2006-12-01 and 2006-12-03. Regression of the branch patch from bug 351370. This is basically the same as bug 355365, which now also has regressed on branch, because of the branch patch of bug 351370.
Assignee: nobody → general
Status: UNCONFIRMED → NEW
Component: General → DOM
Depends on: 355365
Ever confirmed: true
Flags: blocking1.8.1.3?
Product: Firefox → Core
QA Contact: general → ian
Version: unspecified → Trunk
Updated•17 years ago
|
Keywords: regression
Comment 2•17 years ago
|
||
Duplicate of the pnglets bug, a safe branch fix doesn't seem likely without an owner.
Flags: blocking1.8.1.4? → blocking1.8.1.4-
Updated•15 years ago
|
Assignee: general → nobody
QA Contact: ian → general
Comment 3•6 years ago
|
||
https://bugzilla.mozilla.org/show_bug.cgi?id=1472046 Move all DOM bugs that haven't been updated in more than 3 years and has no one currently assigned to P5. If you have questions, please contact :mdaly.
Priority: -- → P5
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•