Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(196)

Issue 131483006: Correctly reflect the 'crossOrigin' attribute. (Closed)

Created:
6 years, 11 months ago by sof
Modified:
6 years, 11 months ago
CC:
blink-reviews, nessy, arv+blink, philipj_slow, gasubic, watchdog-blink-watchlist_google.com, feature-media-reviews_chromium.org, dglazkov+blink, adamk+blink_chromium.org, vcarbune.chromium, Inactive
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Correctly reflect the 'crossOrigin' attribute. The CORS settings attribute http://www.whatwg.org/specs/web-apps/current-work/#cors-settings-attribute when reflected as an IDL attribute, should map a bare/empty 'crossorigin' attribute to "anonymous". And if set to an invalid value, to "anonymous" also. So, for the reflected "crossOrigin" IDL attribute on <script>, <img> and <video> (HTMLMediaElement, really), these attribute states should be observable via its getter. R= BUG=332346 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=164980

Patch Set 1 #

Patch Set 2 : Remove empty line #

Total comments: 3

Messages

Total messages: 7 (0 generated)
sof
Please take a look when you next have a moment. The treatment of crossOrigin here ...
6 years, 11 months ago (2014-01-09 15:38:50 UTC) #1
arv (Not doing code reviews)
LGTM https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt File LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt (right): https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt#newcode9 LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt:9: PASS img.removeAttribute('crossorigin'); img.crossOrigin is "" I found this ...
6 years, 11 months ago (2014-01-13 14:35:08 UTC) #2
sof
https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt File LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt (right): https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt#newcode14 LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt:14: PASS img.crossOrigin = 'foo'; img.getAttribute('crossorigin') is "foo" On 2014/01/13 ...
6 years, 11 months ago (2014-01-13 14:45:58 UTC) #3
arv (Not doing code reviews)
On 2014/01/13 14:45:58, sof wrote: > https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt > File LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt > (right): > > https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt#newcode14 ...
6 years, 11 months ago (2014-01-13 14:51:50 UTC) #4
sof
On 2014/01/13 14:51:50, arv wrote: > On 2014/01/13 14:45:58, sof wrote: > > > https://codereview.chromium.org/131483006/diff/30001/LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt ...
6 years, 11 months ago (2014-01-13 15:14:38 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/sigbjornf@opera.com/131483006/30001
6 years, 11 months ago (2014-01-13 15:15:27 UTC) #6
commit-bot: I haz the power
6 years, 11 months ago (2014-01-13 16:22:12 UTC) #7
Message was sent while issue was closed.
Change committed as 164980

Powered by Google App Engine
This is Rietveld 408576698