Bug Tracker

Opened 7 years ago

Closed 5 years ago

#3397 closed bug (wontfix)

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 (978 bytes) - added by mintywalker 7 years ago.
Example / test case / redux & patch

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by mintywalker

Example / test case / redux & patch

comment:1 in reply to: ↑ description Changed 7 years ago by mintywalker

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.

comment:2 Changed 7 years ago by pbcomm

This persists in 1.2.7pre

comment:3 Changed 5 years ago by snover

  • Resolution set to wontfix
  • Status changed from new to closed

Safari 2 is no longer supported.

Note: See TracTickets for help on using tickets.