Skip to main content

Bug Tracker

Side navigation

#3397 closed bug (wontfix)

Opened September 23, 2008 12:29PM UTC

Closed September 28, 2010 09:58PM UTC

Safari 2 crash bug w/ redux & patch

Reported by: mintywalker Owned by:
Priority: major Milestone: 1.3
Component: core Version: 1.2.6
Keywords: safari crash html innerhtml Cc:
Blocked by: Blocking:
Description

A call to the jquery html() method (in v1.2.6) may crash Safari 2.0.4 as downloaded from:

http://michelf.com/projects/multi-safari/

A working redux that can reproduce the bug is attached.

A patch (against v.1.26) that prevents the crash is also attached. We're not claiming it should be applied directly, simply that it highlights the code that crashes Safari 2.0.4

We also note that using:

$('#fail').find('a').innerHTML = 'FAIL!';

in our redux example, rather than

$('#fail').find('a').html('FAIL!');

also prevents Safari from crashing.

Attachments (1)
  • redux_and_patch.html (1.0 KB) - added by mintywalker September 23, 2008 12:35PM UTC.

    Example / test case / redux & patch

Change History (3)

Changed September 23, 2008 01:18PM UTC by mintywalker comment:1

CORRECTION:

We also note that using:

$('#fail').find('a').each(function() { this.innerHTML = 'FAIL!' });

in our redux example, rather than

$('#fail').find('a').html('FAIL!');

also prevents Safari from crashing.

Changed December 03, 2008 04:39PM UTC by pbcomm comment:2

This persists in 1.2.7pre

Changed September 28, 2010 09:58PM UTC by snover comment:3

resolution: → wontfix
status: newclosed

Safari 2 is no longer supported.