<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>23097</bug_id>
          
          <creation_ts>2009-01-04 06:18:06 -0800</creation_ts>
          <short_desc>Why does WebKit run into JavaScript1.7 blocks without supporting any feature of JavaScript 1.7</short_desc>
          <delta_ts>2023-12-02 06:49:22 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>JavaScriptCore</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>257080</dup_id>
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=87527</see_also>
          <bug_file_loc>https://developer.mozilla.org/en/New_in_JavaScript_1.7</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>NeedsReduction</keywords>
          <priority>P3</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Georg Maaß">georg</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>anders.norgaard</cc>
    
    <cc>annevk</cc>
    
    <cc>ggaren</cc>
    
    <cc>jchaffraix</cc>
    
    <cc>webmaster</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>104315</commentid>
    <comment_count>0</comment_count>
    <who name="Georg Maaß">georg</who>
    <bug_when>2009-01-04 06:18:06 -0800</bug_when>
    <thetext>Why does WebKit run into JavaScript1.7 blocks without supporting any feature of JavaScript 1.7. From the results of my tests, I confirm Safari 3.2 supporting JavaScript 1.6, but testing those language features that make the difference between 1.6 and 1.7 WebKit 528+ fails in each test case. It neither supports block scope variables using the new keyword let nor does it support generators using the new keyword yield nor does it support de structuring assignments.

Without implementing these language features, it should not run into javascripts with language=&quot;javascript1.7&quot; or type=&quot;application/javascript;version=1.7&quot; because those scripts usually make use of exactly those language features not yet implemented in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636279</commentid>
    <comment_count>1</comment_count>
    <who name="Julien Chaffraix">jchaffraix</who>
    <bug_when>2012-05-29 11:44:20 -0700</bug_when>
    <thetext>CC&apos;ing some (I hope relevant) people.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>636544</commentid>
    <comment_count>2</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2012-05-29 16:32:06 -0700</bug_when>
    <thetext>This area is a bit of a mess.  My understanding is that TC39 has abandoned out-of-band versioning for JavaScript.  We execute whatever types the HTML5 spec tells us to execute.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637720</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-30 14:51:40 -0700</bug_when>
    <thetext>See also: bug 87527.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996443</commentid>
    <comment_count>4</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-12-02 06:47:41 -0800</bug_when>
    <thetext>We now only claim support for https://mimesniff.spec.whatwg.org/#javascript-mime-type.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1996446</commentid>
    <comment_count>5</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-12-02 06:49:22 -0800</bug_when>
    <thetext>Actually, this was only very recently fixed. Let&apos;s correctly duplicate this to the bug where it was fixed.

*** This bug has been marked as a duplicate of bug 257080 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>