<?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>24091</bug_id>
          
          <creation_ts>2013-12-13 14:55:34 +0000</creation_ts>
          <short_desc>Support registerProtocolHandler() and registerContentHandler()</short_desc>
          <delta_ts>2015-09-28 12:01:42 +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>Fetch</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>blocked on implementers weighing in</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>w3c</cc>
          
          <qa_contact>sideshowbarker+fetchspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>97593</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-12-13 14:55:34 +0000</bug_when>
    <thetext>See http://lists.w3.org/Archives/Public/public-webapps/2013OctDec/0622.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97594</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2013-12-13 14:56:19 +0000</bug_when>
    <thetext>A problem would be that

&lt;img src=data:...&gt;

is no longer safe as it could execute a network request if the MIME
type was text/vcard or some such.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>97599</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-12-13 16:58:01 +0000</bug_when>
    <thetext>Why would that not be safe? What&apos;s the attack vector?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>98139</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-01-08 17:45:28 +0000</bug_when>
    <thetext>An intranet could have broken (but harmless) code of the form

  &lt;img src=mailto:test&gt;

This would suddenly start issuing network requests and reveal potentially confidential information to the user&apos;s email provider.

I have a hard time thinking of something better, but it seems unexpected and potentially bad to have network requests for things that were just network errors before.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100066</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-02-07 22:42:27 +0000</bug_when>
    <thetext>If a page has &lt;img src=mailto:test&gt;, it&apos;s pretty bogus...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>100277</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-02-11 13:50:16 +0000</bug_when>
    <thetext>Chrome does not appear to implement registerContentHandler() and Gecko does not appear to implement these for fetching (just navigation). I could define these but interest seems limited.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109014</commentid>
    <comment_count>6</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2014-07-16 17:04:17 +0000</bug_when>
    <thetext>IMHO, we shouldn&apos;t worry about &lt;img src=mailto:test&gt;.  That&apos;s unlikely to be a problem in practice.  I&apos;m less sure about content handlers and data URLs...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>109925</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-08-05 10:59:36 +0000</bug_when>
    <thetext>Adam, but should we make it work at all? I think I&apos;d rather have these only take effect during navigation. That seems much more intuitive.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>123337</commentid>
    <comment_count>8</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-09-28 12:01:42 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/198</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>