<?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>142226</bug_id>
          
          <creation_ts>2015-03-03 10:42:46 -0800</creation_ts>
          <short_desc>[iOS] TestExpectations for ios-simulator-wk2 should fall back to &apos;wk2&apos; after &apos;ios-simulator&apos;</short_desc>
          <delta_ts>2015-03-05 20:05:01 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="David Kilzer (:ddkilzer)">ddkilzer</assigned_to>
          <cc>achristensen</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>darin</cc>
    
    <cc>dbates</cc>
    
    <cc>ddkilzer</cc>
    
    <cc>glenn</cc>
    
    <cc>jake.nielsen.webkit</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1073709</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-03 10:42:46 -0800</bug_when>
    <thetext>LayoutTests/platform/wk2/TestExpectations contains expectations for all (or Apple-only?) WebKit2 ports, so they are less-specific than LayoutTests/platform/ios-simulator/TestExpectations, which are shared test expectations for both WK1 and WK2 tests on iOS Simulator.

The current order for ios-simulator-wk2 is this:  ios-simulator-wk2, wk2, ios-simulator

I propose changing it to this:  ios-simulator-wk2, ios-simulator, wk2

This has the additional benefit of fixing the expected results for this test because it&apos;s marked as [ Failure ] in wk2, but [ Skip ] in ios-simulator:

fast/dynamic/window-resize-scrollbars-test.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073712</commentid>
    <comment_count>1</comment_count>
      <attachid>247770</attachid>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-03 10:46:45 -0800</bug_when>
    <thetext>Created attachment 247770
Patch v1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073713</commentid>
    <comment_count>2</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-03 10:49:34 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; This has the additional benefit of fixing the expected results for this test
&gt; because it&apos;s marked as [ Failure ] in wk2, but [ Skip ] in ios-simulator:
&gt; 
&gt; fast/dynamic/window-resize-scrollbars-test.html

And I think switching the order of test expectations for ios-simulator-wk2 is better than trying to move the [ Failure ] expectation from platform/wk2/TestExpectations to somewhere else (namely each port-specific TestExpectations file).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073716</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2015-03-03 10:52:30 -0800</bug_when>
    <thetext>What is the order on Mac?

For expected results, it&apos;s &quot;mac-wk2 -&gt; wk2 -&gt; mac-mavericks -&gt; mac -&gt; generic&quot; (on Mavericks), but I&apos;m not quite sure what the order is for TestExpectations.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1073728</commentid>
    <comment_count>4</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2015-03-03 11:30:36 -0800</bug_when>
    <thetext>(In reply to comment #3)
&gt; What is the order on Mac?
&gt; 
&gt; For expected results, it&apos;s &quot;mac-wk2 -&gt; wk2 -&gt; mac-mavericks -&gt; mac -&gt;
&gt; generic&quot; (on Mavericks), but I&apos;m not quite sure what the order is for
&gt; TestExpectations.

For mac-yosemite-wk2, it is:  mac-wk2, wk2, mac

Which is basically the same as the &quot;Baseline search path&quot; without &quot;generic&quot; at the end.

I assume the TestExpectations files are parsed in the same order as the test results, or nothing would really make sense.  :)

What am I missing here?  Should the [ Failure ] result for fast/dynamic/window-resize-scrollbars-test.html move out of wk2/TestExpectations (and into mac-wk2/TestExpectations?) so the [ Skip ] result in ios-simulator/TestExpectations is recognized?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074798</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2015-03-05 19:21:06 -0800</bug_when>
    <thetext>Oops, I didn’t see Alexey’s question.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074815</commentid>
    <comment_count>6</comment_count>
      <attachid>247770</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-03-05 20:04:55 -0800</bug_when>
    <thetext>Comment on attachment 247770
Patch v1

Clearing flags on attachment: 247770

Committed r181131: &lt;http://trac.webkit.org/changeset/181131&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1074816</commentid>
    <comment_count>7</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2015-03-05 20:05:01 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>247770</attachid>
            <date>2015-03-03 10:46:45 -0800</date>
            <delta_ts>2015-03-05 20:04:55 -0800</delta_ts>
            <desc>Patch v1</desc>
            <filename>bug-142226-20150303104627.patch</filename>
            <type>text/plain</type>
            <size>1592</size>
            <attacher name="David Kilzer (:ddkilzer)">ddkilzer</att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