ChrisB: getImageData fehler in Firefox

Beitrag lesen

Hi,

ich wäre sehr froh, wenn mir jemand helfen könnte :)

http://www.google.com/search?q=getImageData+firefox+NS_ERROR_DOM_SECURITY_ERR

das bild wird angezeigt, allerdings gibt mir Firefox folgende Fehlermeldung im catch-block aus:

[Exception... "Security error"  code: "1000" nsresult: "0x805303e8 (NS_ERROR_DOM_SECURITY_ERR)"  location: "file:///C:/Arbeit/HTML5/partikel.html Line: 30"]

die zeile 30 ist diese:

var data = context.getImageData(0, 0, 1, 1);

Das Bild, dessen Daten du zu lesen versuchst, ist wohl nicht von deiner Domain, oder das Protokoll ist ein anderes o.ä.

MfG ChrisB

--
RGB is totally confusing - I mean, at least #C0FFEE should be brown, right?