http://wiki.mozilla.org/Breaking_the_grip_JS_has_on_the_DOM). See also bug 255942 - "Support other scripting languages than JS". Not part of the build - indeed this will not build at all until bug 255942 lands, or the latest patch there is applied. git-svn-id: svn://10.0.0.236/trunk@195705 18797224-902f-48f8-a5cc-f745e15eee43
22 lines
718 B
Plaintext
22 lines
718 B
Plaintext
This is the test (and also sample) code for Python in XUL.
|
|
|
|
* Configure and build Mozilla with --enable-extensions=python,... --enable-tests
|
|
|
|
See http://developer.mozilla.org/en/docs/PyXPCOM for any issues regarding
|
|
the building of PyXPCOM itself. If PyXPCOM builds, this DOM extension
|
|
should too!
|
|
|
|
* Start it!
|
|
|
|
- From XULRunner, execute:
|
|
% dist/bin/xulrunner xpi-stage/pyxultest/application.ini
|
|
|
|
- From Seamonkey (suite) execute:
|
|
% seamonkey -chrome chrome://pyxultest/content
|
|
|
|
- From Firebox (browser) execute:
|
|
% firefox ???? (Try the same -chrome as for suite)
|
|
|
|
Note that on Linux, in all cases you should prefix the command with
|
|
run-mozilla.sh, or any other magic normally necessary...
|