[Webkit-unassigned] [Bug 15085] New: window.outerWidth/outerHeight values sometimes change when window.open() used with parameters

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Aug 26 17:56:33 PDT 2007


http://bugs.webkit.org/show_bug.cgi?id=15085

           Summary: window.outerWidth/outerHeight values sometimes change
                    when window.open() used with parameters
           Product: WebKit
           Version: 522+ (nightly)
          Platform: Macintosh
               URL: http://build.webkit.org/results/post-commit-intel-mac-
                    os-x/1033/http/tests/security/cross-frame-access-put-
                    diffs.txt
        OS/Version: Mac OS X 10.4
            Status: NEW
          Keywords: LayoutTestFailure
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at webkit.org


* SUMMARY
When r25206 landed [1], it caused random failures in the
http/tests/security/cross-frame-access-put.html test with different values for
window.outerWidth and window.outerHeight [2].  This was fixed in r25250 [2],
but it was not clear why removing the window.open() parameters fixed the issue.

[1] http://trac.webkit.org/projects/webkit/changeset/25206
[2]
http://build.webkit.org/results/post-commit-intel-mac-os-x/1033/http/tests/security/cross-frame-access-put-diffs.txt
[3] http://trac.webkit.org/projects/webkit/changeset/25250

* STEPS TO REPRODUCE
1. Back out r25250.
2. Run two tests until the second one fails:
./WebKitTools/Scripts run-webkit-tests
http/tests/navigation/target-frame-from-window.html
http/tests/security/cross-frame-access-put.html

* RESULTS
About half of the time, the cross-frame-access-put.html test will fail with
this diff:

-ALERT: PASS: window.outerHeight should be '0' and is.
-ALERT: PASS: window.outerWidth should be '0' and is.
+ALERT: PASS: window.outerHeight should be '-100' and is.
+ALERT: PASS: window.outerWidth should be '-500' and is.

* REGRESSION
Unknown.  Only noticed after r25206 was committed, and was fixed with r25250.


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list