<?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>69692</bug_id>
          
          <creation_ts>2011-10-07 21:19:59 -0700</creation_ts>
          <short_desc>[File API] URL methods required arguments</short_desc>
          <delta_ts>2023-07-14 15:37:15 -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>New Bugs</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</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="Mark Pilgrim (Google)">pilgrim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>abarth</cc>
    
    <cc>annevk</cc>
    
    <cc>ericu</cc>
    
    <cc>ossy</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>480468</commentid>
    <comment_count>0</comment_count>
    <who name="Mark Pilgrim (Google)">pilgrim</who>
    <bug_when>2011-10-07 21:19:59 -0700</bug_when>
    <thetext>According to http://dev.w3.org/2006/webapi/FileAPI/#creating-revoking , the URL object has two methods, each of which as a required parameter:

createObjectURL(blob)
revokeObjectURL(url)

This test calls those methods without the required parameter, and logs the results.

WebKit passes this test.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>480469</commentid>
    <comment_count>1</comment_count>
      <attachid>110252</attachid>
    <who name="Mark Pilgrim (Google)">pilgrim</who>
    <bug_when>2011-10-07 21:20:54 -0700</bug_when>
    <thetext>Created attachment 110252
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484507</commentid>
    <comment_count>2</comment_count>
      <attachid>110252</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-15 00:02:50 -0700</bug_when>
    <thetext>Comment on attachment 110252
Patch

Clearing flags on attachment: 110252

Committed r97544: &lt;http://trac.webkit.org/changeset/97544&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484508</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2011-10-15 00:02:54 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484822</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-16 14:30:53 -0700</bug_when>
    <thetext>This test fails on Qt and on SL bot:

--- /Volumes/Big/slave/snowleopard-intel-debug-tests/build/layout-test-results/fast/files/url-required-arguments-expected.txt 
+++ /Volumes/Big/slave/snowleopard-intel-debug-tests/build/layout-test-results/fast/files/url-required-arguments-actual.txt 
@@ -2,7 +2,7 @@
 
 On success, you will see a series of &quot;PASS&quot; messages, followed by &quot;TEST COMPLETE&quot;.
 
-PASS webkitURL.createObjectURL() threw exception TypeError: Type error.
+PASS webkitURL.createObjectURL() threw exception TypeError: Not enough arguments.
 PASS webkitURL.revokeObjectURL() threw exception TypeError: Not enough arguments.
 PASS successfullyParsed is true

Is it a JSC vs. V8 difference problem? As far as I remember in this case JSC result should be the platform independent result and the V8 result should platform specific. Reopen to fix expected results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484823</commentid>
    <comment_count>5</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2011-10-16 14:34:14 -0700</bug_when>
    <thetext>-PASS webkitURL.createObjectURL() threw exception TypeError: Type error.
+PASS webkitURL.createObjectURL() threw exception TypeError: Not enough arguments.

Not enough arguments is the correct text of the exception.  We should change V8 to match JSC.

@Mark: Would you like to take care of this, or should I?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>484824</commentid>
    <comment_count>6</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2011-10-16 14:38:01 -0700</bug_when>
    <thetext>I added a Qt specific expected file to make the buildbot green. 
Please remove it with the proper fix. Thanks in advance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>485251</commentid>
    <comment_count>7</comment_count>
    <who name="Ryosuke Niwa">rniwa</who>
    <bug_when>2011-10-17 10:25:14 -0700</bug_when>
    <thetext>Moved JSC results to cross-platform dir. and then moved V8 specific results to platform/chromium.
http://trac.webkit.org/changeset/97632</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1966820</commentid>
    <comment_count>8</comment_count>
    <who name="Anne van Kesteren">annevk</who>
    <bug_when>2023-07-14 15:37:15 -0700</bug_when>
    <thetext>Seems this was only applicable to V8.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>110252</attachid>
            <date>2011-10-07 21:20:54 -0700</date>
            <delta_ts>2011-10-15 00:02:50 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-69692-20111008002115.patch</filename>
            <type>text/plain</type>
            <size>2064</size>
            <attacher name="Mark Pilgrim (Google)">pilgrim</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDk3MDAwKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAI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