Bug 15085
Summary: | window.outerWidth/outerHeight values sometimes change when window.open() used with parameters | ||
---|---|---|---|
Product: | WebKit | Reporter: | David Kilzer (:ddkilzer) <ddkilzer> |
Component: | Tools / Tests | Assignee: | 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)
* 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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |