<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>26105</bug_id>
          
          <creation_ts>2014-06-16 11:27:54 +0000</creation_ts>
          <short_desc>Consider making .crossOrigin nullable</short_desc>
          <delta_ts>2014-08-28 22:00:38 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#cors-settings-attribute</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>jonas</cc>
    
    <cc>mike</cc>
    
    <cc>w3c</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107853</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-06-16 11:27:54 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/fetching-resources.html
Multipage: http://www.whatwg.org/C#cors-settings-attribute
Complete: http://www.whatwg.org/c#cors-settings-attribute
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/edits.html

Comment:
Consider making .crossOrigin nullable
so that elm.crossOrigin = elm.crossOrigin doesn&apos;t change state from No CORS to
Anonymous, and so that you don&apos;t have to use removeAttribute to switch to the
No CORS state.

IDL would change `DOMString` to `DOMString?`.
On getting, if the state is No CORS, return null.
On setting, if the value is null, remove the content attribute.

Also see https://www.w3.org/Bugs/Public/show_bug.cgi?id=24958#c1

Posted from: 90.230.218.37 by simonp@opera.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/35.0.1916.114 Safari/537.36 OPR/22.0.1471.40 (Edition Next)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108030</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-06-18 21:24:21 +0000</bug_when>
    <thetext>Interesting idea. Any vendor interest?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108047</commentid>
    <comment_count>2</comment_count>
    <who name="Jonas Sicking (Not reading bugmail)">jonas</who>
    <bug_when>2014-06-19 02:06:04 +0000</bug_when>
    <thetext>Sounds good to me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>110735</commentid>
    <comment_count>3</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-08-28 22:00:38 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r8727.
Check-in comment: Make .crossOrigin = null remove the content attribute.
http://html5.org/tools/web-apps-tracker?from=8726&amp;to=8727</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>