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

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>19986</bug_id>
          
          <creation_ts>2012-11-16 16:51:17 +0000</creation_ts>
          <short_desc>The spec says &quot;If candidates is empty, return null and undefined and abort these steps.&quot;, but I can&apos;t return both null AND undefined? Should it just return and abort the algo?</short_desc>
          <delta_ts>2012-12-31 05:52:46 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#tinyhippos-injected</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>w3c</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>78414</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-11-16 16:51:17 +0000</bug_when>
    <thetext>Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#tinyhippos-injected
Complete: http://www.whatwg.org/c#tinyhippos-injected

Comment:
The spec says &quot;If candidates is empty, return null and undefined and abort
these steps.&quot;, but I can&apos;t return both null AND undefined? Should it just
return and abort the algo? 

Posted from: 85.240.53.124 by marcos@marcosc.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.5 Safari/537.17</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>78416</commentid>
    <comment_count>1</comment_count>
    <who name="Marcos Caceres">w3c</who>
    <bug_when>2012-11-16 17:23:14 +0000</bug_when>
    <thetext>ah, ok... got confused - the return types are at the top of the algorithm. To be a little more clear, it should say:

&quot;return null as the URL and undefined as the pixel density&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80781</commentid>
    <comment_count>2</comment_count>
    <who name="">contributor</who>
    <bug_when>2012-12-31 05:52:46 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7632.
Check-in comment: Clarify
http://html5.org/tools/web-apps-tracker?from=7631&amp;to=7632</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>