On Dec 18, 2007 8:41 AM, Kalle Korhonen <
kalle.o.korhonen@...> wrote:
> I'm trying to run the core dojo tests with java -jar custom_rhino.jar
> runner.js, but it fails with:
> js: uncaught JavaScript runtime exception: ReferenceError: "navigator" is
> not defined. The same works in browser and with an older version of dojo (
> 0.9). runner.html doesn't seem require any other dependencies, but obviously
> the navigator object is created by the browser. The custom_rhino.jar is from
> 0.9 (the latest in trunk looks corrupted). If I create a fake navigator
> object myself in dojo.js, I get further along. Any ideas how to fix this?
I just downloaded the 1.0.2 source, and ran this command from the
util/doh directory:
> java -jar ../shrinksafe/custom_rhino.jar runner.js
and that seemed to complete without a "navigator" error.
James
_______________________________________________
FAQ:
http://dojotoolkit.org/support/faqBook:
http://dojotoolkit.org/docs/bookForums:
http://dojotoolkit.org/forumDojo-interest@...
http://dojotoolkit.org/mailman/listinfo/dojo-interest