<?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>34252</bug_id>
          
          <creation_ts>2010-01-28 03:46:13 -0800</creation_ts>
          <short_desc>make-script-test-wrapper can not handle js file which contains NULL char.</short_desc>
          <delta_ts>2010-01-28 17:33:01 -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>Tools / Tests</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>P3</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Hayato Ito">hayato</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>commit-queue</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>185412</commentid>
    <comment_count>0</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-01-28 03:46:13 -0800</bug_when>
    <thetext>WebKitTools/Script/make-script-test-wrapper handle js file wrongly if the js file contains NULL char.

For example,  if you run make-script-test-wrapper script,  LayoutTests/fast/js/script-tests/null-char-in-string.js is wrongly modified, which should not be touched.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185419</commentid>
    <comment_count>1</comment_count>
      <attachid>47604</attachid>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-01-28 04:07:09 -0800</bug_when>
    <thetext>Created attachment 47604
remove-null-char-from-input-js-file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185420</commentid>
    <comment_count>2</comment_count>
    <who name="Hayato Ito">hayato</who>
    <bug_when>2010-01-28 04:09:12 -0800</bug_when>
    <thetext>I&apos;ve attached the patch, which removes NULL char form input JS file.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185580</commentid>
    <comment_count>3</comment_count>
      <attachid>47604</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-01-28 12:45:25 -0800</bug_when>
    <thetext>Comment on attachment 47604
remove-null-char-from-input-js-file

Why do we need to handle input files with \0 characters in them??</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185581</commentid>
    <comment_count>4</comment_count>
      <attachid>47604</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2010-01-28 12:45:50 -0800</bug_when>
    <thetext>Comment on attachment 47604
remove-null-char-from-input-js-file

Oh, I see there is one test that has one. OK.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185666</commentid>
    <comment_count>5</comment_count>
      <attachid>47604</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-28 17:32:56 -0800</bug_when>
    <thetext>Comment on attachment 47604
remove-null-char-from-input-js-file

Clearing flags on attachment: 47604

Committed r54033: &lt;http://trac.webkit.org/changeset/54033&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>185667</commentid>
    <comment_count>6</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-01-28 17:33:01 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>47604</attachid>
            <date>2010-01-28 04:07:09 -0800</date>
            <delta_ts>2010-01-28 17:32:55 -0800</delta_ts>
            <desc>remove-null-char-from-input-js-file</desc>
            <filename>bug-34252-20100128210707.patch</filename>
            <type>text/plain</type>
            <size>1202</size>
            <attacher name="H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