Bug Tracker

Modify

Ticket #3952 (closed bug: duplicate)

Opened 4 years ago

Last modified 15 months ago

Cross document error in $.clone for !$.support.noCloneEvent browsers

Reported by: shazam Owned by: flesler
Priority: major Milestone: 1.3.1
Component: core Version: 1.3
Keywords: noCloneEvent clone Cc:
Blocking: Blocked by:

Description

Cloning a node in a child iframe document results in an error on browsers that does not support noCloneEvent because document is used to create temporary div that will contain the cloned node instead of ownerDocument of the cloned node.

Diff attached

Attachments

clone cross document safety hole.diff Download (543 bytes) - added by shazam 4 years ago.
cloneBug.rar Download (1.2 KB) - added by shazam 4 years ago.
Demonstrates the clone bug

Change History

Changed 4 years ago by shazam

Changed 4 years ago by shazam

Demonstrates the clone bug

comment:1 Changed 4 years ago by dmethvin

  • Owner set to flesler

comment:2 Changed 4 years ago by doug

Compare with ticket #4074. I believe this is fixed in version 1.3.2.

comment:3 Changed 4 years ago by brandon

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

duplicate of #4074

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.