Ticket #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: | |
| Blocking: | Blocked by: |
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
Change History
Changed 3 years ago by shahyar
-
attachment
support.js.patch
added
comment:2 Changed 3 years ago by rwaldron
- Owner set to shahyar
- Priority set to undecided
- Status changed from new to pending
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 2 years ago by trac-o-bot
- Status changed from pending to closed
- Resolution set to invalid
Automatically closed due to 14 days of inactivity.
comment:4 Changed 2 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.
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

Patch file for support.js