Closed Bug 426691 Opened 16 years ago Closed 16 years ago

Canvas Security Error on Local Files

Categories

(Core :: Graphics: Canvas2D, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 444641

People

(Reporter: jeresig, Unassigned)

References

()

Details

A security error is thrown when loading an image into a canvas element, then attempting to extract the image data back out using getImageData - even though everything is done on the same domain (in this case, the local domain).

Works perfectly when hosted on a server.
This bug is causing considerable problems with users of Canvas libraries (notably Processing.js). I'm receiving a constant stream of questions and complaints, at this point, concerning this bug. Is there any way we could see a fix come in for 1.9.0.2?
Flags: wanted1.9.0.x?
This is an issue with file:// principals; this got changed, and I'm not sure what the right fix is.  I'd ask bz next week (or remind me and I can do it).
Assignee: vladimir → nobody
Component: DOM: Mozilla Extensions → Layout: Canvas
QA Contact: general → layout.canvas
Boris, any thoughts here?
This is the same issue as bug 444641 -- the easiest is to set the pref that boris mentions in bug 444641 comment #4.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Flags: wanted1.9.0.x?
You need to log in before you can comment on or make changes to this bug.