Hi all,
The new module system and the restructuring of load_rc have meant that
some former convenience features are no longer available. I'd like to
restore those features, but that looks like it will entail some partial
reversion of the restructuring. The features would be provided within
the framework of the new code. I'm seeking comments on whether these
changes are seen to be worthwhile.
1) load_rc can load either a file or a directory full of files. That
ability used to be applicable to the command line -l option, which
provided a convenient way to run a battery of tests:
% conkeror -q -batch -l /path/to/conkeror/tests/simple
2) We could formerly load from chrome:// URLs:
load_rc("chrome://conkeror-contrib/content/mode-line-buttons.js");
(Note that a chrome URL on the load_path does still work.)
Combined with the directory loading this also provided a way to run the
test suite independently of the install path:
% conkeror -q -batch -l chrome://conkeror-test/content/simple
3) We could formerly run tests multiple times in a running conkeror.
Now, if a conkeror is already running then
% conkeror -q -e 'url_remoting_fn = load;' $PWD/tests/simple/*.js
runs the tests only the first time it's invoked; subsequent runs ignore
the tests. Also url_remoting_fn is now set inconveniently in the
running conkeror.
(Note that the wiki suggests "url_remoting_fn = load_rc", but that is no
longer correct.)
This issue could be avoided by using a special profile, but that seems
inconvenient.
Regards, David
_______________________________________________
Conkeror mailing list
[email protected]
https://www.mozdev.org/mailman/listinfo/conkeror