[Bug 16228] Cannot get a script function from within a comment node.