Skip to main content

Bug Tracker

Side navigation

#9886 closed bug (wontfix)

Opened July 21, 2011 09:24PM UTC

Closed September 10, 2011 10:25PM UTC

Safari video tag crash

Reported by: jasonlfunk@gmail.com Owned by: rwaldron
Priority: high Milestone: 1.7
Component: core Version: 1.6.2
Keywords: Cc:
Blocked by: Blocking:
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.

Attachments (0)
Change History (4)

Changed July 21, 2011 10:34PM UTC by rwaldron comment:1

owner: → rwaldron
status: newassigned

Changed July 21, 2011 11:36PM UTC by rwaldron comment:2

component: unfiledcore
priority: undecidedhigh

Changed August 05, 2011 01:01AM UTC by rwaldron comment:3

#9983 is a duplicate of this ticket.

Changed September 10, 2011 10:25PM UTC by rwaldron comment:4

milestone: None1.7
resolution: → wontfix
status: assignedclosed

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