<?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>33929</bug_id>
          
          <creation_ts>2010-01-20 17:24:14 -0800</creation_ts>
          <short_desc>[V8] Need to handle WebGLUnsignedByteArray as method argument for V8 binding</short_desc>
          <delta_ts>2010-01-22 21:44:03 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</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="Chris Rogers">crogers</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
    
    <cc>dglazkov</cc>
    
    <cc>eric</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>182989</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-01-20 17:24:14 -0800</bug_when>
    <thetext>This only applies to V8 (not JSC).  Apparently, WebGLUnsignedByteArray was accidentally left out of the GL types which may appear as method arguments in IDL files.
Nobody has noticed so far because this case has not been needed up to this point - but I&apos;m working on a patch which will need it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>182990</commentid>
    <comment_count>1</comment_count>
      <attachid>47084</attachid>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-01-20 17:29:05 -0800</bug_when>
    <thetext>Created attachment 47084
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183384</commentid>
    <comment_count>2</comment_count>
      <attachid>47084</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-21 16:48:29 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

This results in a functional change to the V8 JavaScript bindings, no?  If it does, it needs a test.  If it doesn&apos;t, it&apos;s just a build fix and doesn&apos;t need review. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183385</commentid>
    <comment_count>3</comment_count>
      <attachid>47084</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-21 16:49:23 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

I meant to mark it r-.  By &quot;test&quot; I mean a layout test.  Some javascript code which creates one of these WebGLUnsignedByteArray and tries to pass it somewhere where behavior has now changed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183405</commentid>
    <comment_count>4</comment_count>
    <who name="Chris Rogers">crogers</who>
    <bug_when>2010-01-21 17:13:55 -0800</bug_when>
    <thetext>Eric, AFAIK there are currently no IDL files which take WebGLUnsignedByteArray as an argument so there is nothing I can test.  I have a future patch which will need this and currently the JSC generator already handles this case, but V8 does not.  Put in other words, this fixes the V8 generator to be on par with JSC.  But currently there are no APIs which can be tested.  The omission of WebGLUnsignedByteArray (among the other WebGL types) appears to be an oversight.

thanks for having a look</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183414</commentid>
    <comment_count>5</comment_count>
      <attachid>47084</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-21 17:27:56 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

Ok.  If there is nothing that uses this yet, then there is no way to test it.

ideally you should say that in the ChangeLog so that folks using annotate later have a better chance of understanding. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183415</commentid>
    <comment_count>6</comment_count>
      <attachid>47084</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-21 17:28:12 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

Chris isn&apos;t a committer, so marking cq+ too.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183489</commentid>
    <comment_count>7</comment_count>
      <attachid>47084</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-21 22:36:46 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

Rejecting patch 47084 from commit-queue.

Failed to run &quot;[&apos;WebKitTools/Scripts/run-webkit-tests&apos;, &apos;--no-launch-safari&apos;, &apos;--exit-after-n-failures=1&apos;, &apos;--quiet&apos;]&quot; exit_code: 1
Last 500 characters of output:
e/LayoutTests
Testing 12030 test cases.
http/tests/history/redirect-302.pl -&gt; timed out
Sampling process 88106 for 10 seconds with 10 milliseconds of run time between samples
Sampling completed, processing symbols...
Sample analysis of process 88106 written to file /Users/eseidel/Library/Logs/DumpRenderTree/HangReport.txt

Exiting early after 1 failures. 11241 tests run.
297.88s total testing time

11240 test cases (99%) succeeded
1 test case (&lt;1%) timed out
6 test cases (&lt;1%) had stderr output

Full output: http://webkit-commit-queue.appspot.com/results/203615</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183746</commentid>
    <comment_count>8</comment_count>
      <attachid>47084</attachid>
    <who name="Jeremy Orlow">jorlow</who>
    <bug_when>2010-01-22 12:21:25 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

Looks like flake.  Try again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183758</commentid>
    <comment_count>9</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2010-01-22 12:47:07 -0800</bug_when>
    <thetext>(In reply to comment #8)
&gt; (From update of attachment 47084 [details])
&gt; Looks like flake.  Try again.

Yes.  bug 30391.  Trying again was the proper response. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183946</commentid>
    <comment_count>10</comment_count>
      <attachid>47084</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-22 21:43:57 -0800</bug_when>
    <thetext>Comment on attachment 47084
patch

Clearing flags on attachment: 47084

Committed r53760: &lt;http://trac.webkit.org/changeset/53760&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>183947</commentid>
    <comment_count>11</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-22 21:44:03 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47084</attachid>
            <date>2010-01-20 17:29:05 -0800</date>
            <delta_ts>2010-01-22 21:43:56 -0800</delta_ts>
            <desc>patch</desc>
            <filename>ttt</filename>
            <type>text/plain</type>
            <size>1116</size>
            <attacher name="Chris Rogers">crogers</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA1MzU4MikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMTQgQEAKKzIwMTAtMDEtMjAgIENocmlzIFJvZ2VycyAgPGNyb2dlcnNAZ29vZ2xl
LmNvbT4KKworICAgICAgICBSZXZpZXdlZCBieSBOT0JPRFkgKE9PUFMhKS4KKworICAgICAgICBO
ZWVkIHRvIGhhbmRsZSBXZWJHTFVuc2lnbmVkQnl0ZUFycmF5IGFzIG1ldGhvZCBhcmd1bWVudCBm
b3IgVjggYmluZGluZworICAgICAgICBodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5j
Z2k/aWQ9MzM5MjkKKworICAgICAgICBWOCBjb2RlIGdlbmVyYXRvciBkb2VzIG5vdCBoYXZlIGFz
c29jaWF0ZWQgdGVzdHMKKworICAgICAgICAqIGJpbmRpbmdzL3NjcmlwdHMvQ29kZUdlbmVyYXRv
clY4LnBtOgorCiAyMDEwLTAxLTIwICBTdGV2ZSBGYWxrZW5idXJnICA8c2ZhbGtlbkBhcHBsZS5j
b20+CiAKICAgICAgICAgUmV2aWV3ZWQgYnkgU2FtIFdlaW5pZy4KSW5kZXg6IFdlYkNvcmUvYmlu
ZGluZ3Mvc2NyaXB0cy9Db2RlR2VuZXJhdG9yVjgucG0KPT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gV2ViQ29yZS9i
aW5kaW5ncy9zY3JpcHRzL0NvZGVHZW5lcmF0b3JWOC5wbQkocmV2aXNpb24gNTM1NzgpCisrKyBX
ZWJDb3JlL2JpbmRpbmdzL3NjcmlwdHMvQ29kZUdlbmVyYXRvclY4LnBtCSh3b3JraW5nIGNvcHkp
CkBAIC0yMjA2LDYgKzIyMDYsNyBAQCBteSAldHlwZUNhbkZhaWxDb252ZXJzaW9uID0gKAogICAg
ICJXZWJHTEFycmF5IiA9PiAwLAogICAgICJXZWJHTEJ1ZmZlciIgPT4gMCwKICAgICAiV2ViR0xC
eXRlQXJyYXkiID0+IDAsCisgICAgIldlYkdMVW5zaWduZWRCeXRlQXJyYXkiID0+IDAsCiAgICAg
IldlYkdMQ29udGV4dEF0dHJpYnV0ZXMiID0+IDAsCiAgICAgIldlYkdMRmxvYXRBcnJheSIgPT4g
MCwKICAgICAiV2ViR0xGcmFtZWJ1ZmZlciIgPT4gMCwK
</data>

          </attachment>
      

    </bug>

</bugzilla>