Canvas Security Error on Local Files

RESOLVED DUPLICATE of bug 444641

Status

()

RESOLVED DUPLICATE of bug 444641
11 years ago
10 years ago

People

(Reporter: jeresig, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

11 years ago
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.
(Reporter)

Comment 1

10 years ago
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
Last Resolved: 10 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 444641
Flags: wanted1.9.0.x?
You need to log in before you can comment on or make changes to this bug.