<?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>36301</bug_id>
          
          <creation_ts>2010-03-18 09:38:13 -0700</creation_ts>
          <short_desc>Test Case for all Sputnik bugs that fail only in WebKit.</short_desc>
          <delta_ts>2011-08-12 01:14:39 -0700</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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>65579</dup_id>
          
          <bug_file_loc>http://www.simonhollingshead.com/projects/sputnikcompare/webkiterrors.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Hollingshead">me</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>barraclough</cc>
    
    <cc>oliver</cc>
    
    <cc>ossy</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>201346</commentid>
    <comment_count>0</comment_count>
    <who name="Simon Hollingshead">me</who>
    <bug_when>2010-03-18 09:38:13 -0700</bug_when>
    <thetext>I ran the sputnik JS Compliance test in all the big 5 (IE, Firefox, Chrome, Opera and Safari with Webkit nightlies) and have found 19 testcases for which Webkit is the only JS engine that fails.

I have referred to them by their Sputnik IDs, and the testcase can be found at the linked URL.

For note, the testcases are:
S7.8.5_A1.4_T2
S7.8.5_A2.4_T2
S10.1.5_A2.1_T3
S11.5.3_A4_T2
S11.8.4_A2.3_T1
S15.10.6.2_A11
S15.10.6.3_A11
S15.1.2.2_A1_T2
S15.1.2.3_A2_T3
S15.1.2.3_A2_T8
S15.1.2.3_A2_T9
S15.3.5.3_A2_T6
S15.4.4.10_A3_T3
S15.4.4.12_A2.1_T3
S15.4.4.6_A4_T1
S15.5.4.10_A1_T6
S15.5.4.10_A1_T7
S15.5.4.10_A1_T8
S15.5.4.10_A1_T9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201619</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-03-18 15:59:54 -0700</bug_when>
    <thetext>Results with QtWebKit r56199:

S7.8.5_A1.4_T2: FAIL: SyntaxError: Parse error
S7.8.5_A2.4_T2: FAIL: SyntaxError: Parse error
S10.1.5_A2.1_T3: FAIL: &apos;EvalError&apos; has attribute DontEnum
S10.1.5_A2.1_T3: FAIL: &apos;RangeError&apos; has attribute DontEnum
S10.1.5_A2.1_T3: FAIL: &apos;ReferenceError&apos; has attribute DontEnum
S10.1.5_A2.1_T3: FAIL: &apos;SyntaxError&apos; has attribute DontEnum
S10.1.5_A2.1_T3: FAIL: &apos;TypeError&apos; has attribute DontEnum
S10.1.5_A2.1_T3: FAIL: &apos;URIError&apos; has attribute DontEnum
S11.5.3_A4_T2: PASS
S11.8.4_A2.3_T1: FAIL: ToNumber(first expression) is called first, and then ToNumber(second expression)
S15.10.6.2_A11: FAIL: RegExp.prototype.exec.length === 1. Actual: 0
S15.10.6.3_A11: FAIL: RegExp.prototype.test.length === 1. Actual: 0
S15.1.2.2_A1_T2: FAIL: (1 / parseInt(-0)) should equal Infinity. Actual: -Infinity
S15.1.2.3_A2_T3: FAIL: parseFloat(&quot;\u00A01.1&quot;) === parseFloat(&quot;1.1&quot;). Actual: NaN
S15.1.2.3_A2_T3: FAIL: parseFloat(&quot;\u00A0\u00A0-1.1&quot;) === parseFloat(&quot;-1.1&quot;). Actual: NaN
S15.1.2.3_A2_T8: FAIL: parseFloat(&quot;\u20281.1&quot;) === parseFloat(&quot;1.1&quot;). Actual: NaN
S15.1.2.3_A2_T8: FAIL: parseFloat(&quot;\u2028\u2028-1.1&quot;) === parseFloat(&quot;-1.1&quot;). Actual: NaN
S15.1.2.3_A2_T9: FAIL: parseFloat(&quot;\u20291.1&quot;) === parseFloat(&quot;1.1&quot;). Actual: NaN
S15.1.2.3_A2_T9: FAIL: parseFloat(&quot;\u2029\u2029-1.1&quot;) === parseFloat(&quot;-1.1&quot;). Actual: NaN
S15.3.5.3_A2_T6: FAIL: Not an object, throw a TypeError exception
S15.4.4.10_A3_T3: FAIL: arr.length === 1. Actual: 0
S15.4.4.10_A3_T3: FAIL: arr[0] === &quot;x&quot;. Actual: undefined
S15.4.4.12_A2.1_T3: FAIL: arr.length === 0. Actual: 3
S15.4.4.12_A2.1_T3: FAIL: x[0] === 0. Actual: 3
S15.4.4.12_A2.1_T3: FAIL: x[1] === 1. Actual: undefined
S15.4.4.12_A2.1_T3: FAIL: x[2] === 2. Actual: undefined
S15.4.4.12_A2.1_T3: FAIL: x[3] === 3. Actual: undefined
S15.4.4.6_A4_T1: FAIL: x.pop() === 1. Actual: undefined
S15.5.4.10_A1_T6: FAIL: __matched[0]===__expected[0]. Actual: Matched is &quot;undefined&quot; and expected is &quot;&quot;
S15.5.4.10_A1_T7: FAIL: __matched[0]===__expected[0]. Actual: Matched is &quot;undefined&quot; and expected is &quot;&quot;
S15.5.4.10_A1_T8: FAIL: __matched[0]===__expected[0]. Actual: Matched is &quot;undefined&quot; and expected is &quot;&quot;
S15.5.4.10_A1_T9: FAIL: __matched[0]===__expected[0]. Actual: Matched is &quot;undefined&quot; and expected i</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>201622</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Hollingshead">me</who>
    <bug_when>2010-03-18 16:02:41 -0700</bug_when>
    <thetext>On mac, I&apos;m not seeing any passes.  Instead of

S11.5.3_A4_T2: PASS

I get

S11.5.3_A4_T2: FAIL: 1 / (-1 % -1) should equal -Infinity. Actual: Infinity
S11.5.3_A4_T2: FAIL: 1 / (-1 % 1) should equal -Infinity. Actual: Infinity</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>202398</commentid>
    <comment_count>3</comment_count>
    <who name="Oliver Hunt">oliver</who>
    <bug_when>2010-03-21 21:31:05 -0700</bug_when>
    <thetext>A lot of these are easy fixes -- the fix for the various somebuiltin.function.length failures is simply to update a constant</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219419</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2010-04-30 03:48:31 -0700</bug_when>
    <thetext>Sputnik tests landed in trunk, see https://bugs.webkit.org/show_bug.cgi?id=38296</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>450356</commentid>
    <comment_count>5</comment_count>
    <who name="Gavin Barraclough">barraclough</who>
    <bug_when>2011-08-12 01:14:39 -0700</bug_when>
    <thetext>Sputnik has been superseded by test-262.

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

    </bug>

</bugzilla>