Bug 15085

Summary: window.outerWidth/outerHeight values sometimes change when window.open() used with parameters
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal Keywords: LayoutTestFailure
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://build.webkit.org/results/post-commit-intel-mac-os-x/1033/http/tests/security/cross-frame-access-put-diffs.txt

David Kilzer (:ddkilzer)
Reported 2007-08-26 17:56:32 PDT
* 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.
Attachments
Note You need to log in before you can comment on or make changes to this bug.