Bug Tracker

Opened 10 years ago

Closed 9 years ago

Last modified 8 years ago

#6499 closed bug (invalid)

WebKit checkClone line breaks PlayStation 3 (NetFront)

Reported by: shahyar Owned by: shahyar
Priority: undecided Milestone: 1.4.3
Component: support Version: 1.4.2
Keywords: checkClone, ps3 Cc:
Blocked by: Blocking:

Description

The following bit of code was added in 1.4:

jQuery.support.checkClone = fragment.cloneNode(true).cloneNode(true).lastChild.checked;

It breaks the PlayStation 3's ability to load jQuery, as it fails checking "lastChild". Seems that the NetFront browser on PS3 does not clone any children of a fragment. To get around this, I just added a try-catch.

Patch is attached.

Attachments (1)

support.js.patch (1002 bytes) - added by shahyar 10 years ago.
Patch file for support.js

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by shahyar

Attachment: support.js.patch added

Patch file for support.js

comment:1 Changed 9 years ago by dmethvin

Component: coresupport

comment:2 Changed 9 years ago by Rick Waldron

Owner: set to shahyar
Priority: undecided
Status: newpending

Thanks for taking the time to contribute to the jQuery project! Please provide a PlayStation 3 to help us assess your ticket!

Additionally, test against the jQuery 0 GIT version to ensure the issue still exists. Be Excellent to eachother!

comment:3 Changed 9 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Automatically closed due to 14 days of inactivity.

comment:4 Changed 9 years ago by shahyar

Whoops, I let this ticket lapse. Looks like the bug still exists in the current GIT version.

I'd send you guys a PS3, but I somehow don't think my employers would approve.

comment:5 Changed 9 years ago by snover

If NetFront doesn’t clone children of a DocumentFragment, jQuery isn’t going to work very well, since this paradigm is used extensively internally by domManip and the fragment cache.

comment:6 Changed 8 years ago by ajpiano

#9920 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.