<?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>22656</bug_id>
          
          <creation_ts>2008-12-04 12:10:17 -0800</creation_ts>
          <short_desc>tests document.write()</short_desc>
          <delta_ts>2010-04-26 19:10:56 -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>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>32755</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P4</priority>
          <bug_severity>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Danish Shrestha">krackguy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>joepeck</cc>
    
    <cc>pam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>101362</commentid>
    <comment_count>0</comment_count>
    <who name="Danish Shrestha">krackguy</who>
    <bug_when>2008-12-04 12:10:17 -0800</bug_when>
    <thetext>This patch tests that document.write() with no parameters does not output any text.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101363</commentid>
    <comment_count>1</comment_count>
      <attachid>25746</attachid>
    <who name="Danish Shrestha">krackguy</who>
    <bug_when>2008-12-04 12:11:01 -0800</bug_when>
    <thetext>Created attachment 25746
patch for testing document.write</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>101405</commentid>
    <comment_count>2</comment_count>
      <attachid>25746</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-12-04 16:01:35 -0800</bug_when>
    <thetext>Comment on attachment 25746
patch for testing document.write

This test looks fine, but the patch needs to also include a ChangeLog entry. Also, we prefer to have the &quot;newline at end of file&quot; unless there&apos;s a reason not to have it.

Also, we prefer tests that cover a bit more per test. It&apos;s OK to have a test that tests only this one targeted thing, but it&apos;s better to cover more per test so our tests cover a lot of different cases and run quickly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>217324</commentid>
    <comment_count>3</comment_count>
    <who name="Joseph Pecoraro">joepeck</who>
    <bug_when>2010-04-26 15:34:43 -0700</bug_when>
    <thetext>It looks like testing an empty document.write is now covered by:

    LayoutTests/fast/forms/document-write-empty.html

The Git/SVN/Trac History of this file seems to be confused:
http://trac.webkit.org/browser/trunk/LayoutTests/fast/forms/document-write-empty.html?rev=58265

The content is essentially identical, and the test&apos;s description is verbatim! I don&apos;t really know what is best, so I&apos;m closing this as &quot;Works For Me&quot; because there is now a test. I&apos;d mark it a duplicate, but I can&apos;t accurately find the original bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>217437</commentid>
    <comment_count>4</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2010-04-26 19:10:56 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 32755 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>25746</attachid>
            <date>2008-12-04 12:11:01 -0800</date>
            <delta_ts>2008-12-04 16:01:35 -0800</delta_ts>
            <desc>patch for testing document.write</desc>
            <filename>document-write-empty-patch.txt</filename>
            <type>text/plain</type>
            <size>906</size>
            <attacher name="Danish Shrestha">krackguy</attacher>
            
              <data encoding="base64">SW5kZXg6IGRvY3VtZW50LXdyaXRlLWVtcHR5LWV4cGVjdGVkLnR4dAo9PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBk
b2N1bWVudC13cml0ZS1lbXB0eS1leHBlY3RlZC50eHQJKHJldmlzaW9uIDApCisrKyBkb2N1bWVu
dC13cml0ZS1lbXB0eS1leHBlY3RlZC50eHQJKHJldmlzaW9uIDApCkBAIC0wLDAgKzEsMyBAQAor
VGhpcyB0ZXN0cyB0aGF0IGRvY3VtZW50LndyaXRlKCkgd2l0aCBubyBwYXJhbWV0ZXJzIGRvZXMg
bm90IG91dHB1dCBhbnkgdGV4dC4KKworVGhlcmUgc2hvdWxkIG5vdCBiZSBhbnkgdGV4dCBiZWxv
dyB0aGlzIHNlbnRlbmNlLgpJbmRleDogZG9jdW1lbnQtd3JpdGUtZW1wdHkuaHRtbAo9PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09Ci0tLSBkb2N1bWVudC13cml0ZS1lbXB0eS5odG1sCShyZXZpc2lvbiAwKQorKysgZG9jdW1l
bnQtd3JpdGUtZW1wdHkuaHRtbAkocmV2aXNpb24gMCkKQEAgLTAsMCArMSwxNCBAQAorPGh0bWw+
Cis8Ym9keT4KKzxwPlRoaXMgdGVzdHMgdGhhdCBkb2N1bWVudC53cml0ZSgpIHdpdGggbm8gcGFy
YW1ldGVycyBkb2VzIG5vdCBvdXRwdXQgYW55IHRleHQuPC9wPgorCis8cD5UaGVyZSBzaG91bGQg
bm90IGJlIGFueSB0ZXh0IGJlbG93IHRoaXMgc2VudGVuY2UuPC9wPgorPHNjcmlwdD4KKyAgICBp
ZiAod2luZG93LmxheW91dFRlc3RDb250cm9sbGVyKQorICAgICAgICBsYXlvdXRUZXN0Q29udHJv
bGxlci5kdW1wQXNUZXh0KCk7CisgIAorICAgIGRvY3VtZW50LndyaXRlKCk7ICAKKzwvc2NyaXB0
PgorIAorPC9ib2R5PgorPC9odG1sPgpcIE5vIG5ld2xpbmUgYXQgZW5kIG9mIGZpbGUK
</data>
<flag name="review"
          id="12041"
          type_id="1"
          status="-"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>