<?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>27203</bug_id>
          
          <creation_ts>2014-10-31 08:09:51 +0000</creation_ts>
          <short_desc>Evaluate entry settings object usage</short_desc>
          <delta_ts>2016-06-15 19:27:53 +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>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 dependencies</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          <dependson>27204</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anne">annevk</reporter>
          <assigned_to name="Domenic Denicola">d</assigned_to>
          <cc>bzbarsky</cc>
    
    <cc>d</cc>
    
    <cc>ian</cc>
    
    <cc>josh</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>114305</commentid>
    <comment_count>0</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-31 08:09:51 +0000</bug_when>
    <thetext>From bug 27196 comment 5 by bz:

&gt; I thing HTML is buggy if it&apos;s doing that.  I just looked, and it looks like
&gt; it does it for the following (I&apos;m ignoring things like referrers and base
&gt; URIs and whatnot, just looking at origins):
&gt; 
&gt; 1) Canvas tainting bits.  Does this actually match implementations?  Does it
&gt; make sense to do it that way?
&gt; 
&gt; 2) .frameElement, looking at effective script origins.  This is not too
&gt; unreasonable, since effective script origins end up needing to match the
&gt; effective script origins of everything else you&apos;re dealing with, pretty
&gt; much, so it doesn&apos;t matter too much which settings object you use here.  At
&gt; least in browsers that implement security membranes (which of course doesn&apos;t
&gt; match the HTML spec, but I consider that a bug in the HTML spec).
&gt; 
&gt; 3)  A check in replaceState which I&apos;m totally unclear on.  It claims to
&gt; restrict sandboxed content, but there&apos;s nothing to indicate that the entry
&gt; settings will be the sandboxed thing!
&gt; 
&gt; 4)  Location security checks.  That stuff is all broken as written up right
&gt; now; see bug 20701.
&gt; 
&gt; 5)  Origin check in registerProtocolHandler.  Again, it&apos;s not clear to me
&gt; why using the origin of the entry settings object is the right thing here. 
&gt; I don&apos;t think it is.
&gt; 
&gt; 6)  Something in IsSearchProviderInstalled.
&gt; 
&gt; 7)  createImageBitmap.  This is similar to canvas tainting.  Except ignores
&gt; CORS?
&gt; 
&gt; 8)  For EventSource, setting the origin for CORS purposes to that of the
&gt; entry settings object.  That makes no sense to me.
&gt; 
&gt; 9)  For websocket, checking the scheme of the origin of the entry settings
&gt; object, and using its origin in the websocket connection.
&gt; 
&gt; 10) A sanity check that all origins match in postMessage.  This part is not
&gt; too unreasonable.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114464</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-04 00:34:48 +0000</bug_when>
    <thetext>I&apos;m unclear on what you want me to do here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114475</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-04 08:50:43 +0000</bug_when>
    <thetext>Per bug 27204 comment 1 we need to check whether these actually use the correct concept.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114574</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-06 00:36:35 +0000</bug_when>
    <thetext>I&apos;ve checked these multiple times. By definition, anything in the spec is something I&apos;ve checked; I don&apos;t write the spec blindly. :-) Is there someone else who would like to check them also?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>114585</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-06 08:39:39 +0000</bug_when>
    <thetext>From comment 0, #3 and #5 seem potentially problematic.

I was hoping that we could revisit this list once we dealt with bug 27204.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>126780</commentid>
    <comment_count>5</comment_count>
    <who name="Domenic Denicola">d</who>
    <bug_when>2016-06-15 19:27:53 +0000</bug_when>
    <thetext>https://github.com/whatwg/html/issues/1431</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>