<?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>161102</bug_id>
          
          <creation_ts>2016-08-23 13:37:30 -0700</creation_ts>
          <short_desc>CSS.supports.length is 2 instead of 1</short_desc>
          <delta_ts>2016-08-23 15:04:29 -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>Bindings</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>160303</dup_id>
          
          <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="Joseph Pecoraro">joepeck</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>cdumez</cc>
    
    <cc>joepeck</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1222388</commentid>
    <comment_count>0</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-08-23 13:37:30 -0700</bug_when>
    <thetext>CSS.supports.length is 2 instead of 1.

There are two methods in the IDL:
Source/WebCore/css/DOMCSSNamespace.idl

interface DOMCSSNamespace {
    static boolean supports(DOMString property, DOMString value);
    static boolean supports(DOMString conditionText);
};

The final length should probably be the shortest length of all same-name functions.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222426</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-08-23 14:43:26 -0700</bug_when>
    <thetext>&gt; The final length should probably be the shortest length of all same-name functions.

I already fixed that in https://bugs.webkit.org/show_bug.cgi?id=160303 AFAIK?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222427</commentid>
    <comment_count>2</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-08-23 14:45:01 -0700</bug_when>
    <thetext>CSS.supports.length is 1 in WebKit ToT...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222428</commentid>
    <comment_count>3</comment_count>
    <who name="Chris Dumez">cdumez</who>
    <bug_when>2016-08-23 14:45:10 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 160303 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1222447</commentid>
    <comment_count>4</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2016-08-23 15:04:29 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; CSS.supports.length is 1 in WebKit ToT...

Yep. I was using an older build. Thanks!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>