WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
123276
Object.freeze(window) causes browser redirect
https://bugs.webkit.org/show_bug.cgi?id=123276
Summary
Object.freeze(window) causes browser redirect
John Resig
Reported
2013-10-24 09:57:54 PDT
Calling the code `Object.freeze(window)` will cause the browser to redirect to `./undefined`. Not sure if this should be a JS bug or a DOM bug so I'm filing in JavaScriptCore for now. This appears to happen in Safari 6.1, Safari 7, Blackberry 10.2, and WebKit Nightly. Test case:
http://ejohn.org/files/freeze-test.html
Will end up redirecting to:
http://ejohn.org/files/undefined
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2013-10-25 14:34:03 PDT
<
rdar://problem/15323500
>
Ahmad Saleem
Comment 2
2022-05-29 08:24:21 PDT
Unable to reproduce using Safari 15.4 on macOS 12.4. Thanks!
Alexey Proskuryakov
Comment 3
2022-05-31 10:17:46 PDT
Thank you for checking!
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