gecko-dev/extensions/python/dom
2007-07-08 00:08:04 -07:00
..
nsdom Bug 106386 Correct misspellings in source code 2006-11-01 23:02:18 +00:00
src Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
test Correct the semantics of Python global variables in event handlers. 2006-10-26 05:23:08 +00:00
Makefile.in
makefiles.sh Bug 380846 - "Make the build system friendlier for XULRunner apps and extensions." r=bsmedberg. Adds confvars.sh files for all major apps and makefiles.sh for all extensions. 2007-05-23 13:08:44 -07:00
README.txt

This is the Python/DOM bindings for Mozilla.

These bindings consist of an XPCOM component implementing
nsIScriptRuntime, nsIScriptContext and related interfaces.  See
http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM for
a general description of what this means.

The XPCOM component is implemented in C++ and can be found in
the 'src' directory.  This component delegates to a Python implementation
inside a Python 'nsdom' package, which can be found in the nsdom directory.

This directory is built by configuring the Mozilla build process with
the 'python' extenstion enabled - eg, '--enable-extensions=python,default'

The 'test' directory contains all test related code - notably a 'pyxultest'
chrome application.  If you build with --enable-tests, you can run this test
by opening the chrome URL 'chrome://pyxultest/content' (exactly how you do 
that depends on what project you are building). See test/pyxultest/README.txt
for more.