<?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>23425</bug_id>
          
          <creation_ts>2013-10-02 15:13:21 +0000</creation_ts>
          <short_desc>Allow URL href setter to throw for invalid URLs</short_desc>
          <delta_ts>2013-10-15 13:03:56 +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>URL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Arvidsson">erik.arvidsson</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+urlspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>94181</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Arvidsson">erik.arvidsson</who>
    <bug_when>2013-10-02 15:13:21 +0000</bug_when>
    <thetext>For HTMLAnchorElement href setter we need to support setting href to an invalid URL. However, for URL objects we should disallow it. Having URL objects that are invalid is bad and hard to detect.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94757</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-15 13:03:12 +0000</bug_when>
    <thetext>Filed https://bugzilla.mozilla.org/show_bug.cgi?id=926890 on Gecko.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>94758</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-10-15 13:03:56 +0000</bug_when>
    <thetext>https://github.com/whatwg/url/commit/095d59d3764aca82af397c91f98fc570394c04ea</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>