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

Issue 529933002: Make 'crossOrigin' IDL attributes nullable (Closed)

Created:
6 years, 3 months ago by Jens Widell
Modified:
6 years, 3 months ago
CC:
blink-reviews, nessy, arv+blink, philipj_slow, gasubic, fs, eric.carlson_apple.com, feature-media-reviews_chromium.org, dglazkov+blink, blink-reviews-html_chromium.org, Inactive, gavinp+prerender_chromium.org, vcarbune.chromium, mlamouri (slow - plz ping)
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Make 'crossOrigin' IDL attributes nullable This affects the 'crossOrigin' IDL attributes in the interfaces HTMLImageElement, HTMLLinkElement, HTMLMediaElement and HTMLScriptElement, and is done to match the corresponding specification change: http://html5.org/r/8727 The effect is that on setting the IDL attribute to null, the content attribute is removed (if present) instead of set to the string "null", and on getting null is returned instead of the empty string if the content attribute is not present. BUG=409524 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181728

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -28 lines) Patch
M LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/HTMLImageElement/image-crossOrigin-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/HTMLLinkElement/link-crossOrigin.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/HTMLLinkElement/link-crossOrigin-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin.html View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/HTMLScriptElement/script-crossOrigin-expected.txt View 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/fast/dom/element-attribute-js-null.html View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/fast/dom/element-attribute-js-null-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin.html View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/html/HTMLImageElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLLinkElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLMediaElement.idl View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/HTMLScriptElement.idl View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 18 (3 generated)
Jens Widell
PTAL
6 years, 3 months ago (2014-09-02 10:33:22 UTC) #2
haraken
What's a behavior of other browsers?
6 years, 3 months ago (2014-09-02 10:37:04 UTC) #3
Jens Widell
On 2014/09/02 10:37:04, haraken wrote: > What's a behavior of other browsers? I believe they ...
6 years, 3 months ago (2014-09-02 10:38:21 UTC) #4
haraken
On 2014/09/02 10:38:21, Jens Widell wrote: > On 2014/09/02 10:37:04, haraken wrote: > > What's ...
6 years, 3 months ago (2014-09-02 10:41:26 UTC) #6
sof
lgtm wrt now-spec'ed behavior. It is a slight worry that (elm.crossOrigin = '') is now ...
6 years, 3 months ago (2014-09-02 13:04:39 UTC) #7
Jens Widell
On 2014/09/02 13:04:39, sof wrote: > lgtm wrt now-spec'ed behavior. > > It is a ...
6 years, 3 months ago (2014-09-02 13:30:33 UTC) #8
sof
On 2014/09/02 13:30:33, Jens Widell wrote: > On 2014/09/02 13:04:39, sof wrote: > > lgtm ...
6 years, 3 months ago (2014-09-02 13:39:14 UTC) #9
arv (Not doing code reviews)
https://codereview.chromium.org/529933002/diff/1/Source/core/html/HTMLImageElement.idl File Source/core/html/HTMLImageElement.idl (right): https://codereview.chromium.org/529933002/diff/1/Source/core/html/HTMLImageElement.idl#newcode31 Source/core/html/HTMLImageElement.idl:31: [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; How does ...
6 years, 3 months ago (2014-09-03 01:16:03 UTC) #10
sof
https://codereview.chromium.org/529933002/diff/1/Source/core/html/HTMLImageElement.idl File Source/core/html/HTMLImageElement.idl (right): https://codereview.chromium.org/529933002/diff/1/Source/core/html/HTMLImageElement.idl#newcode31 Source/core/html/HTMLImageElement.idl:31: [Reflect, ReflectOnly=("anonymous","use-credentials"), ReflectEmpty="anonymous", ReflectInvalid="anonymous"] attribute DOMString? crossOrigin; On 2014/09/03 ...
6 years, 3 months ago (2014-09-03 18:30:58 UTC) #11
tkent
On 2014/09/02 10:38:21, Jens Widell wrote: > On 2014/09/02 10:37:04, haraken wrote: > > What's ...
6 years, 3 months ago (2014-09-09 02:19:42 UTC) #12
mlamouri (slow - plz ping)
On 2014/09/09 02:19:42, tkent (overloaded) wrote: > On 2014/09/02 10:38:21, Jens Widell wrote: > > ...
6 years, 3 months ago (2014-09-09 09:26:01 UTC) #13
tkent
On 2014/09/09 09:26:01, Mounir Lamouri wrote: > On 2014/09/09 02:19:42, tkent (overloaded) wrote: > > ...
6 years, 3 months ago (2014-09-09 23:44:48 UTC) #14
Jens Widell
On 2014/09/09 23:44:48, tkent (overloaded) wrote: > On 2014/09/09 09:26:01, Mounir Lamouri wrote: > > ...
6 years, 3 months ago (2014-09-10 11:09:09 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jl@opera.com/529933002/20001
6 years, 3 months ago (2014-09-10 11:21:14 UTC) #17
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 13:12:00 UTC) #18
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as 181728

Powered by Google App Engine
This is Rietveld 408576698