<?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>16455</bug_id>
          
          <creation_ts>2012-03-20 19:06:36 +0000</creation_ts>
          <short_desc>Using platform object example</short_desc>
          <delta_ts>2013-06-17 01:12:51 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Windows 3.1</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>[v1]</status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Marcos Caceres">w3c</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>mike</cc>
    
    <cc>public-script-coord</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65867</commentid>
    <comment_count>0</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-03-20 19:06:36 +0000</bug_when>
    <thetext>Spec says: 

&quot;Every platform object is associated with a global environment, just as the initial objects are. It is the responsibility of specifications using Web IDL to state which global environment (or, by proxy, which global object) each platform object is associated with.&quot;

This seems pretty important (maybe this should be a warning?). Can you please provide an example of some prose to use in another spec?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65933</commentid>
    <comment_count>1</comment_count>
    <who name="Cameron McCormack">cam</who>
    <bug_when>2012-03-21 23:19:34 +0000</bug_when>
    <thetext>You&apos;re right, that&apos;s a sneaky requirement in there that probably nobody adheres to. :)  I wanted to avoid having spec writers define this, but I am not sure how to avoid it really.  We need to define for example that all objects returned from document.createElement are associated with the global environment that the document is associated with, while the objects returned from the contentDocument property on &lt;iframe&gt;s are associated with the global environment in the frame.

Not sure really what the best way for other specs to word this requirement is, yet...</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>