Bug 136570

Summary: Implement nullable .crossOrigin IDL attribute (spec change)
Product: WebKit Reporter: Simon Pieters (:zcorpan) <zcorpan>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: ap, rbuis, rwlbuis
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Simon Pieters (:zcorpan) 2014-09-05 04:17:34 PDT
Should implement this spec change:

http://html5.org/r/8727

Rationale for the change in https://www.w3.org/Bugs/Public/show_bug.cgi?id=26105

On getting, if the state is No CORS (i.e. attribute is absent), return null.
On setting, if the value is null, remove the content attribute.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3155
Comment 1 Simon Pieters (:zcorpan) 2014-09-05 04:28:08 PDT
It should also return the current state's canonical keyword if the attribute is present:

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/3156
Comment 2 Rob Buis 2020-06-17 12:53:38 PDT
It seems the live-dom-viewer snippets work in Safari (and also FF and Chrome). Time to close this?
Comment 3 Simon Pieters (:zcorpan) 2020-07-01 16:23:29 PDT
Yes. Thanks!