Bug 136570 - Implement nullable .crossOrigin IDL attribute (spec change)
Summary: Implement nullable .crossOrigin IDL attribute (spec change)
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-05 04:17 PDT by Simon Pieters (:zcorpan)
Modified: 2020-07-01 16:23 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!