Skip to main content

Bug Tracker

Side navigation

#6814 closed bug (invalid)

Opened July 21, 2010 09:41PM UTC

Closed July 25, 2010 05:06PM UTC

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-2.html (0.3 KB) - added by dmethvin July 25, 2010 05:06PM UTC.

    Without jQuery

  • test-6814.html (0.3 KB) - added by dmethvin July 25, 2010 04:59PM UTC.

    The magic of "watch"

Change History (3)

Changed July 25, 2010 04:57PM UTC by dmethvin comment:1

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 July 25, 2010 05:05PM UTC by dmethvin comment:2

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 July 25, 2010 05:06PM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed