Bug Tracker

Modify

Ticket #6814 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

Issue with the word "watch" -- childNodes is undefined

Reported by: jessedpate Owned by:
Priority: Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: Cc:
Blocking: Blocked by:

Description

In firefox,

$('body').append('watch'); k.childNodes is undefined $('body').append('Watch'); Works as expected. $('body').append('if'); Works as expected

It's such an edge/weird case, but it may have something to do with watch being implemented in Firefox, whereas it means nothing to IE (and works as expected).

Attachments

test-6814.html Download (353 bytes) - added by dmethvin 3 years ago.
The magic of "watch"
test-6814-2.html Download (320 bytes) - added by dmethvin 3 years ago.
Without jQuery

Change History

comment:1 Changed 3 years ago by dmethvin

Somehow, jQuery.fragments['watch'] is a function with native code, even though {{jQuery.fragments = {} }}} at the time. I wonder if this is some artifact of Firebug?

Changed 3 years ago by dmethvin

The magic of "watch"

comment:2 Changed 3 years ago by dmethvin

This is not a jQuery bug, the second test case shows that it happens even when jQuery is not loaded. So it's either Firefox or Firebug.

Changed 3 years ago by dmethvin

Without jQuery

comment:3 Changed 3 years ago by dmethvin

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

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.