<?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>14944</bug_id>
          
          <creation_ts>2007-08-11 15:24:21 -0700</creation_ts>
          <short_desc>Running http/tests/security after fast/dom/Window causes failures in cross-site scripting tests</short_desc>
          <delta_ts>2007-09-18 08:49:22 -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>Tools / Tests</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>15220</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LayoutTestFailure</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="David Kilzer (:ddkilzer)">ddkilzer</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>sam</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2501</commentid>
    <comment_count>0</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-08-11 15:24:21 -0700</bug_when>
    <thetext>* SUMMARY
Running tests in http/tests/security after tests in fast/dom/Window causes failures in various cross-site scripting (xss-*) tests.  (Is some variable in DumpRenderTree not getting reset properly?)

* STEPS TO REPRODUCE
1. Run layout tests thusly:
$ ./WebKitTools/Scripts/run-webkit-tests --debug fast/dom/Window http/tests/security
2. Wait for results.

* RESULTS
Most of the xss-* tests fail because &apos;[object Object]&apos; gets inserted into the frame name like this:

-ALERT: PASS: window.name should be &apos;&lt;!--framePath //&lt;!--frame0--&gt;--&gt;&apos; and is.
+ALERT: PASS: window.name should be &apos;&lt;!--framePath /[object Object]/&lt;!--frame0--&gt;--&gt;&apos; and is.

* NOTES
The fast/dom/Window/window-resize.html test also fails on my PB G4 (independent of running the layout tests to reproduce this bug).  I don&apos;t think that affects this issue, though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>368</commentid>
    <comment_count>1</comment_count>
    <who name="David Kilzer (:ddkilzer)">ddkilzer</who>
    <bug_when>2007-09-18 08:49:22 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of 15220 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>