Bug 136570
| Summary: | Implement nullable .crossOrigin IDL attribute (spec change) | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pieters (:zcorpan) <zcorpan> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | ap, rbuis, rwlbuis |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Pieters (:zcorpan)
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Simon Pieters (:zcorpan)
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
Rob Buis
It seems the live-dom-viewer snippets work in Safari (and also FF and Chrome). Time to close this?
Simon Pieters (:zcorpan)
Yes. Thanks!