WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
15085
window.outerWidth/outerHeight values sometimes change when window.open() used with parameters
https://bugs.webkit.org/show_bug.cgi?id=15085
Summary
window.outerWidth/outerHeight values sometimes change when window.open() used...
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
Add attachment
proposed patch, testcase, etc.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug