Safari 5.1.4 / 5.1.5 causes issues with Modal windows and return values
| Originator: | priyajeet | ||
| Number: | rdar://11152235 | Date Originated: | 2011-03-29 |
| Status: | Duplicate/8750356 | Resolved: | |
| Product: | Safari | Product Version: | 5.1.4, 5.1.5 |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: window.returnValue is undefined on return of a modal window after it closes. Steps to Reproduce: Go to the test link at the bottom. It will throw a popup via window.showModalDialog. The popup has a button on it that just closes the popup and returns a value to the opener. Expected Results: The returned value should not be undefined and the output should say that you clicked the button. Actual Results: In Safari 5.1.4 and 5.1.5, the returned value is undefined. The output should shows ERROR Regression: 5.1.3, issue doesn't happen in 5.2 also. Notes: Test link: http://fiddle.jshell.net/Darth/tG7G7/show/ Popup link: http://fiddle.jshell.net/Darth/6Y6h2/show/
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!