Bug Tracker

Opened 9 years ago

Closed 9 years ago

#6814 closed bug (invalid)

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:
Blocked by: Blocking:

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 (2)

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

Download all attachments as: .zip

Change History (5)

comment:1 Changed 9 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 9 years ago by dmethvin

Attachment: test-6814.html added

The magic of "watch"

comment:2 Changed 9 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 9 years ago by dmethvin

Attachment: test-6814-2.html added

Without jQuery

comment:3 Changed 9 years ago by dmethvin

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.