Ticket #9886 (closed bug: wontfix)
Safari video tag crash
| Reported by: | jasonlfunk@… | Owned by: | rwaldron |
|---|---|---|---|
| Priority: | high | Milestone: | 1.7 |
| Component: | core | Version: | 1.6.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I have found a bug that is causing Safari to crash.
I am currently running Safari 5.1 with no custom extensions and jQuery 1.6.2 with no other plugins. The following webpage will crash Safari.
<html>
<head>
<script src='resources/js/jquery-1.6.2.js' type='text/javascript'></script>
<script type='text/javascript'>
$(function(){
var vid_o = $("<video controls style='height:100%;' src='/cms/data/FILM/images/chanel_gardenia_web_1_6097.mp4'></video>");
$("#test").html(vid_o);
});
</script>
</head>
<body>
<div id='test'>
</div>
</body>
</html>
A few notes:
You will need a video to put in the source tag, it doesn't crash if you don't have one. If you take out the "controls" option or the style it doesn't crash.
I don't know for sure that it's a jQuery bug; it may be a Safari bug.
Change History
comment:1 Changed 22 months ago by rwaldron
- Owner set to rwaldron
- Status changed from new to assigned
comment:2 Changed 22 months ago by rwaldron
- Priority changed from undecided to high
- Component changed from unfiled to core
Confirmed: http://jsfiddle.net/rwaldron/fBWzk/
comment:4 Changed 21 months ago by rwaldron
- Status changed from assigned to closed
- Resolution set to wontfix
- Milestone changed from None to 1.7
I had an opportunity to present this to Eric Carlson (Apple) today at the Open Video Conference and he confirmed this is actually a webkit bug that has been fixed in the nightly builds.
I cannot link to the bug report as it is classified as a limited access report due to it's security/vulnerability status
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
