<?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>18879</bug_id>
          
          <creation_ts>2012-09-14 13:35:35 +0000</creation_ts>
          <short_desc>Seems like this should be aborted at some point if you are in the process of unloading the document. In particular inserting new inline scripts (that would execute immediatley) during the various phases of unload doesn&apos;t seem to work.</short_desc>
          <delta_ts>2012-11-30 18:54:32 +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>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#prepare-a-script</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</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>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>73928</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-09-14 13:35:35 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#prepare-a-script
Complete: http://www.whatwg.org/c#prepare-a-script

Comment:
Seems like this should be aborted at some point if you are in the process of
unloading the document. In particular inserting new inline scripts (that would
execute immediatley) during the various phases of unload doesn&apos;t seem to work.

Posted from: 2001:4c28:a030:30:1dae:727a:8768:dad9
User agent: Opera/9.80 (X11; Linux x86_64; Edition Next) Presto/2.12.378 Version/12.50</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79200</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2012-11-30 18:54:32 +0000</bug_when>
    <thetext>I am unable to reproduce this.

This demo (click the link in the rendering area to test):
   http://software.hixie.ch/utilities/js/live-dom-viewer/saved/1945
...suggests that WebKit crashes, and Gecko and Opera do what the spec says.

Please reopen this bug with a testcase if you can demonstrate the problem in the spec (though it&apos;s clearly more subtle than the original description).</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>