<?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>14392</bug_id>
          
          <creation_ts>2011-10-05 19:05:01 +0000</creation_ts>
          <short_desc>Remove locked same-origin policy from HTML5 spec</short_desc>
          <delta_ts>2011-10-21 22:24:16 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML5 spec</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/#origin-0</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
    
    <cc>w3c</cc>
    
    <cc>w3c</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>57858</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-05 19:05:01 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/origin-0.html
Multipage: http://www.whatwg.org/C#origin-0
Complete: http://www.whatwg.org/c#origin-0

Comment:
This is not an effective way to isolate documents if they import script via
relative URLs or have forms that submit to relative URLs, so it seems
dangerous to include in the HTML5 spec. See
http://w2spconf.com/2008/papers/s2p1.pdf

Posted from: 209.129.244.250
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/535.6 (KHTML, like Gecko) Chrome/16.0.899.0 Safari/535.6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57862</commentid>
    <comment_count>1</comment_count>
    <who name="Collin Jackson">w3c</who>
    <bug_when>2011-10-05 19:48:48 +0000</bug_when>
    <thetext>The specific text is:

In addition, if the URL is in fact associated with a Document object that was created by parsing the resource obtained from fetching URL, and this was done over a secure connection, then the server&apos;s secure certificate may be added to the origin as additional data.

This &quot;locked same-origin policy&quot; was originally proposed in by Karlof et al in &quot;Dynamic pharming attacks and locked same-origin policies for web browsers&quot; (CCS 2007).

However, locked SOP is not an effective way to isolate documents if they import script via relative URLs or have forms that submit to relative URLs. See http://w2spconf.com/2008/papers/s2p1.pdf

Because it&apos;s so hard to use securely, it seems dangerous to include in the HTML5 spec.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57863</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">w3c</who>
    <bug_when>2011-10-05 19:52:00 +0000</bug_when>
    <thetext>This section should really just point to http://tools.ietf.org/html/draft-ietf-websec-origin for most of this stuff.  That draft was recently approved by the IESG and should be assigned an RFC number somewhat soon (in IETF timescales).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58663</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2011-10-21 22:23:54 +0000</bug_when>
    <thetext>EDITOR&apos;S RESPONSE: This is an Editor&apos;s Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted
Change Description: see diff given below
Rationale: Concurred with reporter&apos;s comments.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58664</commentid>
    <comment_count>4</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-10-21 22:24:16 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r6728.
Check-in comment: Defer to the origin spec for URL origin.
http://html5.org/tools/web-apps-tracker?from=6727&amp;to=6728</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>