[Greasemonkey] XPCNativeWrappers and Deer Park compatibility

Phil Ringnalda philringnalda at gmail.com
Sat Jul 30 14:53:18 EDT 2005

Mark Pilgrim wrote:
> Nightly build 2005-07-30T08:31 breaks XPath in Greasemonkey scripts
> (tested with both GM 0.4.2a3 and 0.4.999a1).
> var snapResults = document.evaluate("//*", document, null,
> always throws
> Error: null has no properties
> var snapResults = document.evaluate("//*", document, function() {
> return ''; }, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
> Error: XPathResult has no properties
> mention it here to warn GM scripters to stay away from the nightlies
> for a while, and in the hope that Phil can turn around and report it
> to the appropriate Mozilla hackers the next time he catches them on
> IRC (where all real decisions are made).

Sorry, no can do: can't report what I can't see. With 2005073011/Win, 
using http://www.arantius.com/misc/greasemonkey/alt-tooltips.user.js as 
a proxy for actually writing my own testxpath.user.js, and GM I get no error, and it works.

Phil Ringnalda

More information about the Greasemonkey mailing list