<?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>137608</bug_id>
          
          <creation_ts>2014-10-10 04:59:47 -0700</creation_ts>
          <short_desc>Unmatched CSS selector crashes tab.</short_desc>
          <delta_ts>2014-10-14 14:41:49 -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>Page Loading</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://test.internetarchitects.be/ios8.html</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="Jeroen Bensch">jeroen</reporter>
          <assigned_to name="Benjamin Poulain">benjamin</assigned_to>
          <cc>ap</cc>
    
    <cc>benjamin</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1040893</commentid>
    <comment_count>0</comment_count>
    <who name="Jeroen Bensch">jeroen</who>
    <bug_when>2014-10-10 04:59:47 -0700</bug_when>
    <thetext>Whenever we try to load this in Safari on iOS 8.0.2 the tab crashes.

The CSS won&apos;t match the HTML it seems and crashes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041468</commentid>
    <comment_count>1</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2014-10-13 22:59:49 -0700</bug_when>
    <thetext>This seems like it may be fixed in trunk WebKit already. Ben?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041485</commentid>
    <comment_count>2</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2014-10-13 23:58:06 -0700</bug_when>
    <thetext>After the branch, I did some big refactoring of style resolution. WebKit trunk uses a completely different algorithm for adjacent relations so it is not ideal for testing.

The branch of iOS 8-8.0.2 has a silly bug on 32bits device when :nth-child() is used inside a backtracking chain. The patch was integrated here: http://trac.webkit.org/changeset/173732

Jeroen, what device have you tested?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041490</commentid>
    <comment_count>3</comment_count>
    <who name="Jeroen Bensch">jeroen</who>
    <bug_when>2014-10-14 00:58:36 -0700</bug_when>
    <thetext>Benjamin,

I&apos;ve tested it on an iPhone 5 and iPad mini (non-retina). A colleague of mine tested it on iPhone 5s and iPad 3.

iPhone 5 and iPad mini are running iOS 8.0.2.
iPhone 5s and iPad 3 were running iOS 8.0.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1041690</commentid>
    <comment_count>4</comment_count>
    <who name="Benjamin Poulain">benjamin</who>
    <bug_when>2014-10-14 14:41:49 -0700</bug_when>
    <thetext>Ok.

The crash on 5S is really odd, I can&apos;t think of a reason why that would happen. I tried the test case on an iPhone 6 just in case. The CPU architecture is close enough for testing, the JIT is exactly the same for 5S and 6.

I updated an iPhone 5 to the latest seed and the test page does not crash. All the data I have seems to show this is fixed by http://trac.webkit.org/changeset/173732, I close this bug since there is nothing else to do.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>