Closed
Bug 702900
Opened 13 years ago
Closed 13 years ago
img crossorigin attribute affect plain img tag
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: alice0775, Unassigned)
References
Details
(Keywords: regression)
Attachments
(2 files)
Build Identifier: http://hg.mozilla.org/mozilla-central/rev/470d6053b749 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0a1) Gecko/20111112 Firefox/11.0a1 ID:20111112031541 img crossorigin attribute affect plain img tag. This does not happen on Google chrome 17.0.939.0 canary build. Reproducible: Always Steps to Reproduce: 1 Start Firefox with clean profile 2 Open sample html Actual Results: No image on canvas and plain img tag both. Expected Results: plain img tag should be shown. Regression window(m-c) Woirks: http://hg.mozilla.org/mozilla-central/rev/752646115b7e Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110715 Firefox/8.0a1 ID:20110717120520 Fails: http://hg.mozilla.org/mozilla-central/rev/a0372b031aac Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110718 Firefox/8.0a1 ID:20110718030807 Pushlog; http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=752646115b7e&tochange=a0372b031aac Regression window(m-i) Woirks: http://hg.mozilla.org/integration/mozilla-inbound/rev/de00c2c0f208 Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110717 Firefox/8.0a1 ID:20110717031304 Fails: http://hg.mozilla.org/integration/mozilla-inbound/rev/86dd8454de0b Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0a1) Gecko/20110717 Firefox/8.0a1 ID:20110717104358 Pushlog; http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=de00c2c0f208&tochange=86dd8454de0b Suspected: Bug 671906 - Cache logic for CORS in imagelib seems to be broken
Reporter | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Our behavior here is correct. WebKit just implemented @crossorigin incorrectly initially. See https://bugs.webkit.org/show_bug.cgi?id=69732 which they only fixed recently; it sounds like Chrome hasn't picked this up yet.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
Comment 3•9 years ago
|
||
This also effects image data URIs, which does not make sense. There the crossorigin attribute should simply be ignored imho. The following image is not displayed: <!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <title></title> </head> <body> <img crossorigin="anonymous" src="data:image/png;base64,R0lGODlhCwALANUAAKt5DN/ETtq+fN+/cvHkxNrBjd/MpriHEvrxctO4KfXpMrSNQNzJpffw4Pz59P/uJP79/NCzGtSoL+vZIbePQNi1Yf/bINrUY+vUaNrTdceXHdrKVcWgGTk0Fv/gKv/vOP/4ncmTEAUEAf/4gv/wONS1J0A8HRQRBP/hKtOyJz04Gv/dKZ5sCf/3HP///wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5BAEAAC4ALAAAAAALAAsAAAZYQJfQNQgNhkiCBCQhIIUVzAhTeTY0GVNG00AKAhfVJSAYOg6ITWeDODiEhRQpcUp8SgUXBKBArf4eCgAQBhwPFhEiERYPHAYUEy2Sky0TFAwLLJqbLAsMQQA7"> </body> </html> Related https://bugzilla.mozilla.org/show_bug.cgi?id=1109693
Comment 4•9 years ago
|
||
> There the crossorigin attribute should simply be ignored imho.
If you think the spec should get changed, please do raise a spec issue. But that's not how "crossorigin" is defined to work right now.
Comment 5•9 years ago
|
||
Er, that was about the original bug here. The data: issue is a real issue, but has nothing to do with this bug.
Comment 6•9 years ago
|
||
(In reply to Simon Speich from comment #3) > This also effects image data URIs, which does not make sense. I filed a new bug for this issue: bug 1156496.
You need to log in
before you can comment on or make changes to this bug.
Description
•