Bug 17359
Summary: | iPod/iPhone freezes on onorientationchange event | ||
---|---|---|---|
Product: | WebKit | Reporter: | Lon Boonen <lon> |
Component: | Platform | Assignee: | Nobody <webkit-unassigned> |
Status: | CLOSED INVALID | ||
Severity: | Major | CC: | ap, webkit |
Priority: | P2 | Keywords: | InRadar |
Version: | 312.x | ||
Hardware: | Other | ||
OS: | OS X 10.5 |
Lon Boonen
Hi,
sorry for the bad tags above...
I'm working on a new iPod (bought feb 12 2008), don't know what Safari version is on there, don't know where to look.
My bug report is as follows:
put a JS line in your page saying: window.onorientationchange = alert;
load that page on your iPod (and I guess iPhone as well) and change orientation a few times without dismissing the alert: Safari/iPod freezes!
I made a test page, code pasted here:
<html>
<head>
<title>onorientationchange bug</title>
<script type="application/x-javascript">
window.onorientationchange = alert;
</script>
</head>
<body>
preparation: change the orientation of this page a few times without dismissing the alert box<br/>
result: my iPod hangs<br/>
workaround: press the home button, then press the on/off switch twice
</body>
</html>
I hope this helps make Safari even better!
groetjes Lon
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
Bugs related to Safari on iPhone or iPod should be filed at http://bugreport.apple.com/.
Robert Blaut
(In reply to comment #1)
> Bugs related to Safari on iPhone or iPod should be filed at
> http://bugreport.apple.com/.
>
Mark, is it mean this bug report is INVALID?
Mark Rowe (bdash)
Yes, this bug report should be refiled at http://bugreport.apple.com/.
Lon Boonen
(In reply to comment #3)
> Yes, this bug report should be refiled at http://bugreport.apple.com/.
I tried filing it there: in IE and Safari I get "Please populate the following required field(s): Configuration.". But I populated all fields I could find!
Even the file-uploads. I tried it several times.
This is kind of discouraging...
I'm leaving this bug here. I'm done.
Alexey Proskuryakov
<rdar://problem/5765792>
Alexey Proskuryakov
If I remember correctly, one has to upload Mac OS X system profiler report for crash/hang bugs. This doesn't seem to make sense for iPhone issues. Sorry about this experience, I have moved the bug now.
Marking as INVALID, as this will be tracked by Apple internally.
<rdar://problem/5765792>
Alexey Proskuryakov
Could you please verify that this problem no longer occurs with iPhone 2.2?
Lon Boonen
Bug is fixed.
Great job!
It looks as if Safari processes no events during an alert-box, which is fine.
The orientation change event will fire after the alert box is dismissed.
Excellent.
All in all Webkit has improved considerably during the last few months.
And maybe it's just me, but it hasn't crashed once since OS2.2. Which is something I couldn't say before 2.2.
Thanks and groetjes.