Search completed in 2.42 seconds.
<command>: The HTML Command element - HTML: Hypertext Markup Language
the html
command element (<
command>) represents a
command which the user can invoke.
...
commands are often used as part of a context menu or toolbar.
... the <
command> element is included in the w3c specification, but not in the whatwg specification, and browser support is nonexistent.
...And 11 more matches
Command line crash course - Learn web development
previous overview: understanding client-side tools next in your development process you'll undoubtedly be required to run some
command in the terminal (or on the "
command line" — these are effectively the same thing).
... this article provides an introduction to the terminal, the essential
commands you'll need to enter into it, how to chain
commands together, and how to add your own
command line interface (cli) tools.
... objective: to understand what the terminal/
command line is, what basic
commands you should learn, and how to install new
command line tools.
...And 65 more matches
Commands - Archive of obsolete content
« previousnext » a
command is an operation which may be invoked.
...
command elements the
command element is used to create
commands which can be used to carry out operations.
... you don't need to use
commands, since you can just call a script to handle things.
...And 64 more matches
Updating Commands - Archive of obsolete content
« previousnext » in this section, we will look at how to update
commands.
... invoking
commands if a
command has an on
command attribute, you can invoke it just by using the do
command method of the
command or an element which links to it.
... for other
commands, you will need to use a couple of additional lines of code.
...And 34 more matches
Command line options
command line options are used to specify various startup options for mozilla applications.
... for example, if you have multiple profiles you can use
command line configuration options to bypass the profile manager and open a specific profile.
...you can open the
command line interface by pressing shift + f2.
...And 20 more matches
nsICommandLine
toolkit/components/
commandlines/public/nsi
commandline.idlscriptable represents the
command line used to invoke a xul application.
... this may be the original
command line of this instance or a
command line provided remotely by another instance of the application.
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) components may implement the nsi
commandlinehandler interface to add custom
command line handling behavior.
...And 19 more matches
command - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] a
command element can be used to invoke an operation that can come from multiple sources.
...you attach the code to the
command using the on
command attribute.
...in addition, disabling the
command will automatically disable the menu items and keyboard shortcuts.
...And 13 more matches
Adding Events and Commands - Archive of obsolete content
these are some notable events you should keep in mind: on
command.
...use on
command instead.
...for example: <button label="&xulschoolhello.defaultgreeting.label;" on
command="xulschoolchrome.browseroverlay.changegreeting(event);" /> then on the javascript code you would have something like this: changegreeting : function(aevent) { // more stuff aevent.target.setattribute("label", somenewgreeting); } the target in this example is the button element, so clicking on it will change its text.
...And 10 more matches
Document.execCommand() - Web APIs
when an html document has been switched to designmode, its document object exposes an exec
command method to run
commands that manipulate the current editable region, such as form inputs or contenteditable elements.
... most
commands affect the document's selection (bold, italics, etc.), while others insert new elements (adding a link), or affect an entire line (indenting).
... when using contenteditable, exec
command() affects the currently active editable element.
...And 10 more matches
commandset - Archive of obsolete content
« xul reference home [ examples | attributes | properties | methods | related ] this element is not displayed and serves as a container for
command elements.
... in addition, this element can hold a
command updater which is used to update
commands when certain events occur.
... a common use of the
command updater is to update cut, copy, and paste menu items.
...And 9 more matches
Providing Command-Line Options - Archive of obsolete content
extensions and xul applications can modify the way
command line parameters are handled by writing a component that implements the nsi
commandlinehandler interface and registering it in a category.
... see also: xulrunner:
commandline overview the code below is an example of writing a javascript xpcom component to handle
command line parameters.
... you can learn more about how the
command line is interpreted by looking at the documentation for the nsi
commandline interface.
...And 7 more matches
CommandLine - Archive of obsolete content
handling
command line arguments with xulrunner for multiple instances application it's fairly easy to retrieve application specific
command line arguments in xulrunner when it's not a single instance application.
... an nsi
commandline object is passed as the first argument of the launched window: example var cmdline = window.arguments[0]; cmdline = cmdline.queryinterface(components.interfaces.nsi
commandline); alert(cmdline.handleflagwithparam("test", false)); see also: chrome:
command line for single instance applications of course, for a single instance application (see toolkit.singletonwindowtype for more information), the last example still applies the first time your application is launched.
... however, if you'd like to retrieve the latest
command line arguments (to open a file for example), a possible solution is to create your own
command line handler.
...And 7 more matches
command - Archive of obsolete content
the
command event is executed when an element is activated.
...
command elements can be activated by any of their observing elements being activated.
... the
command event should always be used instead of the click event because it will be called in all of the needed cases.
...And 4 more matches
nsICommandController
content/xul/document/public/nsicontroller.idlscriptable an enhanced controller interface that supports passing parameters to
commands.
... inherits from: nsisupports last changed in gecko 1.7 implemented by: @mozilla.org/embedcomp/base-
command-controller;1.
... to create an instance, use: var
commandcontroller = components.classes["@mozilla.org/embedcomp/base-
command-controller;1"] .createinstance(components.interfaces.nsi
commandcontroller); method overview void do
commandwithparams(in string
command, in nsi
commandparams a
commandparams); void get
commandstatewithparams( in string
command, in nsi
commandparams a
commandparams); methods do
commandwithparams() executes the specified
command with a set of parameters contained in an nsi
commandparams object.
...And 4 more matches
nsICommandLineHandler
toolkit/components/
commandlines/public/nsi
commandlinehandler.idlscriptable handles arguments on the
command line of a xul application.
... 1.0 66 introduced gecko 1.8 inherits from: nsisupports last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) each
command line handler is registered in the category "
command-line-handler".
...example: category entry value
command-line-handler b-jsdebug @mozilla.org/venkman/clh;1
command-line-handler c-extensions @mozilla.org/extension-manager/clh;1
command-line-handler m-edit @mozilla.org/composer/clh;1
command-line-handler m-irc @mozilla.org/chatzilla/clh;1
command-line-handler y-final @mozilla.org/browser/clh-final;1 method overview void handle(in nsi
commandline a
commandline); ...
...And 4 more matches
nsICommandLineRunner
the nsi
commandlinerunner is an extension of nsi
commandline used to initialize
command lines and run them by processing the comand line handlers.
... toolkit/components/
commandlines/public/nsi
commandlinerunner.idlscriptable please add a summary to this article.
... last changed in gecko 1.8 (firefox 1.5 / thunderbird 1.5 / seamonkey 1.0) inherits from: nsi
commandline method overview void init(in long argc, in nscharptrarray argv, in nsifile workingdir, in unsigned long state); void run(); void setwindowcontext(in nsidomwindow awindow); attributes attribute type description helptext autf8string process and combine the help text provided by each
command-line handler.
...And 4 more matches
Document.queryCommandEnabled() - Web APIs
the document.query
commandenabled() method reports whether or not the specified editor
command is enabled by the browser.
... syntax isenabled = document.query
commandenabled(
command); parameters
command the
command for which to determine support.
... return value returns a boolean which is true if the
command is enabled and false if the
command isn't.
...And 3 more matches
List of commands - Archive of obsolete content
the following lists
commands which might be usable by <
command> or
command dispatchers/controllers.
... list of
commands (grouped by type) nsdomwindowcontroller
commands (generally legal when there is a selection): cmd_copy - copy a selection to the clipboard cmd_cut - cut a selection into the clipboard cmd_paste - paste a selection from the clipboard cmd_selectall cmd_selectnone cmd_copylink cmd_copyimagelocation cmd_copyimagecontents cmd_scrolltop cmd_scrollbottom cmd_scrollpageup cmd_scrollpagedown cmd_scrolllineup cmd_scrolllinedown cmd_scrollleft cmd_scrollright cmd_selectcharprevious cmd_selectcharnext cmd_wordprevious cmd_wordnext cmd_selectwordprevious cmd_selectwordnext cmd_beginline cmd_endline cmd_selectbeginline cmd_selectendline cmd_selectlineprevious cmd_selectlinenext cmd_selectpageprevious cmd_selectpagenext cmd_selectmovetop cmd_selectmovebottom...
... editor
commands (legal when the focus is anywhere where you can type text): cmd_paste - paste a selection from the clipboard cmd_pastequote cmd_delete cmd_deletecharbackward cmd_deletecharforward cmd_deletewordbackward cmd_deletewordforward cmd_deletetobeginningofline cmd_deletetoendofline cmd_scrolltop cmd_scrollbottom cmd_movetop cmd_movebottom cmd_selecttop cmd_selectbottom cmd_linenext cmd_lineprevious cmd_selectlinenext cmd_selectlineprevious cmd_charprevious cmd_charnext cmd_selectcharprevious cmd_selectcharnext cmd_beginline cmd_endline cmd_selectbeginline cmd_selectendline cmd_wordprevious cmd_wordnext cmd_selectwordprevious cmd_selectwordnext cmd_scrollpageup cmd_scrollpagedown cmd_scrolllineup cmd_scrolllinedown cmd_movepageup cmd_movepagedown ...
...And 2 more matches
nsMsgViewCommandType
the nsmsgview
commandtype interface contains constants used for
commands in thunderbird.
... for example to mark a message read, you would call: // assuming gdbview is a global nsimsgdbview gdbview.do
command(components.interfaces.nsmsgview
commandtype.markmessagesread); mailnews/base/public/nsimsgdbview.idlscriptable please add a summary to this article.
...use with nsimsgdbview.do
commandwithfolder() to select the destination folder.
...And 2 more matches
Document.queryCommandSupported() - Web APIs
the document.query
commandsupported() method reports whether or not the specified editor
command is supported by the browser.
... syntax issupported = document.query
commandsupported(
command); parameters
command the
command for which to determine support.
... return value returns a boolean which is true if the
command is supported and false if the
command isn't.
... notes the 'paste'
command return false not only if the feature is unavailable, but also if the script calling it has insufficient privileges to perform the action [1] example var flg = document.query
commandsupported("selectall"); if(flg) { // ...do something } specifications specification status comment exec
command ...
Window.updateCommands() - Web APIs
summary updates the state of
commands of the current chrome window (ui).
... syntax window.update
commands("s
commandname") parameters s
commandname is a particular string which describes what kind of update event this is (e.g.
... notes this enables or disables items (setting or clearing the "disabled" attribute on the
command node as appropriate), or ensures that the
command state reflects the state of the selection by setting current state information in the "state" attribute of the xul
command nodes.
... desktopmobilechromeedgefirefoxinternet exploreroperasafariandroid webviewchrome for androidfirefox for androidopera for androidsafari on iossamsung internetupdate
commands non-standardchrome no support noedge no support nofirefox full support yesie ?
commandupdater - Archive of obsolete content
« xul reference home
commandupdater type: boolean if true, the
commandset is used for updating
commands.
... typically, this is used to update menu
commands such as undo and cut based on when an event occurs.
... for example, since the cut
command is only valid when something is selected, a
command updater might be used when the select event occurs.
oncommand - Archive of obsolete content
« xul reference home on
command type: script code this event handler is called when the
command is activated.
... this occurs when a user selects a menu item or presses a keyboard shortcut attached to the
command.
... example 1: in-line code <button label="click me" on
command="alert('hi')"/> example 2: function with source argument <button label="click me" on
command="dosomeprocessing(event.target)"/> and here is the definition of the function: function dosomeprocessing(source) { alert("source: " + source); return true; } see also
command element ...
nsIMsgDBViewCommandUpdater
the nsimsgdbview
commandupdater interface controls changes that occur as the selection changes.
... last changed in gecko 1.9 (firefox 3) inherits from: nsisupports in thunderbird this is implemented for different windows in several different places: nsmsgdbview
commandupdater (for the standalone message window) nsmsgdbview
commandupdater (for the threadpane message window) nsmsgsearch
commandupdater (for search dialogs) method overview void update
commandstatus(); void displaymessagechanged(in nsimsgfolder afolder, in astring asubject, in acstring akeywords); void updatenextmessageafterdelete(); methods update
commandstatus() called when the number of selected items changes.
... void update
commandstatus(); parameters none.
Document.queryCommandState() - Web APIs
the query
commandstate() method will tell you if the current selection has a certain document.exec
command()
command applied.
... syntax query
commandstate(string
command) parameters
command is a
command from document.exec
command() return value query
commandstate() can return a boolean value or null if the state is unknown.
... example html <div contenteditable="true">select a part of this text!</div> <button onclick="makebold();">test the state of the 'bold'
command</button> javascript function makebold() { var state = document.query
commandstate("bold"); switch (state) { case true: alert("the bold formatting will be removed from the selected text."); break; case false: alert("the selected text will be displayed in bold."); break; case null: alert("the state of the 'bold'
command is indeterminable."); break; } document.exec
command('bold'); } result specifications specification status comment exec
command ...
command - Archive of obsolete content
« xul reference home
command type: id set to the id of a
command element that is being observed by the element.
... example <
command id="cmd_openhelp" on
command="alert('help');"/> <button label="help"
command="cmd_openhelp"/> <button label="more help"
command="cmd_openhelp"/> see also
command element, on
command and
commandset ...
onFindAgainCommand - Archive of obsolete content
« xul reference home onfindagain
command( findprevious ) return type: no return value call this method to handle your application's "find next" and "find previous"
commands.
... you should specify true as the input parameter to perform a "find previous" operation, or false to perform a "find next." example typically, you'll simply bind this method to your "find next" and "find previous"
commands, like this: <
command name="cmd_find_previous" on
command="gfindbar.onfindagain
command(true);"/> <
command name="cmd_find_next" on
command="gfindbar.onfindagain
command(false);"/> ...
NSS tools : certutil
name certutil — manage keys and certificate in both nss databases and other nss tokens synopsis certutil [options] [[arguments]] description the certificate database tool, certutil, is a
command-line utility that can create and modify certificate and key databases.
... options and arguments running certutil always requires one and only one
command option to specify the type of certificate operation.
...the
command option -h will list all the
command options available and their relevant arguments.
...And 26 more matches
Package management basics - Learn web development
a project dependency can be an entire javascript library or framework — such as react or vue — or a very small utility like our human-readable date library, or it can be a
command line tool such as prettier or eslint, which we talked about in previous articles.
... using the package ecosystem let’s run through an example to get you started with using a package manager and registry to install a
command line utility.
... type the following
command, making sure you are inside the parcel-experiment directory: npm init you will now be asked some questions; npm will then create a default package.json file based on the answers: name: a name to identify the app.
...And 25 more matches
Venkman Introduction - Archive of obsolete content
features such as breakpoint management, call stack inspection, and variable/object inspection are available from the user interface and from console
commands, letting you work in the way you are most accustomed to.
...venkman's keyboard shortcuts are the same as leading visual debugging environments, and gdb users should be familiar with venkman's /break, /step, /next, /finish, /frame, and /where
commands.
... you can also start the browser with the -venkman
command line option, which launches venkman initially instead of an application front end.
...And 22 more matches
certutil
synopsis certutil [options] arguments description the certificate database tool, certutil, is a
command-line utility that can create and modify certificate and key database files.
...run the
command option and -h to see the arguments available for each
command option.
... -b run a series of
commands from the specified batch file.
...And 21 more matches
Paths - SVG: Scalable Vector Graphics
(see more in basic shapes.) the d attribute contains a series of
commands and parameters used by those
commands.
... each of the
commands is instantiated (for example, creating a class, naming and locating it) by a specific letter.
...the "move to"
command is called with the letter m.
...And 21 more matches
nsIDOMNSHTMLDocument
inherits from: nsisupports last changed in gecko 6.0 (firefox 6.0 / thunderbird 6.0 / seamonkey 2.3) method overview void captureevents(in long eventflags); void clear(); boolean exec
command(in domstring
commandid, in boolean doshowui, in domstring value); boolean exec
commandshowhelp(in domstring
commandid); obsolete since gecko 14.0 domstring getselection(); nsidomdocument open(in acstring acontenttype, in boolean areplace); boolean query
commandenabled(in domstring
commandid); boolean query
commandindeterm(in domstring
commandid); ...
... boolean query
commandstate(in domstring
commandid); boolean query
commandsupported(in domstring
commandid); domstring query
commandtext(in domstring
commandid); obsolete since gecko 14.0 domstring query
commandvalue(in domstring
commandid); void releaseevents(in long eventflags); void routeevent(in nsidomevent evt); void write(); obsolete since gecko 2.0 void writeln(); obsolete since gecko 2.0 attributes attribute type description alinkcolor domstring same as body.alink bgcolor domstring same as body.bgcolor compatmode domstring returns "backcompat" if the document is in quirks mode or "css1compat" if the document is in full standards or almost standards mode.
...exec
command() boolean exec
command( in domstring
commandid, in boolean doshowui, in domstring value ); parameters
commandid the name of the
command to execute.
...And 20 more matches
Deploying our app - Learn web development
we're going to add the build
command to our package.json file as an npm script, so that the
command npm run build will trigger the build process.
... this step isn't necessary, but it is a good best practice to get into the habit of setting up — across all our projects, we can then rely on npm run build to always do the complete build step, without needing to remember the specific build
command arguments for each project.
... we'll add a build
command that we can run to build our code.
...And 19 more matches
Introducing a complete toolchain - Learn web development
note: it's also worth repeating that not all of these tools need to be run on the
command line.
... you can interact with git in a number of different ways, from using the
command line to issue
commands, to using a git gui app to issue the same
commands by pushing buttons, or even from directly inside your code editor, as seen in the visual studio code example below: anyway, installing git is all we need to do for now.
... you can check whether you've already got it installed globally using the following
command: prettier -v if installed, you'll get a version number returned like 2.0.2; if not, it'll return something along the lines of "
command not found".
...And 19 more matches
Redis Tips
so rather than thinking about redis as a database with some kind of non-existent relationship to sql, think of it as a data structure server with a rich set of
commands for querying and manipulating those data structures over a network connection.
... there are three reasons to look at the docs for every
command you use.
... time complexity - each
command's complexity is given in big-o notation.
...And 19 more matches
nsIMsgDBView
gviewsortordervalue sortorder, in nsmsgviewflagstypevalue viewflags, out long count); void openwithhdrs(in nsisimpleenumerator aheaders, in nsmsgviewsorttypevalue asorttype, in nsmsgviewsortordervalue asortorder, in nsmsgviewflagstypevalue aviewflags, out long acount); void close(); void init(in nsimessenger amessengerinstance, in nsimsgwindow amsgwindow, in nsimsgdbview
commandupdater a
commandupdater); void sort(in nsmsgviewsorttypevalue sorttype, in nsmsgviewsortordervalue sortorder); void do
command(in nsmsgview
commandtypevalue
command); void do
commandwithfolder(in nsmsgview
commandtypevalue
command, in nsimsgfolder destfolder); void get
commandstatus(in nsmsgview
commandtypevalue
command, out boolean selectable_p, out nsmsgview
commandc...
...atus(in nsmsgnavigationtypevalue motion); nsmsgkey getkeyat(in nsmsgviewindex index); nsimsgdbhdr getmsghdrat(in nsmsgviewindex index); nsimsgfolder getfolderforviewindex(in nsmsgviewindex index); acstring geturiforviewindex(in nsmsgviewindex index); nsimsgdbview clonedbview(in nsimessenger amessengerinstance, in nsimsgwindow amsgwindow, in nsimsgdbview
commandupdater a
commandupdater); void geturisforselection([array, size_is(count)] out string uris, out unsigned long count); void getindicesforselection([array, size_is(count)] out nsmsgviewindex indices, out unsigned long count); void loadmessagebymsgkey(in nsmsgkey amsgkey); void loadmessagebyviewindex(in nsmsgviewindex aindex); void loadmessagebyurl(in stri...
... suppress
commandupdating boolean suppress
command updating.
...And 19 more matches
Menus - Archive of obsolete content
menus a menu provides a list of
commands that the user can carry out.
...when the menu or button is clicked the menu is opened, listing the
commands that are available.
... the user may select a
command to invoke it, or may cancel the operation by pressing escape or clicking outside the menu.
...And 18 more matches
Index - Web APIs
640 clipboard api api, async clipboard api, clipboard, clipboard api, clipboard event api, clipboardevent, landing, reference the clipboard api provides the ability to respond to clipboard
commands (cut, copy, and paste) as well as to asynchronously read from and write to the system clipboard.
... 908 document.exec
command() api, dom, method, needsexample, reference, editor when an html document has been switched to designmode, its document object exposes an exec
command method to run
commands that manipulate the current editable region, such as form inputs or contenteditable elements.
... 951 document.query
commandenabled() css, document, method, reference the document.query
commandenabled() method reports whether or not the specified editor
command is enabled by the browser.
...And 18 more matches
SVGPathSeg - Web APIs
svg path segment interface this is a base interface that corresponds to a single
command within a path data specification.
... pathseg_closepath 1 corresponds to a "closepath" (z) path data
command.
... pathseg_moveto_abs 2 corresponds to an "absolute moveto" (m) path data
command.
...And 18 more matches
<menuitem> - HTML: Hypertext Markup Language
the html <menuitem> element represents a
command that a user is able to invoke through a popup menu.
... a
command can either be defined explicitly, with a textual label and optional icon to describe its appearance, or alternatively as an indirect
command whose behavior is defined by a separate element.
...
commands can also optionally include a checkbox or be grouped to share radio buttons.
...And 17 more matches
Broadcasters and Observers - Archive of obsolete content
command attribute forwarding we've already seen that elements such as buttons can be hooked up to
commands.
... in addition, if you place the disabled attribute on the
command element, any elements hooked up to it will also become disabled automatically.
...for instance, if you place a label attribute on a
command element, any buttons attached to the
command will share the same label.
...And 16 more matches
cfx - Archive of obsolete content
cfx usage is: cfx [options]
command [
command-specific options] "options" are global options applicable to the tool itself or to all
commands (for example --help).
... cfx supports the following global options: -h, --help - show a help message and exit -v, --verbose - enable lots of output "
command-specific options" are documented alongside the
commands.
... there are four supported cfx
commands: cfx init create a skeleton add-on as a starting point for your own add-on.
...And 14 more matches
jpm - Archive of obsolete content
jpm is a
command-line tool that enables you to test, run, and package add-ons.
... jpm usage is: jpm [
command] [options] jpm supports the following global options: -h, --help - show a help message and exit -v, --version - print the jpm version number --addon-dir - directory for your source code, defaulting to the current directory installation jpm is distributed with the node package manager npm.
...ile $home/.profile to add it to your path permanently (as the file .profile is executed every time a new terminal is opened): export path="$home/node_modules/.bin/:$path" installing jpm from git alternatively, you can also get the latest version of jpm using git: git clone https://github.com/mozilla-jetpack/jpm.git cd jpm npm install npm link after installing jpm after installation, at the
command prompt, type: jpm you should see a screen summarizing the available jpm
commands.
...And 14 more matches
Setting Up a Development Environment - Archive of obsolete content
after setting up make, you should be able to open a
command line window, run "make -ver", and get the installed version of make as output.
... let's try and build the xpi from the
command line first.
... open the
command line program in your system and navigate to the src directory in your project.
...And 14 more matches
Adding Event Handlers - Archive of obsolete content
we would want to add a script to handle the find button, the cancel button and to handle each menu
command.
... the most common event used is the '
command' event.
... the
command event is fired when a user activates an element, for example by pressing a button, changing a checkbox or selecting an item from a menu.
...And 14 more matches
How to get a stacktrace with WinDbg
you should now see a "
command" text window with debug output at the top and an input box at the bottom.
... before debugging can start, several
commands must be entered into the one-line input box at the bottom of the
command window.
... tip: all
commands must be entered exactly as written, one line at a time, into the bottom of the
command box.
...And 14 more matches
Enc Dec MAC Using Key Wrap CertReq PKCS10 CSR
ader "-----begin certificate for signature verification-----" #define ns_cert_vfy_trailer "-----end certificate for signature verification-----" #define ns_sig_header "-----begin signature-----" #define ns_sig_trailer "-----end signature-----" #define ns_cert_header "-----begin certificate-----" #define ns_cert_trailer "-----end certificate-----" /* sample 6
commands */ typedef enum { generate_csr, add_cert_to_db, save_cert_to_header, encrypt, decrypt, sign, verify, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4, pubkey = 5, lab = 6, certenc= 7, certvfy= 8, sig = 9 } headertype; /* * print usage message and exit *...
...csr> -u <issuernickname> [-x <\"\">] -m <serialnumber> ] | ", "-n <nickname> -b <headerfilename> | ", "-b <headerfilename> -i <ipfilename> -e <encryptfilename> | ", "-b <headerfilename> -i <ipfilename> | ", "-b <headerfilename> -i <ipfilename> | ", "-b <headerfilename> -e <encryptfilename> -o <opfilename> \n"); fprintf(stderr, "
commands:\n\n"); fprintf(stderr, "%s %s\n --for generating cert request (for ca also)\n\n", progname, "-g -s <subject> -r <csr>"); fprintf(stderr, "%s %s\n --to input and store cert (for ca also)\n\n", progname, "-a -n <nickname> -t <trust> -c <cert> [ -r <csr> -u <issuernickname> [-x <\"\">] -m <serialnumber> ]"); fprintf(stderr, "%s %s\n --to put cert in heade...
... "-r <csr>"); fprintf(stderr, "%-30s - generate a self-signed cert [optional]\n\n", "-x"); fprintf(stderr, "%-30s - to enable ascii [optional]\n\n", "-a"); fprintf(stderr, "%-30s - to save certificate to header file as sig verification [optional]\n\n", "-v"); exit(-1); } /* * validate the options used for generate csr
command */ static void validategeneratecsr
command(const char *progname, const char *dbdir, certname *subject, const char *subjectstr, const char *certreqfilename) { prbool validationfailed = pr_false; if (!subject) { pr_fprintf(pr_stderr, "%s -g -d %s -s: improperly fo...
...And 14 more matches
sample2
*/ #ifndef port_errortostring #define port_errortostring(err) pr_errortostring((err), pr_language_i_default) #endif /* sample 6
commands */ typedef enum { generate_csr, add_cert_to_db, save_cert_to_header, encrypt, decrypt, sign, verify, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4, pubkey = 5, lab = 6, certenc= 7, certvfy= 8, sig = 9 } headertype; /* * print usage message and exit */ static void usage(const char *progname) { fprintf(stderr, "\nusage: %s %s %s %s %s %s %s %s %s %s\n\n", p...
..."-s <subject> -r <csr> | ", "-n <nickname> -t <trust> -c <cert> [ -r <csr> -u <issuernickname> [-x <\"\">] -m <serialnumber> ] | ", "-n <nickname> -b <headerfilename> | ", "-b <headerfilename> -i <ipfilename> -e <encryptfilename> | ", "-b <headerfilename> -i <ipfilename> | ", "-b <headerfilename> -i <ipfilename> | ", "-b <headerfilename> -e <encryptfilename> -o <opfilename> \n"); fprintf(stderr, "
commands:\n\n"); fprintf(stderr, "%s %s\n --for generating cert request (for ca also)\n\n", progname, "-g -s <subject> -r <csr>"); fprintf(stderr, "%s %s\n --to input and store cert (for ca also)\n\n", progname, "-a -n <nickname> -t <trust> -c <cert> [ -r <csr> -u <issuernickname> [-x <\"\">] -m <serialnumber> ]"); fprintf(stderr, "%s %s\n --to put cert in header\n\n", progname, "-h -n <nickname> -b <hea...
... <issuernickname>"); fprintf(stderr, "%-30s - certificate signing request \n\n", "-r <csr>"); fprintf(stderr, "%-30s - generate a self-signed cert [optional]\n\n", "-x"); fprintf(stderr, "%-30s - to enable ascii [optional]\n\n", "-a"); fprintf(stderr, "%-30s - to save certificate to header file as sig verification [optional]\n\n", "-v"); exit(-1); } /* * validate the options used for generate csr
command */ static void validategeneratecsr
command(const char *progname, const char *dbdir, certname *subject, const char *subjectstr, const char *certreqfilename) { prbool validationfailed = pr_false; if (!subject) { pr_fprintf(pr_stderr, "%s -g -d %s -s: improperly formatted name: \"%s\"\n", progname, dbdir, subjectstr); validationfailed = pr_true; } if (!certreqfilename) { pr_fprintf(pr_stderr, "%s -g ...
...And 14 more matches
All keyboard shortcuts - Firefox Developer Tools
command windows macos linux open toolbox (with the most recent tool activated) ctrl + shift + i cmd + opt + i ctrl + shift + i bring toolbox to foreground (if the toolbox is in a separate window and not in foreground) ctrl + shift + i or f12 cmd + opt + i or f12 ctrl + shift + i or f12 close toolbox (if the toolbox is in a separate window and in foreg...
...instead, it focuses on the web console's
command line.
...
command windows macos linux cycle through tools left to right ctrl + ] cmd + ] ctrl + ] cycle through tools right to left ctrl + [ cmd + [ ctrl + [ toggle between active tool and settings.
...And 14 more matches
HTTP logging
don't let the scary-looking
command line stuff frighten you off; it's not hard at all!
... open a
command prompt.
... on windows xp, you can find the "run..."
command in the start menu's "all programs" submenu.
...And 12 more matches
Localizing with Mercurial
mercurial on linux you can easily install mercurial from the
command line by issuing one of the following
commands.
... choose the appropriate
command for your distribution and make sure to run as root.
... mercurial on windows with windows, you have a couple of install options: for a
command line interface, download and install mozillabuild package.
...And 12 more matches
Hacking Tips
to work-around this issue you can use the recording feature of gdb, to step one instruction, and settle back to where you came from with the following set of gdb
commands: (gdb) record full (gdb) si (gdb) record goto 0 (gdb) record stop if you have a core file, you can use the gdb unwinder the same way, or do everything from the
command line as follow: $ gdb -ex 'enable unwinder .* spidermonkey' -ex 'bt 0' -ex 'thread apply all backtrace' -ex 'quit' out/dist/bin/js corefile the gdb unwinder is supposed to be loaded by dist/bin/js-gdb.py and load python scri...
...if gdb does not load the unwinder by default, you can force it to, by using the source
command with the js-gdb.py file.
...once the breakpoint is on codegenerator function of the lir instruction, add a
command to generate a static breakpoint in the generated code.
...And 12 more matches
Index
68 withjsmodulesandchrome moved to howto 69 xpcshell reference automated testing, developing mozilla, javascript, javascript:tools, tools, xpcom:language bindings, xpconnect the
command-line syntax for xpcshell is: 70 xpcshell test manifest expressions qa, testing xpcshell unit tests are run by specifying them in a manifest file.
...actions are needed more for ats that assist the mobility impaired, such as on-screen keyboards and voice
command software.
... 401 nsiclipboard
commands clipboard, interfaces, interfaces:scriptable, xpcom, xpcom api reference, xpcom interface reference returns whether we can copy an image's contents.
...And 12 more matches
MenuItems - Archive of obsolete content
features of the menuitem element the menuitem element has a number of features beyond just being a label for a menu
command.
...for the "open" item in this example, this
command can be invoked by using the "accel" modifier key and pressing 'o'.
...when the user activates the menuitem, the
command event gets fired.
...And 11 more matches
Adobe Flash - Archive of obsolete content
this article explains how javascript can be used to access methods from within the flash plugin, as well as how a feature called fs
commands can be used to access javascript functions from within the flash animation.
...however, if you wish to use fs
commands with the flash plugin to call javascript functions in an html page, then you must use the embed element, as discussed further in the section on fs
commands.
... fs
commands: accessing javascript from flash note: fs
command may not work with flash player versions older than version 8 if the user has installed multiple mozilla based browsers onto the same machine (see bug 32048 and bug 233533).
...And 11 more matches
NSS tools : modutil
please contribute to the initial review in mozilla nss bug 836477[1] description the security module database tool, modutil, is a
command-line utility for managing pkcs #11 module information both within secmod.db files and within hardware tokens.
...use this
command with the -installdir and -tempdir arguments.
...this has several effects: o with the -create
command, only a module security file is created; certificate and key databases are not created.
...And 11 more matches
NSS tools : modutil
synopsis modutil [options] arguments description the security module database tool, modutil, is a
command-line utility for managing pkcs #11 module information both within secmod.db files and within hardware tokens.
...use this
command with the -installdir and -tempdir arguments.
...this has several effects: o with the -create
command, only a module security file is created; certificate and key databases are not created.
...And 11 more matches
Chapter 3: Introduction to XUL—How to build a more intuitive UI - Archive of obsolete content
figure 7: menu items with icons executing
commands when selecting menu items much like dynamic html, event handlers are used to execute a
command when a menu item is selected.
... xul can also use these event handlers, but xul also offers the on
command special event handler to deal with actions that often have specific meanings, such as selection by a left-click (or right-click on systems set up as left-handed) on the mouse or selection by the enter key.
... listing 10 shows an example of the on
command event handler in use.
...And 10 more matches
Notes on HTML Reflow - Archive of obsolete content
to request (or schedule ) an incremental reflow (e.g., in response to a change in the content model), a reflow
command object is created and passed to the presentation shell via the nsipresshell::appendreflow
command method.
... the presentation shell does not process the
command immediately.
... instead, it queues the
command, and processes it asynchronously along with other queued reflow
commands en masse .
...And 10 more matches
XUL Events - Archive of obsolete content
the event handler should be placed on an observer.checkboxstatechangethe checkboxstatechange event is executed when the state of a <checkbox> element has changed.closethe close event is executed when a request has been made to close the window when the user presses the close button.
commandthe
command event is executed when an element is activated.
commandupdatethe
commandupdate event is executed when a
command update occurs on a <
commandset>.
... this event would be used to update the disabled status of its
commands.dommenuitemactivethe dommenuitemactive event is executed when a <menu> or a <menuitem> has been hovered or highlighted.dommenuiteminactivethe dommenuiteminactive event is executed when a <menu> or a <menuitem> in no longer hovered or highlighted.popuphiddenthe popuphidden event is executed when a <menupopup>, <panel> or <tooltip> has become hidden.popuphidingthe popuphiding event is executed when a <menupopup>, <panel> or <tooltip> is about to be hidden.popupshowingthe popupshowing event is executed when a <menupopup>, <panel> or <tooltip> is about to become visible.
...you should not use this event in xul to respond to user actions; the
command event should be used instead.
...And 10 more matches
Textbox (XPFE autocomplete) - Archive of obsolete content
autocompletesearchparam, autofill, autofillaftermatch, autofill, completedefaultindex, crop, disableautocomplete, disableautocomplete, disabled, disablehistory, enablehistory, focused, forcecomplete, forcecomplete, highlightnonmatches, ignoreblurwhilesearching, ignoreblurwhilesearching, inputtooltiptext, label, maxlength, maxrows, minresultsforpopup, minresultsforpopup, nomatch, onchange, onerror
command, oninput, onsearchcomplete, ontext
command, ontextentered, ontextrevert, ontextreverted, open, readonly, searchsessions, showcommentcolumn, showcommentcolumn, showpopup, size, tabindex, tabscrolling, tabscrolling, timeout, type, useraction, value properties accessible, alwaysopenpopup, autofill, autofillaftermatch, completedefaultindex, crop, disableautocomplete, disabled, editable...
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...="findfile-window" title="find files" orient="horizontal" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="text/javascript"> function myfunction(e){ /* do something cool here or just say the below */ alert(e.target.nodename); } </script> <textbox id="find-text" onchange="return myfunction(event);"/> </window> onerror
command type: script code this event handler is called when an error occurs when selecting a result from the popup.
...And 10 more matches
Keyboard Shortcuts - Archive of obsolete content
however, it would be tedious to do that for every button and menu item (though it could be necessary when one's key
commands are only triggered when the user is focused on a particular element).
... example 1 : source view <menubar id="sample-menubar"> <menu id="file-menu" label="file" accesskey="f"> <menupopup id="file-popup"> <menuitem id="close-
command" label="close" accesskey="c"/> </menupopup> </menu> </menubar> you can also use the accesskey attribute on buttons.
...this is the
command key on the macintosh.
...And 10 more matches
Introduction to automated testing - Learn web development
to update npm, use the following
command in your terminal: npm install npm@latest -g note: if the above
command fails with permissions errors, fixing npm permissions should sort you out.
... create a new directory somewhere sensible using your file manager ui, or, on a
command line, by navigating to the location you want and running the following
command: mkdir node-test to make this directory an npm project, you just need to go inside your test directory and initialize it, with the following: cd node-test npm init this second
command will ask you many questions to find out the information required to set up the project; you can just select the defaults for now.
... first, install gulp globally (meaning, it will be available across all projects) using the following
command: npm install --global gulp-cli next, run the following
command inside your npm project directory root to set up gulp as a dependency of your project: npm install --save-dev gulp now create a new file inside your project directory called gulpfile.js.
...And 10 more matches
NSS Tools ssltap
using the ssl debugging tool (ssltap) newsgroup: mozilla.dev.tech.crypto the ssl debugging tool is an ssl-aware
command-line proxy.
... description the ssltap
command opens a socket on a rendezvous port and waits for an incoming connection from the client side.
... syntax to run the ssl debugging tool, type this
command in a
command shell: ssltap [-vhfsxl] [-p port] hostname:port options the
command does not require any options other than hostname:port, but you normally use them to control the connection interception and output.
...And 10 more matches
MenuButtons - Archive of obsolete content
the 'menu' button the 'menu' type of button is used when pressing the button alone should just open the menu and not execute a
command directly.
... this works similarly to the menu tag, and would be used to present a set of
commands to execute.
...this is accomplished by dividing the button into two parts, one with the label and image to carry out the default
command and the second to show the menu.
...And 9 more matches
textbox - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... searchbutton type: boolean if true, the search field will only fire a
command event when the user presses the search button or presses the enter key.
... otherwise, the
command event is fired whenever the user modifies the value.
...And 9 more matches
How do I use GitHub Pages? - Learn web development
to do this: point the
command line to your test-site directory (or whatever you called the directory containing your website).
... for this, use the cd
command (i.e.
...here's what you'd type if you've put your website in a directory called test-site on your desktop: cd desktop/test-site when the
command line is pointing inside your website directory, type the following
command, which tells the git tool to turn the directory into a git repository: git init an aside on
command line interfaces the best way to upload your code to github is via the
command line — this is a window where you type in
commands to do things like create files and run programs, rather than clicking inside a user interface.
...And 9 more matches
Setting up your own test automation environment - Learn web development
to install selenium-webdriver, run the following
command, making sure you are inside your project folder: npm install selenium-webdriver note: it is still a good idea to follow these steps even if you previously installed selenium-webdriver and downloaded the browser drivers.
... paste the following into the bottom of your file (updating the path as it actually is on your machine): #add webdriver browser drivers to path export path=$path:/users/bob save and close this file, then restart your terminal/
command prompt to reapply your bash configuration.
...river.key.tab); }); driver.findelement(by.name('btnk')).click(); driver.sleep(2000).then(function() { driver.gettitle().then(function(title) { if(title === 'webdriver - google search') { console.log('test passed'); } else { console.log('test failed'); } driver.quit(); }); }); in terminal, make sure you are inside your project folder, then enter the following
command: node google_test you should see an instance of firefox automatically open up!
...And 9 more matches
key - Archive of obsolete content
when a key matching the attributes on the key element is pressed, the
command will be fired on the key element.
... for the shortcut defined using the key element to work, you must specify a
command attribute (or an on
command handler) on the key element.
... to display the shortcut defined with the key element in the ui, you can use <menuitem key="key element's id"
command="
command id" .../>.
...And 8 more matches
Eclipse CDT Manual Setup
setup time some points in the rest of this document below are old and taken care of by the mach
commands described above (although some of the project configuration is not done automatically yet).
... the consequences of the above observations are this: it is strongly recommended that you invoke your normal (re)builds from the
command line, externally of eclipse.
...select the "builder settings" tab, untick "use default build
command", set the build
command to "just-print-mozilla-build.py" or, if you're on mac, to "bash -l -c 'just-print-mozilla-build.py'" (on mac eclipse doesn't seem to pick up the environment properly, so it's necessary to invoke just-print-mozilla-build.py indirectly through bash).
...And 8 more matches
Localizing without a specialized tool
folder structure in all examples: your working directory (root) mozilla-1.9.2 (en-us source, pulled from http://hg.mozilla.org/releases/mozilla-1.9.2) l10n-mozilla-1.9.2 (a directory containing localization directories, one dir per localization; often referred to as "l10n base") x-testing (a directory with your localization files) please either follow this structure closely or adjust all
commands in the documentation as needed by your custom set-up.
... get the source change your current directory to your working directory with the following
command: $ cd /path/to/your/working/directory first, you will need to check out the sources of mozilla-1.9.2 together with the en-us strings.
... assuming that you have installed mercurial, issue the following
command: $ hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 this will pull the mozilla 1.9.2 sources from the remote repository and create a mercurial clone in mozilla-1.9.2 inside your working directory.
...And 8 more matches
Release phase
we'll primarily focus on getting your release repository setup and the mercurial
commands you'll need to know to use that repository.
... add the following lines to your ~/.ssh/config file, replacing user@host.domain with your mozilla ldap account name: host hg.mozilla.org user user@host.domain if you have already cloned the remote repository using the http protocol using this
command: $ hg clone http://hg.mozilla.org/releases/l10n-central/x-testing then you will need to edit the .hg/hgrc file (inside the x-testing local clone) to tell mercurial to push using ssh.
... your .hg/hgrc file shoud look like this (add the emphasized line): [paths] default = hg.mozilla.org/releases/l10n-central/x-testing default-push = ssh://hg.mozilla.org/releases/l10n-central/x-testing if you haven't already cloned the remote repository, enter this
command: hg clone ssh://hg.mozilla.org/releases/l10n-central/x-testing mercurial will let you know that it's cloning the repository: destination directory: x-testing requesting all changes adding changesets adding manifests adding file changes added 4 changesets with 242 changes to 239 files updating to branch default 239 files updated, 0 files merged, 0 files removed, 0 files unresolved the default push url is the same as the default pull url (i.e., ssh://hg.mozilla.org/releases/l10n-central/x-testing).
...And 8 more matches
Getting Started (jpm) - Archive of obsolete content
the add-on sdk includes a
command-line tool that you use to initialize, run, test, and package add-ons.
... the
command-line jpm tool.
...once you've done that, you'll be looking at a
command prompt.
...And 7 more matches
textbox (Toolkit autocomplete) - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...for search textboxes, the number of milliseconds before the timer fires a
command event.
...for timed textboxes, the number of milliseconds before the timer fires a
command event.
...And 7 more matches
Focus and Selection - Archive of obsolete content
getting the currently focused element the currently focused element is held by an object called a
command dispatcher, of which there is only one for the window.
... the
command dispatcher is responsible for keeping track of the focused element as the user uses the interface.
... the
command dispatcher has other roles, which will be discussed in a later section on
commands.
...And 7 more matches
Bootstrapping a new locale
(you should "cd" to the directory before beginning.) in the terminal, type the following
command: $ hg clone http://hg.mozilla.org/releases/mozilla-x.x.x/ where "x.x.x" is the existing release branch version.
... before you run the copy
commands, you need to make the locale directory at the same level as the mozilla-1.9.x/ you just cloned from above.
... navigate to that level making sure you are *not* inside mozilla-1.9.x/ and then run the following
commands.
...And 7 more matches
QA phase
please either follow the above structure closely or adjust the
commands below according to your custom setup.
... to copy this file to the appropriate directory, do the following: navigate to your working directory from your
command-line terminal (i.e., where you created the folder structure described above).
... enter the following
commands: mkdir -p l10n-central/x-testing/toolkit/ cp mozilla-aurora/toolkit/locales/defines.inc l10n-central/x-testing/toolkit/defines.inc tah-dah!
...And 7 more matches
SVN for Localizers
mac os x users can find svn inside the
command line tools (available on the apple developer website), or use tools like homebrew or fink.
...a possible alternative is to install tortoisesvn (graphical interface and
command line client).
...here's the layout you will find within the projects/mozilla.com directory: navigating from the
command-line with your svn client, you'll find three directories within projects/mozilla.com.
...And 7 more matches
NSS tools : signtool
note that with netscape signing tool version 1.1 and later this option can appear multiple times on one
command line, making it possible to specify multiple file types or classes to include.
... -f
commandfile specifies a text file containing netscape signing tool options and arguments in keyword=value format.
...the directory to sign is always specified as the last
command-line argument.
...And 7 more matches
Rhino shell
arguments the arguments object is an array containing the strings of all the arguments given at the
command line when the shell was invoked.
... history displays the shell
command history.
... run
command(
commandname, [arg, ...] [options]) execute the specified
command with the given argument and options as a separate process and return the exit status of the process.
...And 7 more matches
nsIController
content/xul/document/public/nsicontroller.idlscriptable an interface that can be implemented to receive and process
commands and events.
... inherits from: nsisupports last changed in gecko 1.7 method overview void do
command(in string
command); boolean is
commandenabled(in string
command); void onevent(in string eventname); boolean supports
command(in string
command); methods do
command() when this method is called, your implementation should execute the
command with the specified name.
... void do
command( in string
command ); parameters
command the name of the
command to execute.
...And 7 more matches
Browser Console - Firefox Developer Tools
nb: the browser console
command line (to execute javascript expressions) is disabled by default.
... you can also start the browser console by launching firefox from the
command line and passing the -jsconsole argument: /applications/firefoxaurora.app/contents/macos/firefox-bin -jsconsole the browser console looks like this: you can see that the browser console looks and behaves very much like the web console: most of the window is occupied by a pane that display messages.
... at the bottom, a
command line interpreter enables you to evaluate javascript expressions.
...And 7 more matches
Migrating from Firebug - Firefox Developer Tools
it shows log information associated with a web page and allows you to execute javascript expressions via its
command line.
...
command line api the
command line api in firebug provides some special functions for your convenience.
... the developer tools
command line has some functions in common, but also has some other functions and misses others.
...And 7 more matches
Getting started (cfx) - Archive of obsolete content
this tutorial walks through creating a simple add-on using the cfx
command-line tool.
...once you've done that, you'll be looking at a
command prompt.
... initializing an empty add-on in the
command prompt, create a new directory.
...And 6 more matches
Windows and menus in XULRunner - Archive of obsolete content
menus and toolbars most desktop applications are complex enough to require some sort of menu and/or toolbar to structure the application’s available
commands.
...icapp/skin/main.css" type="text/css"?> <!doctype window system "chrome://basicapp/locale/main.dtd"> <window id="main" title="&title;" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script src="main.js"/> <toolbox> <menubar id="menubar"> <menu id="file-menu" label="&file;"> <menupopup id="file-popup"> <menuitem label="&file.new;" on
command="dofilenew();"/> <menuitem label="&file.open;" on
command="dofileopen();"/> <menuitem label="&file.save;" on
command="dofilesave();"/> <menuseparator/> <menuitem label="&file.exit;" on
command="dofileexit();"/> </menupopup> </menu> <menu id="edit-menu" label="&edit;"> <menupopup id="edit-popup"> <menuitem label="&edit.undo...
...;" on
command="doeditundo();"/> <menuitem label="&edit.redo;" on
command="doeditredo();"/> </menupopup> </menu> </menubar> <toolbar id="main-toolbar"> <toolbarbutton id="open" label="&file.open;" on
command="dofileopen();"/> <toolbarbutton id="save" label="&file.save;" on
command="dofilesave();"/> </toolbar> </toolbox> ...
...And 6 more matches
Creating a Language Pack
windows: replace make with mozmake in the
commands below!
... while in that directory, issue the following
command: $ make merge-x-testing locale_mergedir=$(pwd)/mergedir x-testing: browser chrome browser aboutcerterror.dtd // add and localize this file ...
... x-testing: changed: 6 missinginfiles: 6124 missing: 5 0% of entries changed this step is not necessary anymore to create the language pack, because it is included in the next
command.
...And 6 more matches
Debugging on Mac OS X
to obtain a hardened runtime build without using try infrastructure, a developer can manually codesign builds using the macos codesign(1)
command with the developer.entitlements.xml file from the tree.
... the .lldbinit file in the source tree imports many useful mozilla specific lldb settings,
commands and formatters into lldb, but you may need to take one of the following steps to make sure this file is used.
... if you are using lldb on the
command line (independently of xcode) and you will always run it from either the top source directory, the object directory or else the dist/bin subdirectory of the object directory, then adding the following setting to your $home/.lldbinit is sufficient: settings set target.load-cwd-lldbinit true however, if you will run lldb from a different directory, or if you will be running it indirectly by debugging in xcode (xcode always runs lldb from "/"), then this setting will not help you.
...And 6 more matches
Debugging on Windows
if you have followed the steps in building firefox for windows and have a local debug build, you can execute ./mach run --debug from the same
command line.
...
command line parameters and environment variables vc++ 6.0: to change or set the
command line options, go to project > settings..., debug tab and select general from the drop down list.
... in vc 7 and 8 this option is called project > properties > debugging >
command arguments.
...And 6 more matches
Getting Started with Chat
commands the following is a list of
commands you should be familiar with.
...if #channel is not specified, the
command is executed for the current channel.
...if a #channel is not specified, the
command is executed for the current channel.
...And 6 more matches
NSS Tools modutil
using the security module database (modutil) newsgroup: mozilla.dev.tech.crypto the security module database tool is a
command-line utility for managing pkcs #11 module information within secmod.db files or within hardware tokens.
... syntax to run the security module database tool, type the
command modutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 6 more matches
Rich-Text Editing in Mozilla - Developer guides
the most basic keyboard
commands such as copy and paste are available, all others need to be implemented by the website.
... executing
commands when an html document has been switched to designmode, the document object exposes the document.exec
command method which allows one to run
commands to manipulate the contents of the editable region.
... most
commands affect the document's selection (bold, italics, etc), while others insert new elements (adding a link) or affect an entire line (indenting).
...And 6 more matches
Making content editable - Developer guides
</div> here's the above html in action: executing
commands when an html element has contenteditable set to true, the document.exec
command() method is made available.
... this lets you run
commands to manipulate the contents of the editable region.
... most
commands affect the document's selection by, for example, applying a style to the text (bold, italics, etc), while others insert new elements (like adding a link) or affect an entire line (indenting).
...And 6 more matches
The Essentials of an Extension - Archive of obsolete content
unix-based systems have a
command line tool called uuidgen that generates uuids.
...even old
command line editors work well with files that cut their lines at 80 characters.
...most important part of the content: <menubar id="main-menubar"> <menu id="xulschoolhello-hello-menu" label="&xulschoolhello.hello.label;" accesskey="&xulschoolhello.hellomenu.accesskey;" insertafter="helpmenu"> <menupopup> <menuitem id="xulschoolhello-hello-menu-item" label="&xulschoolhello.hello.label;" accesskey="&xulschoolhello.helloitem.accesskey;" on
command="xulschoolchrome.browseroverlay.sayhello(event);" /> </menupopup> </menu> </menubar> <vbox id="appmenusecondarypane"> <menu id="xulschoolhello-hello-menu-2" label="&xulschoolhello.hello.label;" accesskey="&xulschoolhello.hellomenu.accesskey;" insertafter="appmenu_addons"> <menupopup> <menuitem id="xulschoolhello-hello-menu-item-2" label="&xulschoolhello.hello.la...
...And 5 more matches
Menu - Archive of obsolete content
properties property type description
command function a function that will be called when the menuitem is clicked.
... if the menu property is present,
command will instead be called when any of the item's descendants is clicked.
... in that case, the
commands of descendants will be invoked first.
...And 5 more matches
Running Tamarin performance tests - Archive of obsolete content
performance test options there are a variety of options available with runtests.py - here is the help text followed by explanations for some options: $ ./runtests.py -h usage: runtests.py [options] [tests] -v --verbose enable additional output -e --avm avmplus
command to use -a --asc compiler to use -g --globalabc deprecated but still works - use builtin.abc (used to be location of global.abc) -b --builtinabc location of builtin.abc -s --shellabc location of shell_toplevel.abc -x --exclude comma separated list of directories to skip -h --help display help and exit -t --notime do not generate timestamps (cleaner diffs...
...t -1 = never timeout) --html also create an html output file --notimecheck do not recompile .abc if timestamp is older than .as --java location of java executable (default=java) --javaargs arguments to pass to java --random run tests in random order --seed explicitly specify random seed for --random -s --avm2 second avmplus
command to use --avmname nickname for avm to use as column header --avm2name nickname for avm2 to use as column header --detail display results in 'old-style' format --raw output all raw test values -i --iterations number of times to repeat test -l --log logs results to a file -k --socketlog logs results to a socket server -r --runtime na...
...g --perfm parse the perfm results from avm --csv= also output to csv file, filename required --csvappend append to csv file instead of overwriting --score compute and print geometric mean of scores --index= index file to use (must end with .py) --saveindex= save results to given index file name option details indexing: there are two
command line flags that control indexing: --index and —saveindex both require an index filename to be specified after the flag.
...And 5 more matches
Tamarin build documentation - Archive of obsolete content
use the following
command to create a copy of the tamarin repository: $ hg clone http://hg.mozilla.org/tamarin-central tamarin-central tips for working with mercurial can be found here.
...note that additional
command-line arguments are only available in the debug configuration.
...nor does any other brand of make.) with the right prerequisites, use these
commands to build tamarin: $ hg clone http://hg.mozilla.org/tamarin-redux/ $ cd tamarin-redux $ mkdir objdir-release $ cd objdir-release $ python ../configure.py $ make ...
...And 5 more matches
Modifying a XUL Interface - Archive of obsolete content
for example, the following will add a button to a xul window: example 1 : source view <script> function addbutton(){ var abox = document.getelementbyid("abox"); var button = document.createelement("button"); button.setattribute("label","a new button"); abox.appendchild(button); } </script> <box id="abox" width="200"> <button label="add" on
command="addbutton();"/> </box> this example has two parts a box container element in xul.
... the button element has two attributes "label" and "on
command" a javascript function named "addbutton()" this script first gets a reference to the box with getelementbyid(), which is the container to add a new button to.
... the function getelementbyid() does not know that the box it is looking for happens to be containing the tag that has the on
command attribute that referenced it.
...And 5 more matches
toolbarbutton - Archive of obsolete content
attributes accesskey, autocheck, checkstate, checked,
command, crop, dir, disabled, dlgtype, group, image, label, on
command, open, orient, tabindex, title, type, validate properties accesskey, accessibletype, autocheck, checkstate, checked,
command, crop, dir, disabled, dlgtype, group, image, label, open, orient, tabindex, type examples <toolbar id="test-toolbar"> <toolbarbutton accesskey="p" label="plain"/> <toolbarbutton accesskey="c" la...
...
command type: id set to the id of a
command element that is being observed by the element.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...And 5 more matches
MacFAQ - Archive of obsolete content
to do this, type: xulrunner-bin --install-app /path/to/appdir note the path to your application must end with the directory containing application.ini; you should not reference application.ini in this
command.
... this
command will place a copy of your application in /applications/(vendor)/(name) , where (vendor) is the vendor field in your application.ini and (name) is the name field.
...for
command-line work, you would call on: /applications/(vendor)/(name).app/contents/macos/xulrunner ui notes menus to enable your application quit
command to work with the application menu (the one to the right of the blue apple), you need to give your quit menu item an id of "menu_filequititem".
...And 5 more matches
Using SSH to connect to CVS - Archive of obsolete content
the following
command should generate a suitable key pair: ssh-keygen -t dsa this will take a moment, followed by a prompt for a passphrase.
... if you are behind a firewall with an http tunneling proxy, you can use a program called corkscrew, in combination with the proxy
command ssh config directive to continue to access the mozilla cvs server.
... make sure you have a ~/.ssh/config file that has at least the following directives preferredauthentications hostbased,publickey,password host cvs.mozilla.org proxy
command corkscrew <i>proxyserver.foo.com</i> <i>port</i> %h %p replaceproxyserver.foo.com with the hostname of your proxy server, andport with the numeric tcp port on which the http tunnel is running.
...And 5 more matches
Multiple Firefox profiles
linux if firefox is already included in your linux distribution, or if you have installed firefox with the package manager of your linux distribution: open a terminal emulator or your shell’s
command prompt: alt-f2 if you use gnome shell or kde plasma, consult your desktop environment documentation for other environments.
... here is a complete example terminal
command from steps 2-3: /applications/firefox.app/contents/macos/firefox -profile /users/suzie/library/application\ support/firefox/profiles/r99d1z7c.default if the profile manager window does not open, firefox may have been running in the background, even though it was not visible.
... if you want to have the profile manager to pop up each time you start firefox, so you can choose a profile, you will need to set the
command line for your new launcher.
...And 5 more matches
Application Translation with Mercurial
by pressing the windows key and r on the keyboard or by calling the "run..."
command from the windows "start" button, and then typing cmd and pressing the enter key.
... copy the repository to your computer by running the following
command: hg clone http://hg.mozilla.org/releases/l10n/mozilla-aurora/de/ de-mozilla-aurora this should proceed pretty fast.
... on windows, you can paste the url by calling the paste
command from the window menu in the upper left corner of the window.
...And 5 more matches
NSS tools : crlutil
please contribute to the initial review in mozilla nss bug 836477[1] description the certificate revocation list (crl) management tool, crlutil, is a
command-line utility that can list, generate, modify, or delete crls within the nss security database file(s) and list, create, modify or delete certificates entries in a particular crl.
... to run the certificate revocation list management tool, type the
command crlutil option [arguments] where options and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 5 more matches
NSS Tools certutil
using the certificate database tool the certificate database tool is a
command-line utility that can create and modify the netscape communicator cert8.db and key3.db database files.
... syntax to run the certificate database tool, type the
command certutil option [arguments ] where options and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 5 more matches
NSS Tools crlutil
using the certificate revocation list management tool newsgroup: mozilla.dev.tech.crypto the certificate revocation list (crl) management tool is a
command-line utility that can list, generate, modify, or delete crls within the nss security database file(s) and list, create, modify or delete certificates entries in a particular crl.
... syntax to run the certificate revocation list management tool, type the
command crlutil option [arguments] where options and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 5 more matches
NSS tools : crlutil
synopsis crlutil [options] arguments description the certificate revocation list (crl) management tool, crlutil, is a
command-line utility that can list, generate, modify, or delete crls within the nss security database file(s) and list, create, modify or delete certificates entries in a particular crl.
... to run the certificate revocation list management tool, type the
command crlutil option [arguments] where options and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 5 more matches
Introduction to the JavaScript shell
the javascript shell (js) is a
command-line program included in the spidermonkey source distribution.
...you can also pass in, on the
command line, a javascript program file to run, in which case the program is run automatically.
... after following the build documentation and installing the built shell using make install, you can run the shell in interactive mode using the
command: js [ if you get " symbol lookup error: ./js: undefined symbol: pr_setcurrentthreadname" e.g.
...And 5 more matches
Document - Web APIs
document.exec
command() on an editable document, executes a formating
command.
... document.query
commandenabled() returns true if the formating
command can be executed on the current range.
... document.query
commandindeterm() returns true if the formating
command is in an indeterminate state on the current range.
...And 5 more matches
jpm-mobile - Archive of obsolete content
jpm usage is: jpm-mobile [
command] [options] jpm supports the following global options: -h, --help - show a help message and exit -v, --version - print the jpm version number installation jpm-mobile is distributed using the node package manager npm, so to get jpm-mobile you need to have npm installed, if you haven't already.
... after that you can install jpm just as you would any other npm package: npm install jpm-mobile -g depending on your setup, you might need to run this as an administrator: sudo npm install jpm-mobile -g at the
command prompt, type: jpm-mobile you should see a screen summarizing the available jpm-mobile
commands.
... note that unlike cfx, jpm-mobile is available in every
command prompt you start, as long as you installed it with the -g flag.
...And 4 more matches
Chapter 5: Let's build a Firefox extension - Archive of obsolete content
listing 3: additional content for overlay.xul <?xml version="1.0"?> <overlay id="helloworldoverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <menupopup id="menu_toolspopup"> <menuitem id="helloworldmenuitem" label="hello, world!" insertbefore="sanitizeseparator" on
command="window.opendialog('chrome://helloworld/content/clock.xul','clock','chrome,centerscreen,modal');"/> </menupopup> </overlay> phase 2: adding a function to display the time in phase 2, we will make it so that selecting the hello world menu item we created in phase 1 will display a window with the time (figure 6).
...you’ll also add a new
command element, so that a click on the toolbar button will share its process with the menu item.
... listing 11: revisions to overlay.xul <?xml version="1.0"?> <overlay id="helloworldoverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <
commandset id="main
commandset"> <
command id="helloworld
command" on
command="window.opendialog( 'chrome://helloworld/content/clock.xul', 'clock','chrome,centerscreen,modal');" /> </
commandset> <toolbarpalette id="browsertoolbarpalette"> <toolbarbutton id="helloworldbutton" label="hello, world!" class="toolbarbutton-1"
command="helloworld
command" /> </toolbarpalette> <menupopup id="menu_toolspopup"> <menuitem id="helloworldmenuitem" label="hello, world!" insertbefore="sanitizeseparator"
command="helloworld
command" /> </menupopup> </overlay> create the style sheet update the file overlay.css...
...And 4 more matches
Migrate apps from Internet Explorer to Mozilla - Archive of obsolete content
again, if the web page is in strict mode, you must set a unit or else mozilla will ignore the
command.
...once turned into the editor,
commands can run on the document through the exec
command command.
...however, mozilla allows you to toggle between html and css mode using the usecss exec
command and toggling it between true and false.
...And 4 more matches
OpenClose - Archive of obsolete content
here is a complete example which uses a button to open a menu: <button label="open menu" on
command="document.getelementbyid('editmenu').open = true;"/> <menu id="editmenu" label="edit"> <menupopup> <menuitem label="cut"/> <menuitem label="copy"/> <menuitem label="paste"/> </menupopup> </menu> this technique may be used for both menupopups that use the menu tag, the button tag and the toolbarbutton tag.
... as with other ways of opening a menu, the popupshowing event will be fired to provide an opportunity to customize the
commands that appear on the menu.
...when an menu item is selected, it fires a
command event so that code may be used to perform an action.
...And 4 more matches
Simple Menu Bars - Archive of obsolete content
this box contains the list of menu
commands.
... menuitem an individual
command on a menu.
...the size of the popup will be large enough to fit the
commands inside it.
...And 4 more matches
XUL Event Propagation - Archive of obsolete content
the availability of event listeners is also somewhat pre-determined, though xul provide generalized event listeners (i.e., on
command event listeners) for most of the elements in the widget hierarchy.
... the widget hierarchy consider the following xul file: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="events" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" on
command="alert('window handler')"> <vbox> <vbox style="background-color: lightgrey;" on
command="alert('box handler')"> <menu class="menu" label="file" on
command="alert('menu handler')"> <menupopup> <menuitem on
command="alert('new item alert')" label="new" /> <menuitem label="open" /> <menuitem on
command="alert('close handler')" label="close" /> </menupopup> </menu> ...
... <menu class="menu" label="edit"> <menupopup> <menuitem on
command="alert('edit source handler')" label="edit source" /> <menuitem label="reload" /> <menuitem label="view source" /> </menupopup> </menu> </vbox> <spring flex="1" /> </vbox> </window> in this file, the lowest-down, or "leaf" elements are the menuitems.
...And 4 more matches
button - Archive of obsolete content
attributes accesskey, autocheck, checkstate, checked,
command, crop, dir, disabled, dlgtype, group, icon, image, label, open, orient, tabindex, type properties accesskey, accessibletype, autocheck, checkstate, checked,
command, crop, dir, disabled, dlgtype, group, image, label, open, orient, tabindex, type examples <button label="press me" on
command="alert('you pressed me!');"/> attributes accesskey type: character this should...
...
command type: id set to the id of a
command element that is being observed by the element.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...And 4 more matches
Eclipse CDT
in the case of the build-backend
command, instructions on how to open the project will be displayed after the
command completes.
...for example, changing the find next
command to cmd-g/ctrl-g is not sufficient.
...if you want to change this awkward key binding, the
command you need to rebind is "next editor".
...And 4 more matches
Localizing with Koala
the easy way involves opening the console and issuing the following
commands: c:\users\stas> cd c:\mozilla\l10n\application\firefox c:\mozilla\l10n\application\firefox> rmdir 3.6 c:\mozilla\l10n\application\firefox> hg clone http://hg.mozilla.org/releases/mozilla-1.9.2 3.6 requesting all changes adding changesets adding manifests adding file changes added 33099 changesets with 158636 changes to 50664 files (+9 heads) updating working directory 40357 files updated, 0 file...
...just open the console and issue the following
commands: c:\users\stas> cd c:\mozilla\l10n\locale\x-testing c:\mozilla\l10n\locale\x-testing> rmdir 3.6 c:\mozilla\l10n\locale\x-testing> hg clone http://hg.mozilla.org/releases/l10n-mozilla-1.9.2/x-testing 3.6 new localizations: if you have the bitbucket repository already set up by l10n-drivers, the steps are the same as above.
...for the purposes of this tutorial, we will switch to the
command line every now and then to see what koala does behind the scenes.
...And 4 more matches
powermetrics
powermetrics is a mac-only
command-line utility that provides many high-quality power-related measurements.
... it is most useful for getting cpu, gpu and wakeup measurements in a precise and easily scriptable fashion (unlike activity monitor and top) especially in combination with rapl via the mach power
command.
...the following
command encompasses the most useful ones: sudo powermetrics --samplers tasks --show-process-coalition --show-process-gpu -n 1 -i 5000 --samplers tasks tells it to just do per-process measurements.
...And 4 more matches
Enc Dec MAC Output Public Key as CSR
gin key label-----" #define lab_trailer "-----end key label-----" #define pubkey_header "-----begin pub key -----" #define pubkey_trailer "-----end pub key -----" #define ns_certreq_header "-----begin new certificate request-----" #define ns_certreq_trailer "-----end new certificate request-----" typedef enum { gen_csr, encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4, pubkey = 5, lab = 6 } headertype; /* this is conditionalized because port_errortostring was introduced with nss 3.13.
...and produces\n", "note :"); fprintf(stderr, "%-7s .enc and .header as intermediate output files.\n\n", ""); fprintf(stderr, "%-7s for decrypt, it takes .enc and .header\n", ""); fprintf(stderr, "%-7s as input files and produces as a final output file.\n\n", ""); exit(-1); } /* map option letter enumerated commad type */ static
commandtype option2
command(const char* c) { switch (*c) { case 'g': return gen_csr; case 'e': return encrypt; case 'd': return decrypt; default: return unknown; } } /* * wrap the symkey using public key */ secstatus wrapkey(pk11symkey* key, seckeypublickey *pubkey, secitem **wrappedkey) { secstatus rv; secitem *data = (secitem *)port_zalloc(sizeof(secitem)); if (!
... */ int main(int argc, char **argv) { secstatus rv; secstatus rvshutdown; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; pk11slotinfo *slot = null; prbool ascii = pr_false;
commandtype cmd = unknown; prfiledesc *infile = null; prfiledesc *outfile = null; char *subjectstr = null; certname *subject = null; const char *dbdir = null; const char *infilename = null; const char *outfilename ...
...And 4 more matches
Rebranding SpiderMonkey (1.8.5)
after installing the build pre-requisites and downloading the spidermonkey source tarball issue the following
commands at the terminal: cd js/src autoconf-2.13 for the remainder of this document wherever you see the text $brand you will substitute that text with the name of your brand.
...the only required part in this step is the ../configure
command.
...in the unix world we would issue the following
command: find ./ -type f -exec sed -i "s/mozjs185/$brand/" {} \; windows users: notepad++ can be used to perform the recursive find and replace text operation.
...And 4 more matches
Performance
a
command that will give you a higher level overview is "explain query plan".
...you can download the
command line tool from the sqlite download page.
... be sure you have a version of the
command line tool that is at least as recent as what mozilla uses.
...And 4 more matches
TextRange - Web APIs
textrange.exec
command() executes a
command on the current document, the current selection, or the given scope.
... textrange.query
commandenabled() returns a boolean indicating whether the specified
command can be executed successfully with the exec
command method in the current state of the given document.
... you can also see document.query
commandenabled().
...And 4 more matches
Authoring MathML - MathML
in thunderbird, you can use the "insert html"
command to paste your html+mathml code.
... latexmathml is a similar script that allows to parse more latex
commands.
...
command-line programs an alternative way is to parse the simple syntax before publishing your web pages.
...And 4 more matches
Developing for Firefox Mobile - Archive of obsolete content
now open up a
command shell.
...then execute jpm-mobile run with some extra options: jpm-mobile run --adb /path/to/adb in the
command shell, you should see something like: launching mobile application with intent name org.mozilla.fennec pushing the addon to your device starting: intent { act=android.activity.main cmp=org.mozilla.fennec/.app (has extras) } --------- beginning of /dev/log/main --------- beginning of /dev/log/system could not read chrome manifest 'file:///data/data/org.mozilla.fennec/chrome.manifest'.
... console.log() output from your add-on is written to the
command shell, just as it is in desktop development.
...And 3 more matches
Adding menus and submenus - Archive of obsolete content
the toolbox should be positioned near the top of the xul document, and the code should be similar to this: <toolbox> <menubar id="xulschoolhello-menubar"> <menu id="xulschoolhello-greeting-menu" label="&xulschoolhello.greeting.label;"> <menupopup> <menuitem label="&xulschoolhello.greet.short.label;" on
command="xulschoolchrome.greetingdialog.greetingshort(event);" /> <menuitem label="&xulschoolhello.greet.medium.label;" on
command="xulschoolchrome.greetingdialog.greetingmedium(event);" /> <menuitem label="&xulschoolhello.greet.long.label;" on
command="xulschoolchrome.greetingdialog.greetinglong(event);" /> <menuseparator /> <menuitem label="&xulschoolhe...
...llo.greet.custom.label;" on
command="xulschoolchrome.greetingdialog.greetingcustom(event);" /> </menupopup> </menu> </menubar> </toolbox> this code displays a simple menu with options for 3 different types of greetings, a menuseparator, and finally an option to show a custom greeting.
...u in order to have multiple nesting levels: <toolbox> <menubar id="xulschoolhello-menubar"> <menu id="xulschoolhello-greeting-menu" label="&xulschoolhello.greeting.label;"> <menupopup> <menu id="xulschoolhello-greeting-sizes-menu" label="&xulschoolhello.greetingsizes.label;"> <menupopup> <menuitem label="&xulschoolhello.greet.short.label;" on
command="xulschoolchrome.greetingdialog.greetingshort(event);" /> <menuitem label="&xulschoolhello.greet.medium.label;" on
command="xulschoolchrome.greetingdialog.greetingmedium(event);" /> <menuitem label="&xulschoolhello.greet.long.label;" on
command="xulschoolchrome.greetingdialog.greetinglong(event);" /> </menupopup> </menu> ...
...And 3 more matches
MCD, Mission Control Desktop, AKA AutoConfig - Archive of obsolete content
p://hg.mozilla.org/comm-central/ commsrc requesting all changes adding changesets adding manifests adding file changes added 2975 changesets with 16793 changes to 7117 files (+3 heads) updating working directory 5644 files updated, 0 files merged, 0 files removed, 0 files unresolved real 0m40.771s user 0m9.284s sys 0m1.304s [root@b008-02 commsrc]# python client.py checkout executing
command: ['hg', 'pull', '-r', './.', '-r', 'tip'] pulling from http://hg.mozilla.org/comm-central/ searching for changes no changes found executing
command: ['hg', 'update', '-r', 'default', '-r', './.'] 0 files updated, 0 files merged, 0 files removed, 0 files unresolved updated to revision c10119db13cad9797b05750bfe18a57261a88922.
... executing
command: ['hg', 'clone', 'http://hg.mozilla.org/releases/mozilla-1.9.1/', './mozilla'] requesting all changes adding changesets ...
... executing
command: ['hg', 'update', '-r', 'default', '-r', './mozilla/extensions/inspector'] 0 files updated, 0 files merged, 0 files removed, 0 files unresolved updated to revision 51c6d483a4c15a657df18540219bd0201896c6f2.
...And 3 more matches
Plug-n-Hack Phase1 - Archive of obsolete content
an example manifest (for owasp zap) is: { "toolname":"owasp zap", "protocolversion":"0.2", "features":{ "proxy":{ "pac":"http://localhost:8080/proxy.pac", "cacert":"http://localhost:8080/other/core/other/rootcert/" }, "
commands":{ "prefix":"zap", "manifest":"http://localhost:8080/other/mitm/other/service/" } } } the top level manifest includes optional links to a proxy pac and a root ca certificate.
... it also optionally links to another manifest which describes the
commands the browser can invoke.
...security tool
commands manifest an example
commands manifest (for owasp zap) is: https://code.google.com/p/zap-extensions/source/browse/branches/beta/src/org/zaproxy/zap/extension/plugnhack/resource/service.json firefox ui in firefox the tool
commands will be made available via the developer toolbar (gcli) https://developer.mozilla.org/docs/tools/gcli a example of how the zap
commands are currently displayed is: note...
...And 3 more matches
textbox.type - Archive of obsolete content
the
command event will fire as the user modifies the value.
... a listener for the
command event should update search results.
... if the searchbutton attribute is set to true, the
command event is only fired if the user presses the search button or presses the enter key.
...And 3 more matches
Popup Guide - Archive of obsolete content
menus a menu is used when you wish to have a series of
commands that can be activated by the user, but don't want to use the extra space for a button for each
command.
... a menu is normally hidden, and when activated, a popup appears containing the list of
commands.
... the user may select a
command and the menu disappears again.
...And 3 more matches
More Menu Features - Archive of obsolete content
we'll just add a few simple
commands to a file menu and an edit menu.
...cesskey="c"/> </menupopup> </menu> <menu id="edit-menu" label="edit" accesskey="e"> <menupopup id="edit-popup"> <menuitem label="cut" accesskey="t"/> <menuitem label="copy" accesskey="c"/> <menuitem label="paste" accesskey="p" disabled="true"/> </menupopup> </menu> </menubar> <toolbar id="findfiles-toolbar> here we have added two menus with various
commands on them.
...the three dots after open search and save search are the usual way that you indicate to the user that a dialog will open when selecting the
command.
...And 3 more matches
menuitem - Archive of obsolete content
attributes acceltext, accesskey, allowevents, autocheck, checked, closemenu,
command, crop, description, disabled, image, key, label, name, selected, tabindex, type, validate, value properties accessibletype, accesskey,
command, control, crop, disabled, image, label, labelelement, parentcontainer, selected, tabindex, value style classes menuitem-iconic, menuitem-non-iconic examples <menulist> <menupopup> <menuitem label="option 1" value="1"/> <menuitem label="option 2" value="2"/> <menuitem label="option 3" value="3"/>...
... <menuitem label="option 4" value="4"/> </menupopup> </menulist> attributes acceltext type: string text that appears beside the menu label to indicate the shortcut key (accelerator key) to use to invoke the
command.
...
command type: id set to the id of a
command element that is being observed by the element.
...And 3 more matches
menulist - Archive of obsolete content
the
command event may be used to execute code when the menulist selection changes.
... attributes accesskey, crop, disableautoselect, disabled, editable, focused, image, label, on
command, open, preference, readonly, sizetopopup, tabindex, value properties accessibletype, crop, description, disableautoselect, disabled, editable, editor, image, inputfield, itemcount, label, menuboxobject, menupopup, open, selectedindex, selecteditem, tabindex, value methods appenditem, contains, getindexofitem, getitematindex, insertitemat, removeallitems, removeitemat, select examples <menulist> <menupopup> <menuitem label="option 1" value="1"/> <menuitem label="option 2" value="2"/> <menuitem label="option 3" value="3"/> <menuitem label="option 4" value="4"/> </menupopup> </menulist> attributes acc...
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...And 3 more matches
menuseparator - Archive of obsolete content
attributes acceltext, accesskey, allowevents,
command, crop, disabled, image, label, selected, tabindex, value properties accessibletype, accesskey,
command, control, crop, disabled, image, label, labelelement, parentcontainer, selected, tabindex, value examples <menu label="menu"> <menupopup> <menuitem label="item1"/> <menuseparator/> <menuitem label="item2"/> <menuitem label="item3"/> </menupopup> </menu> attributes acceltext type: string text that appears beside the menu label to indicate the shortcut key...
... (accelerator key) to use to invoke the
command.
...
command type: id set to the id of a
command element that is being observed by the element.
...And 3 more matches
tab - Archive of obsolete content
attributes accesskey, afterselected, beforeselected,
command, crop, disabled, first-tab, image, label, last-tab, linkedpanel, on
command, pending, pinned, selected, tabindex, unread, validate, value properties accesskey, accessibletype,
command, control, crop, disabled, image, label, linkedpanel, selected, tabindex, value examples (example needed) attributes accesskey type: character this should be set to a character that is used as a shortcut key.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... on
command type: script code this event handler is called when the
command is activated.
...And 3 more matches
XULRunner tips - Archive of obsolete content
ers=no locale inspector en-us jar:inspector.jar!/locale/inspector/ skin inspector modern/1.0 jar:inspector.jar!/skin/modern/inspector/ skin inspector classic/1.0 jar:inspector.jar!/skin/classic/inspector/ overlay chrome://inspector/content/popupoverlay.xul chrome://inspector/content/viewers/dom/popupoverlay.xul overlay chrome://inspector/content/
commandoverlay.xul chrome://inspector/content/viewers/stylerules/
commandoverlay.xul overlay chrome://inspector/content/keysetoverlay.xul chrome://inspector/content/viewers/dom/keysetoverlay.xul overlay chrome://inspector/content/popupoverlay.xul chrome://inspector/content/viewers/stylerules/popupoverlay.xul overlay chrome://inspector/content/
commandoverlay.xul chrome://inspector/content/viewers/dom...
.../
commandoverlay.xul to launch dom inspector in your application, you need to open its main window, with a
command like this: window.open("chrome://inspector/content/inspector.xul", "", "chrome"); alternatively, the dom inspector may also be added as an extension: (if you already have inspector installed for another application you can skip to the next step) follow the instructions above through "unzip the package." create a file in the extensions directory of your application with the same name as the dom inspector id (inspector@mozilla.org) containing one line of text -- the exact path to the root directory of dom inspector (where the install.rdf is) like this one: /home/username/.mozilla/firefox/numbersandletters/extensions/inspector@mozilla.org/ now create a javascript file wit...
... tmpnamespace = {}; var sl = components.classes["@mozilla.org/moz/jssubscript-loader;1"] .createinstance(components.interfaces.mozijssubscriptloader); sl.loadsubscript("chrome://inspector/content/hooks.js", tmpnamespace); tmpnamespace.inspectdomdocument(document); } now create a hook in your application window to start dom inspector, like this one: <button label="start inpector" on
command="startdomi()"/> start your application and dom inspector will be installed.
...And 3 more matches
Table Reflow Internals - Archive of obsolete content
the container posts a dirty reflow
command with itself as the target.
...the container posts a dirty reflow
command with itself as the target.
... ususally it starts when the pres shell processes its queue of reflow
commands.
...And 3 more matches
Index - MDN Web Docs Glossary: Definitions of Web-related terms
54 csrf glossary, security csrf (cross-site request forgery) is an attack that impersonates a trusted user and sends a website unwanted
commands.
...the rtt between a network and server can be determined by using the ping
command.
...hackers can maliciously pass sql
commands through the web app for execution by a backend database.
...And 3 more matches
TypeScript support in Svelte - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
...all you have to do is run the following terminal
commands (run them somewhere where you are storing your svelte test projects — it creates a new directory): npx degit sveltejs/template svelte-typescript-app cd svelte-typescript-app node scripts/setuptypescript.js this creates a starter project that includes typescript support, which you can then modify as you wish.
... go to the root directory of the project and enter these
commands: npx degit sveltejs/template/scripts scripts # download script file to a scripts folder node scripts/setuptypescript.js # run it converted to typescript.
...And 3 more matches
Handling common accessibility problems - Learn web development
using a modifier like this is common with screenreaders, to enable them to keep their
commands from clashing with other
commands.
... vo has many keyboard
commands, and we won't list them all here.
... vo + shift + down cursor move into a group of items (such as an html table, or a form, etc.) once inside a group you can move around and select items inside that group using the above
commands as normal.
...And 3 more matches
Old Thunderbird build
you can pick any other location, such as a new directory c:/thunderbird-src (where "c:/", with a forward slash, is intentional to clarify you are in the mozillabuild
command prompt per windows build prerequisite).
...first, cd into the comm-central subdirectory (created automatically by the previous
command): cd comm-central then run: python client.py checkout on some types of network connections, "hg clone" might fail because it gets interrupted.
...for hg tip, you should see green bs on https://treeherder.mozilla.org/#/jobs?repo=comm-central to start the build, cd into the comm-central subdirectory, and run: ./mozilla/mach build mach is our
command-line tool to streamline common developer tasks.
...And 3 more matches
Simple Instantbird build
first, cd into the comm-central subdirectory (created automatically by the previous
command): cd comm-central then run: python client.py checkout note: unless you have a very good network connection, "hg clone" might fail because it gets interrupted.
... building instantbird what you need to do to build instantbird rather than firefox is: echo 'ac_add_options --enable-application=im' >> .mozconfig to start the build, cd into the comm-central subdirectory (created automatically by the hg clone
command), and run: ./mozilla/mach build mach is our
command-line tool to streamline common developer tasks.
... then just re-run the mach
command above (you may need to clobber (see below), or you can do the addition before running make for the first time).
...And 3 more matches
Simple Sunbird build
you can build a bleeding-edge, development version of sunbird using the
commands below.
...run these
commands to install the other build tools: sudo port sync sudo port install mercurial libidl autoconf213 problems?
... on windows, if you open the
command prompt you are usually in your user profile folder which often contains spaces ( c:\documents and settings\...).
...And 3 more matches
Python binding for NSS
allow custom include root in setup.py as
command line arg.
...
command line arg and variable changed from dbdir to db_name to reflect the database specification is no longer just a directory.
... all
command line process in test and examples now uses modern argparse module instead of deprecated getopt and optparse.
...And 3 more matches
NSS tools : ssltab
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware
command-line proxy.
...instead of outputting raw data, the
command interprets each record as a numbered line of hex values, followed by the same data as ascii characters.
...although you can run the tool at its most basic by issuing the ssltap
command with no options other than hostname:port, the information you get in this way is not very useful.
...And 3 more matches
NSS tools : ssltap
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware
command-line proxy.
...instead of outputting raw data, the
command interprets each record as a numbered line of hex values, followed by the same data as ascii characters.
...although you can run the tool at its most basic by issuing the ssltap
command with no options other than hostname:port, the information you get in this way is not very useful.
...And 3 more matches
NSS tools : ssltap
name ssltap — tap into ssl connections and display the data going by synopsis libssltap [-vhfsxl] [-p port] [hostname:port] description the ssl debugging tool ssltap is an ssl-aware
command-line proxy.
...instead of outputting raw data, the
command interprets each record as a numbered line of hex values, followed by the same data as ascii characters.
...although you can run the tool at its most basic by issuing the ssltap
command with no options other than hostname:port, the information you get in this way is not very useful.
...And 3 more matches
SpiderMonkey Build Documentation
refer the release notes under
command line tools -> new features the release notes also states that this compatibility package will no longer be provided in the near future, so the build system on macos will have to be adapted to look for headers in the sdk until then, the following should help, open /library/developer/
commandlinetools/packages/macos_sdk_headers_for_macos_10.14.pk this builds an executable named js in the dir...
... on mac, linux, or unix, you can install spidermonkey on your system with the additional
command make install.
... for a list of other available build options, type (assuming the current working directory is one of the above-created build directories): /bin/sh ../configure.in --help generating a compilation database some tools (like ides, static analyzers and refactoring tools) consume a file called compile_
commands.json which contains a description of all the pieces required to build a piece of software so that tools don't have to also understand a build system.
...And 3 more matches
Getting SpiderMonkey source code
downloading gzipped spidermonkey source code you can download gzipped spidermonkey source code from the following urls: http://ftp.mozilla.org/pub/spidermonkey/releases/ http://ftp.mozilla.org/pub/spidermonkey/prereleases/ here is a
command-line example of downloading and unzipping spidermonkey source code version 59.0: mkdir mozilla cd mozilla wget http://ftp.mozilla.org/pub/spidermonkey/prereleases/59/pre1/mozjs-59.0a1.0.tar.bz2 tar xvf mozjs-59.0a1.0.tar.bz2 these
commands should work on most platforms including windows, as long as on windows you are using the mozillabuild bash shell.
... the following
command line downloads the entire mozilla repository, including the full change history and a lot of gecko and firefox source code that isn't part of spidermonkey.
... getting the latest spidermonkey source code from git the following
command line downloads the entire mozilla repository, including the full change history and a lot of gecko and firefox source code that isn't part of spidermonkey.
...And 3 more matches
nsIControllers
windows and text inputs have default controllers that allow
commands such as cmd_copy to act on the focused element or window.
...nents.classes["@mozilla.org/xul/xul-controllers;1"] .createinstance(components.interfaces.nsicontrollers); method overview void appendcontroller(in nsicontroller controller); nsicontroller getcontrollerat(in unsigned long index); nsicontroller getcontrollerbyid(in unsigned long controllerid); unsigned long getcontrollercount(); nsicontroller getcontrollerfor
command(in string
command); unsigned long getcontrollerid(in nsicontroller controller); void insertcontrollerat(in unsigned long index, in nsicontroller controller); void removecontroller(in nsicontroller controller); nsicontroller removecontrollerat(in unsigned long index); attributes attribute type description
commanddispatcher nsidomxul
commanddispatcher obsolete since gecko 1.9 meth...
...getcontrollerfor
command() searches for a controller that supports the given
command.
...And 3 more matches
MailNews fakeserver
it utilizes utf-8 as its transport mechanism and is capable of performing proper pipelining of
commands.
...a handler will contain the following methods: <caption> handler methods </caption> name arguments returns notes [
command] rest of sent line server's response the name is normalized to be uppercase.
... onerror
command, rest of sent line server's response called if handler does not define the
command function.
...And 3 more matches
Network request list - Firefox Developer Tools
a reset columns
command is available on the context menu to reset the columns to their initial configuration.
... the reset columns
command on the context menu also resets the width of the columns to the default values.
... note: (starting in firefox 80) you can also block and unblock urls from the web console, using the :block and :unblock helper
commands.
...And 3 more matches
Page inspector keyboard shortcuts - Firefox Developer Tools
command windows macos linux inspect element ctrl + shift + c cmd + shift + c ctrl + shift + c node picker these shortcuts work while the node picker is active.
...
command windows macos linux select the element under the mouse and cancel picker mode click click click select the element under the mouse and stay in picker mode shift+click shift+click shift+click html pane these shortcuts work while you're in the inspector's html pane.
...
command windows macos linux delete the selected node delete delete delete undo delete of a node ctrl + z cmd + z ctrl + z redo delete of a node ctrl + shift + z / ctrl + y cmd + shift + z / cmd + y ctrl + shift + z / ctrl + y move to next node (expanded nodes only) down arrow down arrow down arrow move to previous node up arrow up arrow up arrow move to first node in the tree.
...And 3 more matches
WebGLRenderingContext.bufferData() - Web APIs
possible values: gl.static_draw: the contents are intended to be specified once by the application, and used many times as the source for webgl drawing and image specification
commands.
... gl.dynamic_draw: the contents are intended to be respecified repeatedly by the application, and used many times as the source for webgl drawing and image specification
commands.
... gl.stream_draw: the contents are intended to be specified once by the application, and used at most a few times as the source for webgl drawing and image specification
commands.
...And 3 more matches
Privileged features - Web APIs
if minimizable is on, the new dialog window will have a minimize system
command icon in the titlebar and it will be minimizable.
...mozilla 1.2+ and netscape 7.1 will render the other menu system
commands (in ff 1.0 and in ns 7.0x, the
command system menu is not identified with the firefox/ns 7.0x icon on the left end of the titlebar: that's probably a bug.
... you can access the
command system menu with a right-click on the titlebar).
...And 3 more matches
Using third-party modules (jpm) - Archive of obsolete content
the add-on sdk includes a
command-line tool that you use to initialize, run, test, and package add-ons.
... to follow this tutorial you'll need to have installed jpm and learned the basic jpm
commands.
... to install menuitem you'll need to have git
command.
...And 2 more matches
Appendix C: Avoiding using eval in Add-ons - Archive of obsolete content
<menuitem id="mymenu" on
command="executesomething(); executesomethingelse();"/> <label id="mylabel" onclick="executesomething(); executesomethingelse();"/> add-on authors commonly use eval to trigger the handlers.
... // do not use eval(document.getelementbyid("mymenu").getattribute("on
command")); eval(document.getelementbyid("mylabel").getattribute("onclick")); alternative: dispatch real events dispatching real events has the added bonus that all other event listeners for that element (and the corresponding bubbling/capturing chain) will fire as well, so this method will have the closed resemblance to a real user event.
... // fake a
command event var event = document.createevent("events"); event.initevent("
command", true, true); document.getelementbyid("mymenu").dispatchevent(event); // fake a mouse click var mouseevent = document.createevent("mouseevents"); event.initmouseevent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null); document.getelementbyid("mylabel").dispatchevent(mouseevent); please see the corresponding documentation on how to use and initialize particular event types.
...And 2 more matches
Setting up an extension development environment - Archive of obsolete content
in the following example, the described
command starts a new instance of firefox, with a profile called dev; even if an instance of firefox is already running.
... development
command flags as of gecko 2 (firefox 4), javascript files are cached ("fastload").
... the -purgecaches
command-line flag disables this behavior.
...And 2 more matches
Signing an XPI - Archive of obsolete content
you can either set this permanently via control panel->system properties->advanced->environment variables->system variables or do it each time you run the tools from the
command-line (preferably using a batch file).
... c:\> set path=c:\apps\nss-3.11.4\bin\;c:\apps\nss-3.11.4\lib\;c:\apps\nspr-4.6\lib\;%path% an easier way is to copy everything from your new directories c:\apps\nss-3.11.4\ and c:\apps\nspr-4.6\ including sub directories to the same directory - fx c:\apps\codesigning\ - and then run every
command from that.
...use this
command to create it (note the trailing dot is required).
...And 2 more matches
Monitoring downloads - Archive of obsolete content
as a nice bonus, it also demonstrates how to use the storage api to issue sqlite
commands on a database.
...the database file is opened, and an sqlite create table
command is executed to create the table.
... in that case, we create a new row in our database for the new file by opening the database and building a replace into sqlite
command.
...And 2 more matches
execute - Archive of obsolete content
the optional blocking argument, when set to true, specifies that the installation should wait for this executable to finish before processing the next queued install
command.
... passing arguments to the executable the args parameter, when present, passes a string to the executable as
command-line parameters.
... the following line, for example, passes the "-c"
command-line parameter to the executable: err = file.execute(myfile, "-c", true); when you want to pass more than one parameter to the executable itself, however, you must format the args string in a particular way so that the parameters can be broken up and passed separately as required.
...And 2 more matches
Box Objects - Archive of obsolete content
example 1 : source view <button label="click me" on
command="alert('the width is ' + this.boxobject.width);"/> you can use the width and height attributes of the element to specify the element's width and height, respectively.
...example 2 : source view <script> function showpositionandsize() { var labelbox = document.getelementbyid('thelabel').boxobject; alert("position is (" + labelbox.x + "," + labelbox.y + ") and size is (" + labelbox.width + "," + labelbox.height + ")"); } </script> <button label="hide" on
command="document.getelementbyid('thelabel').hidden = true;"/> <button label="show" on
command="document.getelementbyid('thelabel').hidden = false;"/> <button label="collapse" on
command="document.getelementbyid('thelabel').collapsed = true;"/> <button label="uncollapse" on
command="document.getelementbyid('thelabel').collapsed = false;"/> <button label="show position/size" o...
...n
command="showpositionandsize();"/> <label id="thelabel" value="i am a label"/> note that if you hide and collapse the label, it will be treated as hidden.
...And 2 more matches
Manipulating Lists - Archive of obsolete content
here is an example: example 1 : source view <script> function additem(){ document.getelementbyid('thelist').appenditem("thursday", "thu"); } </script> <listbox id="thelist"/> <button label="add" on
command="additem();"/> the appenditem() takes two arguments, the label, in this case 'thursday', and a value 'thu'.
...however, menulists do not fire the select event; instead you can listen to the
command event to handle when an item is selected.
... example 3 : source view <script> function doselect(){ var val = document.getelementbyid('number').value; val = number(val); if (val != null) document.getelementbyid('level').selectedindex = val - 1; } </script> <hbox align="center"> <label value="enter a number from 1 to 3:"/> <textbox id="number"/> <button label="select" on
command="doselect();"/> </hbox> <radiogroup id="level"> <radio label="excellent"/> <radio label="good"/> <radio label="poor"/> </radiogroup> listboxes also support multiple selection and the functions of the nsidomxulmultiselectcontrolelement interface.
...And 2 more matches
checkbox - Archive of obsolete content
attributes accesskey, checked,
command, crop, disabled, src, label, preference, tabindex properties accesskey, accessibletype, checked,
command, crop, disabled, src, label, tabindex examples <checkbox label="enable javascript" checked="true"/> <checkbox label="enable java" checked="false"/> attributes accesskey type: character this should be set to a character that is used as a shortcut key.
...
command type: id set to the id of a
command element that is being observed by the element.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...And 2 more matches
prefwindow - Archive of obsolete content
you can set its label with the buttonlabelextra1 attribute and its
command with the ondialogextra1 attribute.
...you can set its label with the buttonlabelextra2 attribute and its
command with the ondialogextra2 attribute.
...you can set its label with the buttonlabelextra1 attribute and its
command with the ondialogextra1 attribute.
...And 2 more matches
XULRunner 1.8.0.4 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows from a
command prompt, run xulrunner.exe --unregister-global or xulrunner.exe --unregister-user to unregister xulrunner just as you registered it during installation.
...And 2 more matches
XULRunner 1.9.1 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows from a
command prompt, run xulrunner.exe --unregister-global or xulrunner.exe --unregister-user to unregister xulrunner just as you registered it during installation.
...And 2 more matches
XULRunner 1.9.2 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows from a
command prompt, run xulrunner.exe --unregister-global or xulrunner.exe --unregister-user to unregister xulrunner just as you registered it during installation.
...And 2 more matches
XULRunner 1.9 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows from a
command prompt, run xulrunner.exe --unregister-global or xulrunner.exe --unregister-user to unregister xulrunner just as you registered it during installation.
...And 2 more matches
XULRunner 2.0 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows from a
command prompt, run xulrunner.exe --unregister-global or xulrunner.exe --unregister-user to unregister xulrunner just as you registered it during installation.
...And 2 more matches
How do you set up a local testing server? - Learn web development
open your
command prompt (windows)/ terminal (macos/ linux).
... to check python is installed, enter the following
command: python -v # or you might have the py
command available, # in which case try py -v this should return a version number.
... if this is ok, navigate to the directory that your example is inside, using the cd
command.
...And 2 more matches
Index - Learn web development
unctions — reusable blocks of code api, article, beginner, browser, codingscripting, custom, functions, guide, javascript, learn, method, anonymous, invoke, l10n:priority, parameters another essential concept in coding is functions, which allow you to store a piece of code that does a single task inside a defined block, and then call that code whenever you need it using a single short
command — rather than having to type out the same code multiple times.
...nt-side web development tools beginner, css, deployment, html, javascript, learn, tools, transformation, client-side, linting client-side tooling can be intimidating, but this series of articles aims to illustrate the purpose of some of the most common client-side tool types, explain the tools you can chain together, how to install them using package managers, and control them using the
command line.
...next up we provide you with a crash course on the
command line, which is where a lot of tooling is invoked from.
...And 2 more matches
Getting started with Ember - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
... installing the ember tooling ember uses a
command-line interface (cli) tool for building and scaffolding parts of your application.
... now type the following into your terminal to install ember-cli: npm install -g ember-cli this tool provides the ember program in your terminal, which is used to create, build, develop, test, and scaffold your application (run ember --help for a full list of
commands and their options).
...And 2 more matches
Getting started with React - Learn web development
prerequisites: familiarity with the core html, css, and javascript languages, knowledge of the terminal/
command line.
... setting up your first react app there are many ways to use react, but we're going to use the
command-line interface (cli) tool create-react-app, as mentioned earlier, which expedites the process of developing a react application by installing some packages and creating some files for you, handling the tooling described above.
... if you're using windows, you will need to install some software to give you parity with unix/macos terminal in order to use the terminal
commands mentioned in this tutorial.
...And 2 more matches
Getting started with Svelte - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
... if you're using windows, you will need to install some software to give you parity with unix/macos terminal in order to use the terminal
commands mentioned in this tutorial.
...see
command line crash course for more information on these, and on terminal
commands in general.
...And 2 more matches
Client-side tooling overview - Learn web development
it is available as a node.js
command-line tool and a vs code extension.
...it is primarily accessed via the
command line but can be accessed via friendly user interfaces.
...next up we provide you with a crash course on the
command line, which is where a lot of tooling is invoked from.
...And 2 more matches
Configuring Build Options
build options, including options not usable from the
command-line, may appear in "confvars.sh" files in the source tree.
...(it is possible to manually call configure with
command-line options, but this is not recommended).
...options moz_objdir=@topsrcdir@/obj-ff-rel-opt ac_add_options --disable-debug ac_add_options --enable-optimize allow for building both versions by specifiying the configuration via the mozconfig environment variable: $ env mozconfig=/path/to/mozconfig-dbg ./mach build $ env mozconfig=/path/to/mozconfig-rel-opt ./mach build don't forget to set the mozconfig environment variable for the mach run
command as well.
...And 2 more matches
Simple SeaMonkey build
you can build a bleeding-edge, development version of seamonkey using the
commands below.
... run these
commands to install the other build tools: sudo port sync sudo port install mercurial libidl autoconf213 yasm problems?
... on windows, the above
commands will create the comm-central directory in %userprofile% which may be some subfolder of c:\documents and settings\ on systems upgraded from xp or below.
...And 2 more matches
mozbrowserselectionstatechanged
commands an object that stores information about what
commands can be executed on the current selection.
... its properties are: canselectall: a boolean indicating whether the select all
command can be issued (true) or not (false).
... cancut: a boolean indicating whether the cut
command can be issued (true) or not (false).
...And 2 more matches
Performance
tools/power/rapl (mac, linux) tools/power/rapl is a
command-line utility in the mozilla codebase that uses the intel rapl interface to gather direct power estimates for the package, cores, gpu and memory.
... powermetrics (mac-only) powermetrics is a
command-line utility that gathers and displays a wide range of global and per-process measurements, including cpu usage, gpu usage, and various wakeups frequencies.
... perf (linux-only) perf is a powerful
command-line utility that can measure many different things, including energy estimates and high-context measurements of things such as wakeups.
...And 2 more matches
Encrypt Decrypt MAC Keys As Session Objects
ler "-----end mackey ckaid-----" #define iv_header "-----begin iv-----" #define iv_trailer "-----end iv-----" #define mac_header "-----begin mac-----" #define mac_trailer "-----end mac-----" #define pad_header "-----begin pad-----" #define pad_trailer "-----end pad-----" typedef enum { encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4 } headertype; /* * print usage message and exit */ static void usage(const char *progname) { fprintf(stderr, "\nusage: %s -c -d [-z ] " "[-p | -f ] -i -o \n\n", progname); fprintf(stderr, "%-20s specify 'a' for encrypt operation\n\n", "-c "); fp...
...ain(int argc, char **argv) { secstatus rv; secstatus rvshutdown; pk11slotinfo *slot = null; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; prfiledesc *infile; prfiledesc *outfile; prbool ascii = pr_false;
commandtype cmd = unknown; const char *
command = null; const char *dbdir = null; const char *infilename = null; const char *outfilename = null; const char *noisefilename = null; secupwdata pwdata = { pw_none, 0 }; char * progname = strrchr(argv[0], '/'); ...
...progname + 1 : argv[0]; /* parse
command line arguments */ optstate = pl_createoptstate(argc, argv, "c:d:i:o:f:p:z:a"); while ((status = pl_getnextopt(optstate)) == pl_opt_ok) { switch (optstate->option) { case 'a': ascii = pr_true; break; case 'c':
command = strdup(optstate->value); break; case 'd': dbdir = strdup(optstate->value); break; case 'f': pwdata.source = pw_fromfile; pwdata.data = strdup(optstate->value); break; case 'p': pwdata.source = pw_plaintext; pwdata.data = strdup(optstate->value); break; case 'i': infilename = strdup(optstate->value);...
...And 2 more matches
Encrypt and decrypt MAC using token
ler "-----end mackey ckaid-----" #define iv_header "-----begin iv-----" #define iv_trailer "-----end iv-----" #define mac_header "-----begin mac-----" #define mac_trailer "-----end mac-----" #define pad_header "-----begin pad-----" #define pad_trailer "-----end pad-----" typedef enum { encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4 } headertype; /* * print usage message and exit */ static void usage(const char *progname) { fprintf(stderr, "\nusage: %s -c -d [-z ] " "[-p | -f ] -i -o \n\n", progname); fprintf(stderr, "%-20s specify 'a' for encrypt operation\n\n", "-c "); fp...
...ain(int argc, char **argv) { secstatus rv; secstatus rvshutdown; pk11slotinfo *slot = null; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; prfiledesc *infile; prfiledesc *outfile; prbool ascii = pr_false;
commandtype cmd = unknown; const char *
command = null; const char *dbdir = null; const char *infilename = null; const char *outfilename = null; const char *noisefilename = null; secupwdata pwdata = { pw_none, 0 }; char * progname = strrchr(argv[0], '/'); ...
...progname + 1 : argv[0]; /* parse
command line arguments */ optstate = pl_createoptstate(argc, argv, "c:d:i:o:f:p:z:a"); while ((status = pl_getnextopt(optstate)) == pl_opt_ok) { switch (optstate->option) { case 'a': ascii = pr_true; break; case 'c':
command = strdup(optstate->value); break; case 'd': dbdir = strdup(optstate->value); break; case 'f': pwdata.source = pw_fromfile; pwdata.data = strdup(optstate->value); break; case 'p': pwdata.source = pw_plaintext; pwdata.data = strdup(optstate->value); break; case 'i': infilename = strdup(optstate->value);...
...And 2 more matches
Encrypt Decrypt_MAC_Using Token
ler "-----end mackey ckaid-----" #define iv_header "-----begin iv-----" #define iv_trailer "-----end iv-----" #define mac_header "-----begin mac-----" #define mac_trailer "-----end mac-----" #define pad_header "-----begin pad-----" #define pad_trailer "-----end pad-----" typedef enum { encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4 } headertype; /* * print usage message and exit.
...ain(int argc, char **argv) { secstatus rv; secstatus rvshutdown; pk11slotinfo *slot = null; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; prfiledesc *infile; prfiledesc *outfile; prbool ascii = pr_false;
commandtype cmd = unknown; const char *
command = null; const char *dbdir = null; const char *infilename = null; const char *outfilename = null; const char *noisefilename = null; secupwdata pwdata = { pw_none, 0 }; char * progname = strrchr(argv[0], '/'); ...
...progname + 1 : argv[0]; /* parse
command line arguments */ optstate = pl_createoptstate(argc, argv, "c:d:i:o:f:p:z:a"); while ((status = pl_getnextopt(optstate)) == pl_opt_ok) { switch (optstate->option) { case 'a': ascii = pr_true; break; case 'c':
command = strdup(optstate->value); break; case 'd': dbdir = strdup(optstate->value); break; case 'f': pwdata.source = pw_fromfile; pwdata.data = strdup(optstate->value); break; case 'p': pwdata.source = pw_plaintext; pwdata.data = strdup(optstate->value); break; case 'i': infilename = strdup(optstate->value);...
...And 2 more matches
NSS Sample Code Sample_3_Basic Encryption and MACing
ler "-----end mackey ckaid-----" #define iv_header "-----begin iv-----" #define iv_trailer "-----end iv-----" #define mac_header "-----begin mac-----" #define mac_trailer "-----end mac-----" #define pad_header "-----begin pad-----" #define pad_trailer "-----end pad-----" typedef enum { encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4 } headertype; /* print a usage message and exit */ static void usage(const char *progname) { fprintf(stderr, "\nusage: %s -c <a|b> -d <dbdirpath> [-z <noisefilename>] " "[-p <dbpwd> | -f <dbpwdfile>] -i <ipfilename> -o <opfilename>\n\n", progname); fprintf(stderr, "%-2...
...ain(int argc, char **argv) { secstatus rv; secstatus rvshutdown; pk11slotinfo *slot = null; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; prfiledesc *infile; prfiledesc *outfile; prbool ascii = pr_false;
commandtype cmd = unknown; const char *
command = null; const char *dbdir = null; const char *infilename = null; const char *outfilename = null; const char *noisefilename = null; secupwdata pwdata = { pw_none, 0 }; char * progname = strrchr(argv[0], '/'); ...
...progname + 1 : argv[0]; /* parse
command line arguments */ optstate = pl_createoptstate(argc, argv, "c:d:i:o:f:p:z:a"); while ((status = pl_getnextopt(optstate)) == pl_opt_ok) { switch (optstate->option) { case 'a': ascii = pr_true; break; case 'c':
command = strdup(optstate->value); break; case 'd': dbdir = strdup(optstate->value); break; case 'f': pwdata.source = pw_fromfile; pwdata.data = strdup(optstate->value); break; case 'p': pwdata.source = pw_plaintext; pwdata.data = strdup(optstate->value); break; case 'i': infilename = strdup(optstate->value);...
...And 2 more matches
EncDecMAC using token object - sample 3
ckaid-----" #define mackey_header "-----begin mackey ckaid-----" #define mackey_trailer "-----end mackey ckaid-----" #define iv_header "-----begin iv-----" #define iv_trailer "-----end iv-----" #define mac_header "-----begin mac-----" #define mac_trailer "-----end mac-----" #define pad_header "-----begin pad-----" #define pad_trailer "-----end pad-----" typedef enum { encrypt, decrypt, unknown }
commandtype; typedef enum { symkey = 0, mackey = 1, iv = 2, mac = 3, pad = 4 } headertype; /* * print usage message and exit */ static void usage(const char *progname) { fprintf(stderr, "\nusage: %s -c -d [-z ] " "[-p | -f ] -i -o \n\n", progname); fprintf(stderr, "%-20s specify 'a' for encrypt operation\n\n", "-c "); fprintf(stderr, "%-20s specify 'b' for decrypt operation\n\n", " "); fprintf(stderr, "%...
...*/ int main(int argc, char **argv) { secstatus rv; secstatus rvshutdown; pk11slotinfo *slot = null; ploptstate *optstate; ploptstatus status; char headerfilename[50]; char encryptedfilename[50]; prfiledesc *infile; prfiledesc *outfile; prbool ascii = pr_false;
commandtype cmd = unknown; const char *
command = null; const char *dbdir = null; const char *infilename = null; const char *outfilename = null; const char *noisefilename = null; secupwdata pwdata = { pw_none, 0 }; char * progname = strrchr(argv[0], '/'); progname = progname ?
... progname + 1 : argv[0]; /* parse
command line arguments */ optstate = pl_createoptstate(argc, argv, "c:d:i:o:f:p:z:a"); while ((status = pl_getnextopt(optstate)) == pl_opt_ok) { switch (optstate->option) { case 'a': ascii = pr_true; break; case 'c':
command = strdup(optstate->value); break; case 'd': dbdir = strdup(optstate->value); break; case 'f': pwdata.source = pw_fromfile; pwdata.data = strdup(optstate->value); break; case 'p': pwdata.source = pw_plaintext; pwdata.data = strdup(optstate->value); break; case 'i': infilename = strdup(optstate->value); break; case 'o': outfilename = strdup(optstate->value); break; case 'z': noisefilename = strdup(optstate->value); break; default: usage(progname); break; } } pl_destroyoptstate(optstate); if (!
command || !dbdir || !infilename || !outfilename) us...
...And 2 more matches
NSS tools : cmsutil
synopsis cmsutil [options] arguments description the cmsutil
command-line uses the s/mime toolkit to perform basic operations, such as encryption and decryption, on cryptographic message syntax (cms) messages.
... to run cmsutil, type the
command cmsutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 2 more matches
gtstd.html
you can use the security module database tool, a
command-line utility that comes with nss, to manage pkcs #11 module information within secmod.db files.
...the following sections decribe how to the certificate database tool to perform these tasks: setting up the ca db and certificate setting up the server db and certificate setting up the client db and certificate verifying the server and client certificates warning: the instructions below illustrate the use of nss
command line tools to operate a simple root certificate authority for test purposes only.
...although it is possible to use nss
command line tools to operate a proper ca, these instructions do not provide nearly enough understanding of the many considerations required to competently operate a ca.
...And 2 more matches
NSS Tools cmsutil
using cmsutil newsgroup: mozilla.dev.tech.crypto the cmsutil
command-line utility uses the s/mime toolkit to perform basic operations, such as encryption and decryption, on cryptographic message syntax (cms) messages.
... syntax to run cmsutil, type the
command cmsutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 2 more matches
NSS Tools pk12util
n-options] or pk12util -o p12file -n certname [-c keycipher] [-c certcipher] [-m | --key_len keylen] [-n | --cert_key_len certkeylen] [common-options] or pk12util -l p12file [-h tokenname] [-r] [common-options] where [common-options] = [-d dir] [-p dbprefix] [-k slotpasswordfile | -k slotpassword] [-w p12filepasswordfile | -w p12filepassword] syntax to run the pkcs #12 tool, type ther
command pk12util option [arguments] where option and arguments are combinations of the options and arguments listed in the following section.
... three of the options, -i, -o, and -l, should be considered
commands of the pk12util invocation.
... each
command takes several options.
...And 2 more matches
NSS tools : cmsutil
synopsis cmsutil [options] arguments description the cmsutil
command-line uses the s/mime toolkit to perform basic operations, such as encryption and decryption, on cryptographic message syntax (cms) messages.
... to run cmsutil, type the
command cmsutil option [arguments] where option and arguments are combinations of the options and arguments listed in the following section.
... each
command takes one option.
...And 2 more matches
Setting up an update server
then run these
commands, substituting <obj dir>, <mar output path>, <version> and <channel> appropriately: ./mach package touch "<obj dir>/dist/firefox/precomplete" mar="<obj dir>/dist/host/bin/mar.exe" moz_product_version=<version> mar_channel_id=<channel> ./tools/update-packaging/make_full_update.sh <mar output path> "<obj dir>/dist/firefox" for a local build, <channel> can be default, and <version> can be the val...
... if you've built your own mar, you can obtain its sha512 checksum by running the following
command, which should work in linux, macos, or windows in the mozillabuild environment: shasum --algorithm 512 <filename> on windows, you can get the exact file size in bytes for your mar by right clicking on it in the file explorer and selecting properties.
... on macos, you can get the exact size of your mar by running the
command: stat -f%z <filename> or on linux, the same
command would be: stat --format "%s" <filename> starting your update server now, start an update server to serve the update files on port 8000.
...And 2 more matches
XPCShell Reference
the
command line the
command-line syntax for xpcshell is: xpcshell [-s] [-w] [-w] [-v version] [-f scriptfile] [scriptfile] [scriptarg...] -c this option turns on the "compile-only" mode.
... for instance, assume that you have a file called test.js with the following contents: for (prop in arguments) { print(prop + "=" + arguments[prop]); } entering the following at the
command line should produce the following output: $ xpcshell test.js this is a test 0=this 1=is 2=a 3=test xpcshell extensions once you execute xpcshell without a script you'll be at the js>
command line.
... the following are some useful functions that can be invoked from the
command line: clear(object) clear() removes all properties from an object.
...And 2 more matches
nsIDOMXULElement
66 introduced gecko 1.0 inherits from: nsidomelement last changed in gecko 1.9 (firefox 3) method overview void blur(); void click(); void do
command(); void focus(); nsidomnodelist getelementsbyattribute(in domstring name, in domstring value); nsidomnodelist getelementsbyattributens(in domstring namespaceuri, in domstring name, in domstring value); attributes attribute type description align domstring gets/sets the value of the element's align attribute.
...returns an nsicontrollers object that additional controllers may be appended to so as to provide focus-specific actions for
commands.
...click() unless the element is disabled, sends mouse events that simulate the effect of clicking the mouse on the element, then calls the do
command() method.
...And 2 more matches
DOM Inspector internals - Firefox Developer Tools
at the top of each panel is a toolbar which contains a menu button allowing you to choose which viewer to display from the viewer list, a label displaying the name of the currently active viewer, and another menu button allowing you to issue viewer-specific
commands.
...its contents should resemble the following: extensions/ … jsutil/ … prefs/ … res/ … tests/ … viewers/ … browseroverlay.xul
commandoverlay.xul editingoverlay.xul flasher.js hooks.js inspector.css inspector.js inspectoroverlay.xul inspector.xml inspector.xul keysetoverlay.xul object.js object.xul popupoverlay.xul sidebar.js sidebar.xul statusbaroverlay.xul tasksoverlay-cz.xul tasksoverlay-ff.xul tasksoverlay-mobile.xul tasksoverlay-sb.xul tasksoverlay-tb.xul tasksoverlay.xul toolboxoverlay.xul utils.js ...
...even most of the elements that aren't visible, such as key- and
commandsets, are not defined in inspector.xul.
...And 2 more matches
Web Console Helpers - Firefox Developer Tools
the
commands the javascript
command line provided by the web console offers a few built-in helper functions that make certain tasks easier.
... $_ stores the result of the last expression executed in the console's
command line.
... clearhistory() just like a normal
command line, the console
command line remembers the
commands you've typed.
...And 2 more matches
The JavaScript input interpreter - Firefox Developer Tools
a new function: <!doctype html> <html> <head> <meta charset="utf-8"> <script> function whoareyou() { return "i'm frame1"; } </script> </head> <body> </body> </html> you can switch context to the iframe like this: cd("#frame1"); now you'll see that the global window's document is the iframe: and you can call the function defined in the iframe: helper
commands the javascript
command line provided by the web console offers a few built-in helper functions that make certain tasks easier.
... $_ stores the result of the last expression executed in the console's
command line.
...just like a normal
command line, the console
command line remembers the
commands you've typed.
...And 2 more matches
Drawing shapes with canvas - Web APIs
then you use drawing
commands to draw into the path.
...once created, future drawing
commands are directed into the path and used to build the path up.
... note: when the current path is empty, such as immediately after calling beginpath(), or on a newly created canvas, the first path construction
command is always treated as a moveto(), regardless of what it actually is.
...And 2 more matches
Transcoding assets for Media Source Extensions - Web APIs
[0] (c) copyright 2008, blender foundation / www.bigbuckbunny.org / https://peach.blender.org/about/ tools required when working with mse, the following tools are a must have: ffmpeg — a
command-line utility for transcoding your media into the required formats.
... bento4 — a set of
command-line utilities for getting asset metadata and creating content for dash.
...if you don't need it, add --audio-codec=aac to the mp4-dash-encode.py
command line.
...And 2 more matches
WebGLRenderingContext.getError() - Web APIs
the
command is ignored and the error flag is set.
...the
command is ignored and the error flag is set.
... gl.invalid_operation the specified
command is not allowed for the current state.
...And 2 more matches
Event reference
gchange chargingtimechange dischargingtimechange levelchange call events alerting busy callschanged cfstatechange connecting dialing disconnected disconnecting error held, holding incoming resuming statechange voicechange sensor events compassneedscalibration devicemotion deviceorientation orientationchange smartcard events icccardlockerror iccinfochange smartcard-insert smartcard-remove stk
command stksessionend cardstatechange sms and ussd events delivered received sent ussdreceived frame events mozbrowserclose mozbrowsercontextmenu mozbrowsererror mozbrowsericonchange mozbrowserlocationchange mozbrowserloadend mozbrowserloadstart mozbrowseropenwindow mozbrowsersecuritychange mozbrowsershowmodalprompt mozbrowsertitlechange dom mutation events domattributenamechanged domattrmodified d...
... mozbrowseropentab firefox os browser api-specific sent when a new tab is opened within a browser <iframe> as a result of the user issuing a
command to open a link target in a new tab (for example ctrl/cmd + click.) mozbrowseropenwindow firefox os browser api-specific sent when window.open() is called within a browser iframe.
... stk
command firefox os specific the stk proactive
command is issued from icc.
...And 2 more matches
HTML attribute reference - HTML: Hypertext Markup Language
checked <
command>, <input> indicates whether the element should be checked on page load.
...allowed values are ltr (left-to-right) or rtl (right-to-left) dirname <input>, <textarea> disabled <button>, <
command>, <fieldset>, <input>, <keygen>, <optgroup>, <option>, <select>, <textarea> indicates whether the user can interact with the element.
... icon <
command> specifies a picture which represents the
command.
...And 2 more matches
<menu> - HTML: Hypertext Markup Language
the html <menu> element represents a group of
commands that a user can perform or activate.
... context : indicates the popup menu state, which represents a group of
commands activated through another element.
... toolbar: indicates the toolbar state, which represents a toolbar consisting of a series of
commands for user interaction.
...And 2 more matches
Understanding WebAssembly text format - WebAssembly
the local.get/local.set
commands refer to the item to be got/set by its numeric index: parameters are referred to first, in order of their declaration, followed by locals in order of their declaration.
... you could also declare the call_indirect parameter explicitly during the
command call instead of before it, like this: (call_indirect (type $return_i32) (local.get $i)) in a higher level, more expressive language like javascript, you could imagine doing the same thing with an array (or probably more likely, object) containing functions.
... this function creates a constant containing the value 0, and then uses the i32.load
command to load the value contained in the provided memory index.
...And 2 more matches
Testing the Add-on SDK - Archive of obsolete content
with jpm (which is not part of the add-on sdk repo, and must be installed separately) things more difficult without the gulp
commands provided by the gulpscript.js file in the addon-sdk repo.
... with gulp installed, and after installing the addon-sdk's npm dependencies, we can run the latter three test suites mentioned for cfx with jpm using the following
commands: gulp test:examples --filter <addon_example_folder_name> gulp test:addons --filter <addon_folder_name> gulp test:modules --filter <file_name>:<test_name> or run all of the tests with gulp test.
... from mozilla-central repository with a checkout of the mozilla-central source code, one can always cd addon-sdk/source and use any of the methods described above, but in addtion to that there are a couple of mach
commands available, and ofcourse there is the try server if you have access to that.
... with mach there are two
commands: ./mach mochitest -f jetpack-addon <optional_addon_path>: this runs the test add-ons mentioned for cfx testaddons and gulp test:addons with the older sdk/loader/cuddlefish used with cfx.
cfx to jpm - Archive of obsolete content
the add-on sdk includes a
command-line tool that you use to initialize, run, test, and package add-ons.
... activation you need to call cfx activate before you can use cfx, and this only works in the current
command shell: if you open a new shell you have to call activate again.
... there is a known bug in simple options handling which may require the workaround described in https://bug635044.bugzilla.mozilla.org/show_bug.cgi?id=1243467
commands and
command options permanently removed
commands jpm has dropped support for all the "internal" cfx
commands.
... package.json fields many package.json fields are implicit
commands to cfx.
Creating a Firefox sidebar extension - Archive of obsolete content
chrome/locale/emptysidebar.dtd <!entity emptysidebar.title "emptysidebar"> <!entity openemptysidebar.
commandkey "e"> <!entity openemptysidebar.modifierskey "shift accel"> the content folder includes our sidebar, the emptysidebar.xul is shown in example 3.
... <?xml version="1.0"?> <!doctype overlay system "chrome://emptysidebar/locale/emptysidebar.dtd"> <overlay id="emptysidebaroverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <menupopup id="viewsidebarmenu"> <menuitem key="key_openemptysidebar" observes="viewemptysidebar" /> </menupopup> <keyset id="mainkeyset"> <key id="key_openemptysidebar"
command="viewemptysidebar" key="&openemptysidebar.
commandkey;" modifiers="&openemptysidebar.modifierskey;" /> </keyset> <broadcasterset id="mainbroadcasterset"> <broadcaster id="viewemptysidebar" label="&emptysidebar.title;" autocheck="false" type="checkbox" group="sidebar" sidebarurl="chrome:/...
.../emptysidebar/content/emptysidebar.xul" sidebartitle="&emptysidebar.title;" on
command="togglesidebar('viewemptysidebar');" /> </broadcasterset> </overlay> the overlay file consists of three entries, the menu definition, shortcut keys and the broadcaster.
... if the sidebar is not going to have a
command-key, one can remove the openemptysidebar.
commandkey and openemptysidebar.modifierskey keys from the dtd, remove the <keyset> from the firefoxoverlay.xul file.
New Security Model for Web Services - Archive of obsolete content
since the
commands only allow access, the order of processing the "allow"
commands that were successfully parsed is never significant.
... allowing web script access to permit scripts to access the resources of this server, use the following
command: <wsa:allow type="<request-type>" from ="<uri-prefix>"/> the type of request, if specified, will be checked against the type of request being requested by the script, such as "soap", "soapv", or "load".
... for example: <wsa:allow type="soapv" from="http://www.mozilla.org"/> this
command allows soap requests with verification headers from scripts loaded from the domain www.mozilla.org.
... <wsa:allow type="soapv" from="http://*.mozilla.org"/> this
command allows soap requests with verification headers from scripts loaded from the domain with host name containing mozilla.org.
Running Tamarin acceptance tests - Archive of obsolete content
adb is used to access your android device and can run both direct and shell-type
commands.
...adb supports ssh-like
commands to an android device.
...the
command: $ adb devices lists the device id of each phone.
... testsuite setup example
commands: copy avmshell to /data/local/tamarin.
A XUL Bestiary - Archive of obsolete content
in the example above, the chrome is simply a skin file to be loaded into the xul file, but the chrome can also be used to load whole chromes, as when a <menuitem> in one window brings up a new chrome: <menuitem value="mozilla help" on
command="window.opendialog('chrome://help/content/help.xul', '_blank', 'chrome,all,dialog=no')" /> in this example, the chrome url is being used to point to a chrome within the package hierarchy of the mozilla application.
...when you invoke mozilla from the
command line with the -chrome flag, you can specify a chrome just as you would in the previous example: mozilla -chrome chrome://help/content/help.xul brings up the help package mentioned in the previous example as a "stand-alone" chrome.
... <menu id="file" label="file"> <menupopup> <menuitem label="new" on
command="createnewdoc()" /> <menuitem label="open" on
command="opendoc()" /> <menuitem label="close" on
command="closedoc()" /> </menupopup> </menu> element names the item, the widget, while attributes describes features of that element, such as its name, its style, and so on.
...xul buttons have "on
command" event listeners.
reserved - Archive of obsolete content
« xul reference home reserved type: string this attribute applies to a
command element.
... setting this attribute to "true" indicates that the
command is reserved for chrome code and is not available for use in the content.
... this means that, to execute these
commands, key events won't be passed to content, and event listeners registered for them in content will not be executed.
... example here, the
command to open a new browser window is reserved: <
command id="cmd_newnavigator" on
command="openbrowserwindow()" reserved="true"/> if the keyboard shortcut for that is accel-t, then this code will not work as expected, as compared to when it is run from web content: document.addeventlistener("keydown", handlekey, true); function handlekey(event) { // listen for the "new tab" shortcut if (event.metakey && (event.key == "t")) { // log a message console.log("intercepted accel-t"); // prevent the default browser action event.preventdefault(); event.stoppropagation(); } } c...
findbar - Archive of obsolete content
attributes browserid, findnextaccesskey, findpreviousaccesskey, highlightaccesskey, matchcaseaccesskey properties browser, findmode methods close, onfindagain
command, open, startfind, togglehighlight example <browser type="content-primary" flex="1" id="content" src="about:blank"/> <findbar id="findtoolbar" browserid="content"/> attributes browserid type: string the id of the browser element to which the findbar is attached.
... possible values are: find_normal (0): normal find find_typeahead (1): typeahead find find_links (2): link find methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
... onfindagain
command( findprevious ) return type: no return value call this method to handle your application's "find next" and "find previous"
commands.
... you should specify true as the input parameter to perform a "find previous" operation, or false to perform a "find next." startfind( mode ) return type: no return value call this method to handle your application's "find"
command.
Extensions - Archive of obsolete content
<popup id="contentareacontextmenu"> <menuitem id="thumbnail-show" label="view thumbnail" on
command="thumbnails.view();"/> </popup> note that the popup element is used rather than the menupopup element as this is the element that firefox uses.
...for example, the following may be used to insert a
command just after the 'select all'
command: <popup id="contentareacontextmenu"> <menuitem label="select links" on
command="thumbnails.selectalllinks();" insertafter="context-selectall"/> </popup> see firefox context menu for a list of the ids of the items found on the firefox context menu.
...this allows the menu to have different
commands for different types of targets.
...this would be used to enable or disable
commands related to text editing.
Special per-platform menu considerations - Archive of obsolete content
for many menu
commands, convention dictates where these items will be placed.
... for instance, the edit menu always starts with the undo
command if such a feature is available in the application, followed by redo, cut, copy, paste, and so forth.
... here is an example: <menubar> <menu label="tools"> <menupopup> <menuitem label="spell check"/> <menuitem id="menu_preferences" label="preferences" on
command="window.opendialog('options.xul', '_new', 'chrome');"/> </menupopup> </menu> </menubar> this menu item will be placed on the application menu on the macintosh but left in the tools menu on other platforms.
...however, regardless of the platform, the
command event will be fired on the menu item when it is activated by the user.
Creating toolbar buttons (Customize Toolbar Window) - Archive of obsolete content
just add code like this to your overlay: <toolbarpalette id="browsertoolbarpalette"> <toolbarbutton id="myextension-button" class="toolbarbutton-1" label="&toolbarbutton.label;" tooltiptext="&toolbarbutton.tooltip;" on
command="myextension.ontoolbarbutton
command(event);"/> </toolbarpalette> notes: the id of the palette (browsertoolbarpalette in the example) depends on the window (the parent window of the toolbar you wish to insert a button).
... set the
command to be executed when the button is clicked in the on
command attribute.
... if you need to handle middle-click, add this line after the on
command line.
... let button = doc.createelement("toolbarbutton"); button.setattribute("id", button_id); button.setattribute("label", "replace bookmark"); button.setattribute("class", "toolbarbutton-1 chromeclass-toolbar-additional"); button.setattribute("tooltiptext", "replace an existing bookmark"); button.style.liststyleimage = "url(" + icon + ")"; button.addeventlistener("
command", main.action, false); toolbox.palette.appendchild(button); this code is thanks to dgutov and is seen in full context at his repository here at github: dgutov / bmreplace / bootstrap.js.
Adding Methods to XBL-defined Elements - Archive of obsolete content
xul: <box id="num" class="labeledbutton" title="number of things:" value="52"/> <button label="show" on
command="document.getelementbyid('num').showtitle(true)"/> <button label="hide" on
command="document.getelementbyid('num').showtitle(false)"/> xbl: <binding id="labeledbutton"> <content> <xul:label xbl:inherits="value=title"/> <xul:label xbl:inherits="value"/> </content> <implementation> <method name="showtitle"> <parameter name="state"/> <body> if (state) { ...
... document.getanonymousnodes(this)[0].setattribute("style", "visibility: visible"); } else { document.getanonymousnodes(this)[0].setattribute("style", "visibility: collapse"); } </body> </method> </implementation> </binding> two buttons added to the xul have on
command handlers which are used to change the visibility of the label.
...for example, we could move the show and hide buttons into the xbl file and do the following: example 1: source <binding id="labeledbutton"> <content> <xul:label xbl:inherits="value=title"/> <xul:label xbl:inherits="value"/> <xul:button label="show" on
command="document.getbindingparent(this).showtitle(true);"/> <xul:button label="hide" on
command="document.getbindingparent(this).showtitle(false);"/> </content> <implementation> <method name="showtitle"> <parameter name="state"/> <body> if (state) { document.getanonymousnodes(this)[0].setattribute("style","visibility: visible"); } else { documen...
...t.getanonymousnodes(this)[0].setattribute("style","visibility: collapse"); } </body> </method> </implementation> </binding> the on
command handlers here first get a reference to their parent bound element.
Localization - Archive of obsolete content
l"> <script src="findfile.js"/> <popupset> <menupopup id="editpopup"> <menuitem label="&cutcmd.label;" accesskey="&cutcmd.accesskey;"/> <menuitem label="©cmd.label;" accesskey="©cmd.accesskey;"/> <menuitem label="&pastecmd.label;" accesskey="&pastecmd.accesskey;" disabled="true"/> </menupopup> </popupset> <keyset> <key id="cut_cmd" modifiers="accel" key="&cutcmd.
commandkey;"/> <key id="copy_cmd" modifiers="accel" key="©cmd.
commandkey;"/> <key id="paste_cmd" modifiers="accel" key="&pastecmd.
commandkey;"/> <key id="close_cmd" keycode="vk_escape" on
command="window.close();"/> </keyset> <vbox flex="1"> <toolbox> <menubar id="findfiles-menubar"> <menu id="file-menu" label="&filemenu.label;" accesskey="&filemenu.accesskey;"> <menup...
...opup id="file-popup"> <menuitem label="&opencmd.label;" accesskey="&opencmd.accesskey;"/> <menuitem label="&savecmd.label;" accesskey="&savecmd.accesskey;"/> <menuseparator/> <menuitem label="&closecmd.label;" accesskey="&closecmd.accesskey;" key="close_cmd" on
command="window.close();"/> </menupopup> </menu> <menu id="edit-menu" label="&editmenu.label;" accesskey="&editmenu.accesskey;"> <menupopup id="edit-popup"> <menuitem label="&cutcmd.label;" accesskey="&cutcmd.accesskey;" key="cut_cmd"/> <menuitem label="©cmd.label;" accesskey="©cmd.accesskey;" key="copy_cmd"/> <menuitem label="&pastecmd.label;" ...
...r/local"/> <treecell label="&bytes.before;2520&bytes.after;"/> </treerow> </treeitem> </treechildren> </tree> <splitter id="splitbar" resizeafter="grow" style="display: none;"/> <spacer class="titlespace"/> <hbox> <progressmeter id="progmeter" value="50%" style="display: none;"/> <spacer flex="1"/> <button id="find-button" label="&button.find;" on
command="dofind()"/> <button id="cancel-button" label="&button.cancel;" on
command="window.close();"/> </hbox> </vbox> </window> each text string has been replaced by an entity reference.
...label "open search..."> <!entity savecmd.label "save search..."> <!entity closecmd.label "close"> <!entity opencmd.accesskey "o"> <!entity savecmd.accesskey "s"> <!entity closecmd.accesskey "c"> <!entity cutcmd.label "cut"> <!entity copycmd.label "copy"> <!entity pastecmd.label "paste"> <!entity cutcmd.accesskey "t"> <!entity copycmd.accesskey "c"> <!entity pastecmd.accesskey "p"> <!entity cutcmd.
commandkey "x"> <!entity copycmd.
commandkey "c"> <!entity pastecmd.
commandkey "v"> <!entity opencmdtoolbar.label "open"> <!entity savecmdtoolbar.label "save"> <!entity searchtab "search"> <!entity optionstab "options"> <!entity finddescription "enter your search criteria below and select the find button to begin the search."> <!entity findcriteria "search criteria"> <!entity type.name "name"> <!entity ty...
editor - Archive of obsolete content
attributes editortype, src, type properties accessibletype,
commandmanager, contentdocument, contentwindow, docshell, editingsession, editortype, webbrowserfind, webnavigation methods geteditor, gethtmleditor, makeeditable examples this example shows how to made the editor editable by setting the designmode property of the loaded html document: <script language="javascript"> function initeditor(){ // this function is called to set up the editor var e...
...ditor = document.getelementbyid("myeditor"); editor.contentdocument.designmode = 'on'; } </script> <editor id="myeditor" editortype="html" src="about:blank" flex="1" type="content-primary"/> once editable, the document can have special formatting and other html pieces added to it using the document.exec
command method: var editor = document.getelementbyid("myeditor"); // toggle bold for the current selection editor.contentdocument.exec
command("bold", false, null); see the midas overview for more
command strings.
...
commandmanager type: nsi
commandmanager the
command manager handles operations on the editor.
... inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listitem - Archive of obsolete content
attributes accesskey, checked,
command, crop, current, disabled, image, label, preference, selected, tabindex, type, value properties accesskey, accessible, checked, control, crop, current, disabled, image, label, selected, tabindex, value style classes listitem-iconic examples <listbox id="thelist"> <listitem label="ruby"/> <listitem label="emerald"/> <listitem label="sapphire" selected="true"/> <listitem label...
...
command type: id set to the id of a
command element that is being observed by the element.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
menu - Archive of obsolete content
attributes acceltext, accesskey, allowevents,
command, crop, disabled, image, label, menuactive, open, sizetopopup, tabindex, value properties accessibletype, accesskey,
command, control, crop, disabled, image, itemcount, label, labelelement, menupopup, open, parentcontainer, selected, tabindex, value methods appenditem, getindexofitem, getitematindex, insertitemat, removeitemat style classes menu-iconic example <menubar id="sample-me...
...r/> <menuitem label="exit"/> </menupopup> </menu> <menu id="edit-menu" label="edit"> <menupopup id="edit-popup"> <menuitem label="undo"/> <menuitem label="redo"/> </menupopup> </menu> </menubar> attributes acceltext type: string text that appears beside the menu label to indicate the shortcut key (accelerator key) to use to invoke the
command.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
radio - Archive of obsolete content
attributes accesskey,
command, crop, disabled, focused, group, image, label, selected, tabindex, value properties accesskey, accessibletype, control, crop, disabled, image, label, radiogroup, selected, tabindex, value examples <radiogroup> <radio id="orange" label="red" accesskey="r"/> <radio id="violet" label="green" accesskey="g" selected="true"/> <radio id="yellow" label="blue" accesskey="b" disabled="tru...
...
command type: id set to the id of a
command element that is being observed by the element.
...if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
XULRunner 1.8.0.1 Release Notes - Archive of obsolete content
to register xulrunner with the system, open a
command prompt and run xulrunner.exe --register-global (to register for all users) or xulrunner.exe --register-user (to register for one user only).
... uninstalling xulrunner windows/linux from a
command prompt, run xulrunner --unregister-global or xulrunner --unregister-user to unregister xulrunner just as you registered it during installation.
... windows run the following
command from the start menu -> run or from a
command prompt: "c:\program files\mozilla xulrunner\1.8.0.1\xulrunner\xulrunner.exe" --install-app "c:\documents and settings\user\desktop\myapplication.xpi" the application will be installed to c:\program files\vendorname\applicationname mac os x run the following
command in a
command prompt: /library/frameworks/xul.framework/xulrunner-bin --install-app ~/de...
...sktop/myapplication.xpi the application will be installed to /applications/vendor/appicationname linux run the following
command in a
command prompt: /opt/xulrunner/1.8.0.1/xulrunner/xulrunner --install-app ~/desktop/myapplication.xpi the application will be installed to /usr/lib/vendor/applicationname known issues firewall software may identify all xul applications as the same application.
Getting started with XULRunner - Archive of obsolete content
main.xul: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <window id="main" title="my app" width="300" height="300" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="application/javascript" src="chrome://myapp/content/main.js"/> <caption label="hello world"/> <separator/> <button label="more >>" on
command="showmore();"/> <separator/> <description id="more-text" hidden="true">this is a simple xulrunner application.
... windows from a windows
command prompt opened to the myapp folder, we should be able to execute this: c:\path\to\xulrunner.exe application.ini of course, if you opted to install xulrunner then you could simply do %programfiles%\xulrunner.exe application.ini or on 64 bit systems %programfiles(x86)%\xulrunner.exe application.ini note: you can also install your application when you're finished debugging it.
... mac on the mac, before you can run a xulrunner application with everything intact, you must install it using the --install-app xulrunner
commandline flag.
... alternative: run xul apps with firefox with firefox 3 and later, you can tell the firefox executable to run a xul application from the
command line.
Mozprofile - Archive of obsolete content
mozprofile can be utilized from the
command line or as an api.
...
command line usage mozprofile may be used to create profiles, set preferences in profiles, or install addons into profiles.
...if a profile is not specified, one will be created in a temporary directory which will be echoed to the terminal: (mozmill)> mozprofile /tmp/tmp4q1ieu.mozrunner (mozmill)> ls /tmp/tmp4q1ieu.mozrunner user.js to run mozprofile from the
command line enter: mozprofile --help for a list of options.
...profile = firefoxprofile(addons=["adblock.xpi"]) setting preferences preferences can be set in several ways: using the api: you can pass preferences in to the profile class's constructor: obj = firefoxprofile(preferences=[("accessibility.typeaheadfind.flashbar", 0)]) using a json blob file: mozprofile --preferences myprefs.json using a .ini file: mozprofile --preferences myprefs.ini via the
command line: mozprofile --pref key:value --pref key:value [...] when setting preferences from an .ini file or the --pref switch, the value will be interpolated as an integer or a boolean (true/false) if possible.
Mozrunner - Archive of obsolete content
mozrunner may be used from the
command line or programmatically as an api.
...
command line usage the mozrunner
command will launch the application (specified by --app) from a binary specified with -b or as located on the path.
... mozrunner takes the
command line options from mozprofile for constructing the profile to be used by the application.
... run mozrunner --help for detailed information on the
command line program.
Componentizing our React app - Learn web development
prerequisites: familiarity with the core html, css, and javascript languages, knowledge of the terminal/
command line.
...the following
commands make a components directory and then, within that, a file called todo.js.
...remembering that components are either obvious pieces of ui, or reused pieces of ui, or both, we can make two more components: <form/> <filterbutton/> since we know we need both, we can batch some of the file creation work together with a terminal
command.
... run this
command in your terminal, taking care that you're in the root directory of your app: touch src/components/form.js src/components/filterbutton.js the <form /> open components/form.js and do the following: import react at the top of the file, like we did in todo.js.
Deployment and next steps - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
..../ auto-detected project settings (svelte): - build
command: `npm run build` or `rollup -c` - output directory: public - development
command: sirv public --single --dev --port $port ?
... to change the domain or build
command, go to https://zeit.co/opensas/mdn-svelte-tutorial/settings accept all the defaults, and you'll be fine.
...do this by running the following
commands: > git add public/index.html > git add .gitlab-ci.yml > git commit -m "added .gitlab-ci.yml file and fixed index.html absolute paths" > git push counting objects: 5, done.
Learn web development
open your computer's
command prompt (windows) or terminal (linux, macos).
... to copy the learning area repo to a folder called learning-area in the current location your
command prompt/terminal is pointing to, use the following
command: git clone https://github.com/mdn/learning-area you can now enter the directory and find the files you are after (either using your finder/file explorer or the cd
command).
... you can update the learning-area repository with any changes made to the master version on github with the following steps: in your
command prompt/terminal, go inside the learning-area directory using cd.
... for example, if you were in the parent directory: cd learning-area update the repository using the following
command: git pull contact us if you want to get in touch with us about anything, the best way is to drop us a message on our discourse forum.
Simple Thunderbird build
you can pick any other location, such as a new directory c:/thunderbird-src (where "c:/", with a forward slash, is intentional to clarify you are in the mozillabuild
command prompt per windows build prerequisite).
...for hg tip, you should see green bs on https://treeherder.mozilla.org/#/jobs?repo=comm-central to start the build, cd into the source directory, and run: ./mach build mach is our
command-line tool to streamline common developer tasks.
... running to run your build, you can use ./mach run there are various
command line parameters you can add, e.g.
... or same
commands shorter: hg pull -u; (cd comm; hg pull -u) then just re-run the mach
command above.
Obsolete Build Caveats and Tips
this note below seems redundant as this is true by default https://msdn.microsoft.com/en-us/library/dh8che7s%28v=vs.110%29.aspx note: starting with gecko 7.0, you should no longer include "-zc:wchar_t-" in the
command line when building on windows.
... edit vcvars32.bat to correct the problem (see http://blogs.msdn.com/windowssdk/arc...vironment.aspx "workaround: repair the vs2008
command line build environment by editing c:\program files\microsoft visual studio 9.0\vc\bin\vcvars32.bat manually").
...alternatively you can install the
command-line compiler as part of the windows 7 sdk, but you are then expected to use the included windbg debugger.
... the visual c++ 8
command-line compiler is included with the vista sdk, but you are then expected to use the included windbg debugger.
Displaying Places information using views
it also contains the built-in places context menu and
commands, which you may want to take advantage of in your own uses of the views.
... managing how the view responds to clicks,
commands, and other user interaction.
...you can hook up a built-in view to the standard places
commands and context menu, or you can create a custom controller to handle custom
commands.
... fortunately you can
commandeer parts of the built-in tree view to suit your purposes.
mozbrowsercaretstatechanged
commands an object that defines what
commands can currently be executed in the browser <iframe>.
... its properties are canselectall: a boolean indicating whether the selectall
command is available (true) or not (false.) cancut: a boolean indicating whether the cut
command is available (true) or not (false.) cancopy: a boolean indicating whether the copy
command is available (true) or not (false.) canpaste: a boolean indicating whether the paste
command is available (true) or not (false.) reason a domstring that defines the reason for the state being changed.
... senddo
commandmsg a method allowing you to issue a
command via an anonymouse function, i.e.
... function(
command).
Gecko Keypress Event
charcode of dom keypress event if a keypress event is fired without any modifier keys (ctrl/alt(option)/meta(win/
command)), then the properties of the event are the same as they were in gecko1.8.1.
...
command) is the accel key on mac.
... mac the charcode is replaced when meta (
command) or ctrl is down.
... if the current keyboard layout is dvorak-qwerty layout or a non-latin layout, the
command key switches the keyboard layout to the us qwerty keyboard layout temporary.
Activity Monitor, Battery Status Menu and top
the weightings of each factor can be found in one of the the files in /usr/share/pmenergy/mac-<id>.plist, where <id> can be determined with the following
command.
... top top is similar to activity monitor, but is a
command-line utility.
... top -stats pid,
command,cpu,idlew,power -o power -d note: -a and -e can be used instead of -d to get different counting modes.
... pid
command %cpu idlew power 50300 firefox 12.9 278 26.6 76256 plugin-container 3.4 159 11.3 151 coreaudiod 0.9 68 4.3 76505 top 1.5 1 1.6 76354 activity monitor 1.0 0 1.0 the pid,
command and %cpu columns are self-explanatory.
DMD
with the following
command.
... adb shell su # you need root access for the setprop
command to take effect setprop wrap.org.mozilla.fennec_$username "/data/local/tmp/dmd_fennec" once this is set up, starting the org.mozilla.fennec_$username app will use the wrapper script.
... launch launch fennec either by tapping on the icon as usual, or from the
command line (as before, be sure to replace org.mozilla.fennec_$username with the app identifier as appropriate).
... as an example that combines multiple options, if you apply the following
command to a profile obtained in "live" mode: dmd.py -r -f 2 -a -s slop it will give you a good idea of where the major sources of slop are.
TimerFirings logging
if the output is redirected to a file called out, then the following
command will pull out the timer-related lines, count how many times each unique line appears, and then print them with the most common ones first.
... cat out | grep timer | sort | uniq -c | sort -r -n the following is sample output from this
command.
... it is sometimes useful to pre-process the output by stripping out certain parts of each line before doing this aggregation step, for example, by inserting one or more of the following
commands into the
command pipeline.
... sed 's/^[^:]\+: //' # strip thread ids sed 's/\[[0-9]\+\] //' # strip process ids sed 's/ \+[0-9]\+ ms//' # strip timer periods the following is the previous sample output with all three of these
commands added into the pipeline.
Profile Manager
these cause firefox to be launched with various
command-line arguments.
... see
command line options for a description of these.
... launch option
command line argument run firefox in offline mode -offline run firefox in safe mode -safe-mode start firefox with a console -console start new instance -no-remote note: it isn't possible to start a second instance of firefox without passing it the -no-remote
command line argument.
... other operations context-clicking any profile in the profile list will cause a popup menu to appear with the following
commands: copy - makes a copy of the profile using a name and location of your choice.
NSS 3.16.2 release notes
notable changes in nss 3.16.2 the btoa
command has a new
command-line option -w suffix, which causes the output to be wrapped in begin/end lines with the given suffix.
... the certutil
commands supports additionals types of subject alt name extensions: --extsan type:name[,type:name]...
... the certutil
commands supports generic certificate extensions, by loading binary data from files, which have been prepared using external tools, or which have been extracted and dumped to file from other existing certificates: --dump-ext-val oid --extgeneric oid:critical-flag:filename[,oid:critical-flag:filename]...
... the certutil
command has three new certificate usage specifiers: l: certificateusagesslca a: certificateusageanyca y: certificateusageverifyca the pp
command has a new
command-line option -u, which means "use utf-8".
NSS Tools sslstrength
sslstrength summary a simple
command-line client which connects to an ssl-server, and reports back the encryption cipher and strength used.
...the letter in the first column of the output is used to identify the cipher preferences in the ciphers=
command.
...in addition to this, the ciphers
command can be used to further restrict the ciphers available.
... the argument to the ciphers
command is a string of characters, where each single character represents a cipher.
NSS Tools sslstrength
sslstrength summary a simple
command-line client which connects to an ssl-server, and reports back the encryption cipher and strength used.
...the letter in the first column of the output is used to identify the cipher preferences in the ciphers=
command.
...in addition to this, the ciphers
command can be used to further restrict the ciphers available.
... the argument to the ciphers
command is a string of characters, where each single character represents a cipher.
Rhino Debugger
console window the debugger redirects the system.out, system.in, and system.err streams to an internal javascript console window which provides an editable
command line for you to enter javascript code and view system output.
... the console window maintains a history of the
commands you have entered.
... evaluation window the evaluate pane located in the lower-right (dockable) pane in the debugger main window contains an editable
command line where you may enter arbitrary javascript code.
...the window maintains a history of the
commands you have entered.
Setting up CDT to work on SpiderMonkey
the initial build was in clang, so the modified build
commands look like this: mkdir _dbg.obj cd _dbg.obj cc='clang -qunused-arguments -fcolor-diagnostics' cxx='clang++ -qunused-arguments -fcolor-diagnostics' \ ../configure --enable-debug --disable-optimize --enable-debug-symbols note: if you want to use ccache, you can enable it by adding --with-ccache to the arguments list.
... under the "builder settings" group tab, deactivate "use default build
command".
... instead, change "build
command" to read make -w (this is required because cdt needs detailed information about which directories make operates on, which using -w causes make to provide).
...under the "providers" group tab, select "cdt gcc build output parser" and add the string |(ccache) to the end of the "compiler
command pattern" text input.
Signing Mozilla apps for Mac OS X
the codesign tool apple provides a tool called codesign; this
command-line application is used to add a signature to an application bundle.
...you can find it by running this
command in the terminal: openssl x509 -text -noout -inform der -in devloperid_application.cer | grep subject putting it all together, you'll wind up using a
command similar to the one below to sign your app.
...s \ --requirements '=designated => identifier "org.you.yourapp" and ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate leaf[subject.ou] = "43aq936h96"))' \ application.app or if you're using v2 signing, the
command might look like this: codesign -s mac-testing -fv --deep \ --keychain /users/user/library/keychains/mykeychain.keychain \ --requirements '=designated => ( (anchor apple generic and certificate leaf[field.1.2.840.113635.100.6.1.9] ) or (anchor apple generic and certificate 1[field.1.2.840.113635.100.6.2.6] and certificate leaf[field.1.2.840.113635.100.6.1.13] and certificate lea...
...f[subject.ou] = "43aq936h96"))' \ application.app depending on your keychain preferences, the codesign
command may display a popup asking for the password for the specified keychain.
Using the Mozilla symbol server
to use only the mozilla symbol server, add the following entry to your symbol path (note: you can replace c:\symcache\ with any writable directory on your computer, if you'd prefer a different location for downloaded symbols): srv*c:\symcache\*https://symbols.mozilla.org/ set this string as _nt_symbol_path in the environment, using the windbg menus, or by typing the .sympath
command.
...the
command should look like this (again, you can replace c:\symcache\ with any writable directory on your computer, if you'd prefer a different location for downloaded symbols): c:\program files\mozilla firefox>c:\progra~1\debugg~1\symchk.exe /r c:\progra~1\mozill~1\* /s srv*c:\symcache\*https://symbols.mozilla.org/ note the \* after the mozilla directory.
... the output of this
command should be similar to: symchk: fullsoft.dll failed - image is split correctly, but fullsoft.dbg is missing symchk: qfaservices.dll failed - qfaservices.pdb mismatched or not found symchk: talkback.exe failed - built without debugging information.
...even using the
command line with symchk.exe to download symbols will fail.
Index - Firefox Developer Tools
127 search to search for a particular file, press control + p (or
command + p on a mac) and type the search term.
...while you're in another tool in the toolbox, just press esc or select the "show split console"
command in the toolbar menu.
... 152 web console helpers debugging, javascript, web development, web console the javascript
command line provided by the web console offers a few built-in helper functions that make certain tasks easier.
... 155 web console keyboard shortcuts these shortcuts apply when you're in the
command line interpreter.
Tips - Firefox Developer Tools
via web console
command: screenshot <filename.png> --fullpage.
... right-click a node and click "use in console" to
command line as tempn variable.
... web console in all panels: esc opens the split console; useful when debugging, or inspecting nodes in the
command line: $0 references the currently selected node.
... help opens the mdn page describing the available
commands.
Web console keyboard shortcuts - Firefox Developer Tools
command windows macos linux open the web console ctrl + shift + k cmd + opt + k ctrl + shift + k search in the message display pane ctrl + f cmd + f ctrl + f open the object inspector pane ctrl + click ctrl + click ctrl + click clear the object inspector pane esc esc esc focus on the
command line ctrl + shift + k cmd + opt + k ctrl + shift + k clear output ctrl + shift + l ctrl + l from firefox 67: cmd + k ctrl + shift + l
command line interpreter these shortcuts apply when you're in the
command line interpreter.
...
command windows macos linux scroll to start of console output (only if the
command line is empty) home home home scroll to end of console output (only if the
command line is empty) end end end page up through console output page up page up page up page down through console output page down page down page down go backward through
command history up arrow up arrow up arrow go forward through
command history down arrow down arrow down arrow initiate reverse search through
command history/step backwards through matching
commands f9 ctrl + r f9 step forward through matching
command history (after initiating reverse search) shift + f9 ctrl + s ...
... beginning of the line home ctrl + a ctrl + a move to the end of the line end ctrl + e ctrl + e execute the current expression enter return enter add a new line, for entering multiline expressions shift + enter shift + return shift + enter autocomplete popup these shortcuts apply while the autocomplete popup is open:
command windows macos linux choose the current autocomplete suggestion tab tab tab cancel the autocomplete popup esc esc esc move to the previous autocomplete suggestion up arrow up arrow up arrow move to the next autocomplete suggestion down arrow down arrow down arrow page up through autocomplete suggestions pa...
...
command windows macos linux increase font size ctrl + + cmd + + ctrl + + decrease font size ctrl + - cmd + - ctrl + - reset font size ctrl + 0 cmd + 0 ctrl + 0 ...
Web Console UI Tour - Firefox Developer Tools
message display pane this is where the messages appear, both those generated by the code in the page, and those generated by the
commands entered on the
command line.
... note: you can clear the contents of the console by entering the keyboard
command ctrl + shift + l (windows, macos, and linux) or cmd + k on macos.
...
command line the
command line starts with double angle brackets (>>).
... in firefox 71 onwards, there is a new "split pane" icon on the right hand side of the
command line — clicking this will open the new console multi-line mode.
HTMLImageElement.complete - Web APIs
but imagine that you have other code that needs to only run when the image has completed loading, such as a
command that performs red-eye removal on the image in the lightbox.
... while ideally this
command wouldn't even be executed if the image hasn't fully loaded, for improved reliability you want to check to ensure this is the case.
... so the fixredeye
command() function, which is called by the button that triggers red-eye removal, checks the value of the lightbox image's complete property before attempting to do its work.
...*/ function fixredeye
command() { if (lightboxelem.style.display === "block" && lightboximgelem.complete) { fixredeye(lightboximgelem); } else { /* can't start doing this until the image is fully loaded */ } } specifications specification status comment html living standardthe definition of 'htmlimageelement.complete' in that specification.
WebGL best practices - Web APIs
flush when expecting results (like queries or rendering frame completion) flush tells the implementation to push all pending
commands out for execution, flushing them out of the queue, instead of waiting for more
commands to enqueue before sending for execution.
... for example, it is possible for the following to never complete without context loss: sync = glfencesync(gl_sync_gpu_
commands_complete, 0); glclientwaitsync(sync, 0, gl_timeout_ignored); webgl doesn't have a swapbuffers call by default, so a flush can help fill the gap, as well.
... use webgl.flush() when not using requestanimationframe when not using raf, (such as when using rpaf; see below) use webgl.flush() to encourage eager execution of enqueued
commands.
...f (res == gl.wait_failed) { reject(); return; } if (res == gl.timeout_expired) { settimeout(test, interval_ms); return; } resolve(); } test()); }); } async function getbuffersubdataasync( gl, target, buffer, srcbyteoffset, dstbuffer, /* optional */ dstoffset, /* optional */ length) { const sync = gl.fencesync(gl.sync_gpu_
commands_complete, 0); gl.flush(); await clientwaitasync(gl, sync, 0, 10); gl.deletesync(sync); gl.bindbuffer(target, buffer); gl.getbuffersubdata(target, srcbyteoffset, dstbuffer, dstoffset, length); gl.bindbuffer(target, null); return dest; } async function readpixelsasync(gl, x, y, w, h, format, type, dest) { const buf = gl.createbuffer(); gl.bindbuffer(gl.pixel_pack_buffer, buf)...
Implementing a Microsoft Active Accessibility (MSAA) Server - Accessibility
the screen reader user can navigate the web page using screen reader
commands or browser
commands, and the two pieces of software must remain in sync.
...read the manual or help, and find the keystroke or
commands for training the caret, and save this information in the configuration file.
...the window class is also used to determine a host of hard-coded behaviors, such as whether or not a screen reader will load the entire msaa tree into a special buffer for the user to navigate with screen reader
commands.
...where your application's keyboard
commands will be solely used to navigate.
HTML elements reference - HTML: Hypertext Markup Language
<menu> the html <menu> element represents a group of
commands that a user can perform or activate.
... <
command> the html
command element (<
command>) represents a
command which the user can invoke.
...
commands are often used as part of a context menu or toolbar.
... <menuitem> the html <menuitem> element represents a
command that a user is able to invoke through a popup menu.
HTML documentation index - HTML: Hypertext Markup Language
83 <
command>: the html
command element
command, html, html
commands, html5, html:element, html:element reference, obsolete the html
command element (<
command>) represents a
command which the user can invoke.
...
commands are often used as part of a context menu or toolbar.
... 155 <menu> element, experimental, html, html interactive elements, navigation, reference, site navigation, ui, ux, user interface, user experience, web, menu, menus the html <menu> element represents a group of
commands that a user can perform or activate.
... 156 <menuitem> deprecated, element, html, html5, navigation, navigation menus, reference, ui, ux, user interface, user experience, web, menuitem the html <menuitem> element represents a
command that a user is able to invoke through a popup menu.
Compiling a New C/C++ Module to WebAssembly - WebAssembly
take a copy of the following simple c example, and save it in a file called hello.c in a new directory on your local drive: #include <stdio.h> int main(int argc, char ** argv) { printf("hello world\n"); } now, using the terminal window you used to enter the emscripten compiler environment, navigate to the same directory as your hello.c file, and run the following
command: emcc hello.c -s wasm=1 -o hello.html the options we’ve passed in with the
command are as follows: -s wasm=1 — specifies that we want wasm output.
... now navigate into your new directory (again, in your emscripten compiler environment terminal window), and run the following
command: emcc -o hello2.html hello2.c -o3 -s wasm=1 --shell-file html_template/shell_minimal.html the options we've passed are slightly different this time: we've specified -o hello2.html, meaning that the compiler will still output the javascript glue code and .html.
...the above
command will have generated hello2.html, which will have much the same content as the template with some glue code added into load the generated wasm, run it, etc.
...from inside your latest directory (and while inside your emscripten compiler environment terminal window), compile your c code with the following
command.
Miscellaneous - Archive of obsolete content
html also, new in firefox 3 / gecko 1.9: var utils = window.queryinterface(components.interfaces.nsiinterfacerequestor) .getinterface(components.interfaces.nsidomwindowutils); utils.sendmouseevent("mousedown", 10, 10, 0, 1, 0); utils.sendmouseevent("mouseup", 10, 10, 0, 1, 0); getting the currently selected text from browser.xul overlay context: var selectedtext = document.
commanddispatcher.focusedwindow.getselection().tostring(); or: content.getselection(); // |window| object is implied; i.e., window.content.getselection() or: getbrowserselection(); // |window| object is implied; i.e., window.getbrowserselection() this final option massages the selection to remove leading and trailing whitespace.
... var focusedcontrol; window.addeventlistener("load", function(e) { onwindowload(e); }, false); function onwindowload() { gbrowser.addeventlistener("load", onpageload, true); } function onpageload() { pagedoc = document.
commanddispatcher.focusedwindow.document; var inputlist = pagedoc.getelementsbytagname('input'); for (var i=1; i<inputlist.length; i++) { inputlist.item(i).
... addeventlistener("blur", function(e) {onblurinput(e);}, false); } } function onfocusinput(focusevent) { focusedcontrol = focusevent.originaltarget; } function onblurinput(blurevent) { focusedcontrol = null; } or var element = document.
commanddispatcher.focusedelement; inserting text at the cursor function inserttext(element, snippet) { var selectionend = element.selectionstart + snippet.length; var currentvalue = element.value; var beforetext = currentvalue.substring(0, element.selectionstart); var aftertext = currentvalue.substring(element.selectionend, currentvalue.length); element.value = beforetext + snippet + aftertext; element.focus(); //put the cursor after the i...
Enhanced Extension Installation - Archive of obsolete content
first it must locate the firefox executable, then run it with the -install-global-extension
command line flag, which installs from a xpi into the firefox application directory.
... since all metadata is now stored in the profile directory, there is no longer any need for special extension system handling of the -register
command line flag, so support for that has been removed.
...bugs in the
command controller in the extensions ui made this possible in firefox 1.0 which could leave the user in bogus states.
Source code directories overview - Archive of obsolete content
document.goofy = 1), this code will create the "goofy" node, put it on the "document" node and manipulate it according to any later javascript
commands.
... xpcom contains the low-level c interfaces, c code, c code, a bit of assembly code and
command line tools for implementing the basic machinery of xpcom components (which stands for "cross platform component object model").
... components contains the alerts, autocomplete,
command line interface, console, cookies, download manager, filepicker, history, password manager, typeaheadfind, view source, etc.
Dehydra Function Reference - Archive of obsolete content
gcc
command line -fplugin=/path/to/gcc_dehydra.so -fplugin-arg-gcc_dehydra=/path/to/your/script.js callback functions the following functions may be provided by the analysis script and will be called by dehydra while compiling.
... optional: code is an integer parameter that allows warnings to be enabled(-wfoo) and disabled(-wno-) on the gcc
commandline.
..."gnu c" or "gnu c++") arguments this.arguments is a javascript array containing
command-line arguments passed to a script.
Bundles - Archive of obsolete content
webapp bundle in addition to passing simple
command line parameters, prism can use a zipped bundle package to install a webapp.
...when prism is launched with a "-webapp [bundle]"
command line, the bundle must first be unpacked before the web application is launched.
...this is why the preferred method of launching is to use the "-webapp [webapp-id]"
command line, which looks for the previously installed (unpacked) web application in the prism webapps/{webapp-id} folder.
Using cross commit - Archive of obsolete content
(although it works without specifying -m on the
command line if you are using x-enabled emacs on linux.) also note that if you don't specify any branches to commit on, cross-commit will commit to the trunk and the mozilla_1_8_branch by default.
... details cross-commit accepts the following options: all cvs options (those to the left of the specific cvs
command) and cvs commit options (those to the right of a commit
command), although the -r and -f cvs options need to be specified as --cvs-r and --cvs-f to avoid conflict with the similarly named (but different in meaning) cvs commit options.
... you can list the files/directories you want it to commit on the
command line or leave them out and let it recursively troll the current directory.
PopupEvents - Archive of obsolete content
upshown", filemenuopened, false); var openmenu = document.getelementbyid("open-menu"); openmenu.open = true; } </script> <menu id="file-menu" label="file"> <menupopup id="file-menupopup"> <menu id="open-menu" label="open"> <menupopup> <menuitem label="file..."/> <menuitem label="page"/> </menupopup> </menu> </menupopup> </menu> <button label="open" on
command="openfilemenu();"/> when the button is pressed, the openfilemenu function is called.
...<panel onpopuphiding="document.getelementbyid('search').value = '';"> <textbox id="search"/> <button label="search" on
command="dosearch();"/> </panel> you can prevent a popup from hiding by calling the event's preventdefault method.
...in this situation the
command event has already been sent to the selected menuitem and the operation already carried out.
controllers - Archive of obsolete content
the controllers are used to respond to
commands.
... the document's
command dispatcher will locate controllers to handle a
command by using the focused element's list.
... example <window id="controller-example" title="controller example" onload="init();" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script> function init() { var list = document.getelementbyid("thelist"); var listcontroller = { supports
command : function(cmd){ return (cmd == "cmd_delete"); }, is
commandenabled : function(cmd){ if (cmd == "cmd_delete") return (list.selecteditem != null); return false; }, do
command : function(cmd){ list.removeitemat(list.selectedindex); }, onevent : function(evt){ } }; list.controllers.appendcontroller(listcontroller); } </script> <listbox id="thelist"> <listitem label="ocean"/> <listitem label="desert"/> <listitem label="jungle"/> <listitem label="swamp"/> </listbox...
XBL Example - Archive of obsolete content
an on
command handler will need to be added to the previous and next buttons so that the page is changed when the buttons are pressed.
... conveniently, we can change the page using the custom 'page' property that was just added: <xul:button xbl:inherits="label=previoustext" on
command="parentnode.parentnode.parentnode.page--;"/> <xul:description flex="1"/> <xul:button xbl:inherits="label=nexttext" on
command="parentnode.parentnode.parentnode.page++;"/> because the 'page' property is only on the outer xul element, we need to to use the parentnode property to get to it.
... the final code the final code is as follows: example 2 : source <binding id="slideshow"> <content> <xul:vbox flex="1"> <xul:deck xbl:inherits="selectedindex" selectedindex="0" flex="1"> <children/> </xul:deck> <xul:hbox> <xul:button xbl:inherits="label=previoustext" on
command="parentnode.parentnode.parentnode.page--;"/> <xul:description flex="1"/> <xul:button xbl:inherits="label=nexttext" on
command="parentnode.parentnode.parentnode.page++;"/> </xul:hbox> </xul:vbox> </content> <implementation> <constructor> var totalpages=this.childnodes.length; document.getanonymousnodes(this)[0].childnodes[1].childn...
XUL Structure - Archive of obsolete content
these are the -chrome
command line argument and the chrome modifier to the window.open() function.
...for example, the file browser.dtd contains entity declarations for each menu
command.
... in addition, keyboard shortcuts for each
command are also defined, because they may be different for each language.
titlebar - Archive of obsolete content
the titlebar will send a
command event after the move is complete.
... <?xml version="1.0"?> <window title="movable hud window" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" width="300" height="200" style="background: transparent; -moz-appearance: none;"> <titlebar flex="1" on
command="close()" style="background: rgba(30, 30, 30, 0.9); -moz-border-radius: 10px; -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); margin: 8px 12px 16px;"/> </window> it can be opened from the error console like this: open("file:///users/markus/sites/hudwindow.xul", "", "chrome=1, titlebar=0") attributes inherited from xul element ...
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
tree - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
... xul for the tree: <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="file://c:/main.css" type="text/css"?> <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <row><button label="getrowvalues" on
command="getrowcellvalues();"/></row> <tree flex="1" editable="true" id="mytree"> <treecols> <treecol label="active" type="checkbox" editable="true" /> <treecol label="name" flex="1" id="name"/> </treecols> <treechildren> <treeitem> <treerow> <treecell value="false"/> <treecell label="alice"/> </treerow> </treeitem> <treeitem> <treerow> ...
Sunbird Theme Tutorial - Archive of obsolete content
for example, when i wrote this article i used this
command in my theme directory: zip -0r testing-0.1.jar .
...for example, when i wrote this article i used this
command in my <tt>chrome</tt> directory: zip -0r testing.jar .
...for example, when i wrote this article i used this
command in my theme directory: zip -9 testing-0.1.jar * chrome/testing.jar make this jar file available to users.
Tamarin Tracing Build Documentation - Archive of obsolete content
use the following
command to create a copy of the tamarin repository: $ hg clone http://hg.mozilla.org/tamarin-tracing tamarin-tracing building tamarin building tamarin will create all the libraries for the avmplus and garbage collector (mmgc), and create a standalone executable, avmshell, for executing files in the abc file format.
...note that additional
command-line arguments are only available in the debug configuration.
...nor does any other brand of make.) with the right prerequisites, use these
commands to build tamarin tracing: $ hg clone http://hg.mozilla.org/tamarin-tracing $ cd tamarin-tracing $ mkdir objdir-debug $ cd objdir-debug $ python ../configure.py --enable-shell $ make ...
Building a Theme - Archive of obsolete content
if you get a message that the install.rdf is malformed, it is helpful to load it into firefox using the file->open file
command and it will report xml errors to you.
... on mac os or linux, you can use the
command-line zip tool: zip -r my_theme.xpi install.rdf chrome.manifest browser communicator global mozapps or, if you have 7-zip installed, you can use that for zipping it up: 7z a -tzip my_theme.xpi chrome chrome.manifest note: the
command-line tool will update an existing zip file, not replace it - so if you have files you've deleted from your theme, be sure to remove the .xpi file before running...
... the zip
command again.
Scratchpad - Archive of obsolete content
but even with possible limitations present, the html code can be either manually entered or copied from the source and pasted into the "about:blank" page (a new empty tab) with the use page inspector's edit as html context menu
command.
... keyboard shortcuts
command windows macos linux open the scratchpad shift + f4 shift + f4 shift + f4 run scratchpad code ctrl + r cmd + r ctrl + r run scratchpad code, display the result in the object inspector ctrl + i cmd + i ctrl + i run scratchpad code, insert the result as a comment ctrl + l cmd + l ctrl + l re-evaluate current fu...
...
command windows macos linux go to line ctrl + j, ctrl + g cmd + j, cmd + g ctrl + j, ctrl + g find in file ctrl + f cmd + f ctrl + f select all ctrl + a cmd + a ctrl + a cut ctrl + x cmd + x ctrl + x copy ctrl + c cmd + c ctrl + c paste ctrl + v cmd + v ctrl + v undo ctrl + z ...
XUL Parser in Python - Archive of obsolete content
for example, you could easily adapt this to: return the id values of all the elements take elements on the
command line and only spell them out build new chrome subdirectories (i.e.
...it also, i'm afraid, only works on the win32 platform, where the <tt>dir</tt>
command it depends on gets you your xul files.
...after all the xul files in the specified directory and its subdirectories are fed to the parser and parsed (using the win32 system's <tt>dir /s /b *.xul</tt>
command), the dictionary of dictionaries is sorted and written into an html table.
How do you upload your files to a web server? - Learn web development
it is seen as a more advanced tool than sftp, beause by default it is used on the
command line.
... a basic
command looks like so: rsync [-options] source user@x.x.x.x:destination -options is a dash followed by a one or more letters, for example -v for verbose error messages, and -b to make backups.
... rsync gui tools as with other
command line tools, gui tools also exist for rsync, for those who are not as comfortable with using the
command line.
Ember Interactivity: Footer functionality, conditional rendering - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
...enter the following terminal
command to do so: ember generate component-class footer next, go and find the newly-created todomvc/app/components/footer.js file and update it to the following: import component from '@glimmer/component'; import { inject as service } from '@ember/service'; export default class footercomponent extends component { @service('todo-data') todos; } now we need to go back to our todo-data.
... creating a todo class run the following
command in your terminal: ember generate component-class todo now go to the newly-created todomvc/app/components/todo.js file and update the contents to look like so, to give the todo component access to the service: import component from '@glimmer/component'; import { inject as service } from '@ember/service'; export default class todocomponent extends component { @service('todo-data') to...
Ember interactivity: Events, classes and state - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
... run this terminal
command to generate a service for us to store our todo-list data in: ember generate service todo-data this should give you a terminal output like so: installing service create app/services/todo-data.js installing service-test create tests/unit/services/todo-data-test.js this creates a todo-data.js file inside the todomvc/app/services directory to contain our service, which initially contains an i...
...press ctrl + c to stop the development server, and enter the following terminal
command: ember generate component-class todo-list this generates the new component class todomvc/app/components/todo-list.js.
Routing in Ember - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
...to do this you’ll need to enter the following
commands into your terminal, inside the root directory of your app: ember generate route index ember generate route completed ember generate route active the second and third
commands should have not only generated new files, but also updated an existing file, app/router.js.
... it contains the following contents: import emberrouter from '@ember/routing/router'; import config from './config/environment'; export default class router extends emberrouter { location = config.locationtype; rooturl = config.rooturl; } router.map(function() { this.route('completed'); this.route('active'); }); the highlighted lines were added when the 2nd and 3rd
commands above were run.
Ember app structure and componentization - Learn web development
prerequisites: at minimum, it is recommended that you are familiar with the core html, css, and javascript languages, and have knowledge of the terminal/
command line.
... using the cli to create our components for us so to represent our app, we want to create 4 components: header list individual todo footer to create a component, we use the ember generate component
command, followed by the name of the component.
... enter the following
command into your terminal: ember generate component header these will generate some new files, as shown in the resulting terminal output: installing component create app/components/header.hbs skip app/components/header.js tip to add a class, run `ember generate component-class header` installing component-test create tests/integration/components/header-test.js header.hbs is the template file where we’ll include the html structure for just that component.
Getting started with Vue - Learn web development
prerequisites: familiarity with the core html, css, and javascript languages, knowledge of the terminal/
command line.
... to install the cli, run the following
command in your terminal: npm install --global @vue/cli or if you'd prefer to use yarn: yarn global add @vue/cli once installed, to initialize a new project you can then open a terminal in the directory you want to create the project in, and run vue create <project-name>.
...the cli adds a serve
command to the project’s package.json file as an npm script, so you can easily run it.
Git and GitHub - Learn web development
in fact, it is probably useful for you to get to know at least the basics of git terminal
commands, even if you intend to use a gui.
... git handbook (from github) this git handbook goes into a little more depth, explaining what a vcs is, what a repository is, how the basic github model works, git
commands and examples, and more.
...as you get deeper into git, you'll start to realise that it is easy to go wrong when you start using more complicated
commands.
Understanding client-side web development tools - Learn web development
client-side tooling can be intimidating, but this series of articles aims to illustrate the purpose of some of the most common client-side tool types, explain the tools you can chain together, how to install them using package managers, and control them using the
command line.
...
command line crash course in your development process you'll undoubtedly be required to run some
command in the terminal (or on the "
command line" — these are effectively the same thing).
... this article provides an introduction to the terminal, the essential
commands you'll need to enter into it, how to chain
commands together, and how to add your own
command line interface (cli) tools.
Overview of Mozilla embedding APIs
contract-id: ns_webbrowser_contractid implemented interfaces: nsiwebbrowser nsiwebnavigation nsiwebbrowsersetup nsiwebbrowserpersist nsiwebbrowserfind nsiwebbrowserprint nsiwebbrowserfocus nsibasewindow requestor interfaces: nsidomwindow nsidomdocument nsiwebprogress nsiclipboard
commands nsiprompt related interfaces: nsiprompt nsiwebbrowserchrome nsiwebbrowsersitewindow nsiwebprogresslistener nsicontextmenulistener nsiprintoptions overview: most of gecko's functionality is exposed through the nswebbrowser component.
...clipboard the webbrowser exposes access to the system clipboard via the nsiclipboard
commands interface.
...interface definition: nsiclipboard
commands interface status...
Embedding the editor
thence, lots of javascript in editor.js, composer
commands.js and the various dialog js files assume that they can get at the one true editor via window.editorshell.
...the editing session will forward
commands to the individual editors depending on focus, and mediate undo/redo between them.
...in composer, we'd have an implementation in js that talks to the existing
commands, and updates the xul nodes.
Embedding Tips
obtain the nsiclipboard
commands interface from the appropriate web browser object via nsiserviceprovider::getinterface (or the do_getinterface() helper method).
... when setting up your browser add a hook to the
command manager which points to your nsiwebbrowserchrome implementation.
... nscomptr<nsi
commandmanager>
commandmanager = do_getinterface(iwebbrowser); if (
commandmanager) { nscomptr<nsidomwindow> thedomwindow = do_getinterface(iwebbrowser); nscomptr<nsi
commandparams> cmdparamsobj = do_createinstance(ns_
command_params_contractid,&rv); cmdparamsobj->setisupportsvalue("addhook", reinterpret_cast<nsisupports*>(ichromeimplementation));
commandmanager->do
command("cmd_clipboarddragdrophook", cmdparamsobj, thedomwindow); } ...
Patching a Localization
cd ~/localization-workdir/gl create a patch (also known as a diff) using the diff
command.
... hg diff this
command creates a patch and lists your modifications through displaying the differences in a unified patch's files.
...the
command will only print the differences found in the selected files.
Investigating leaks using DMD heap scan mode
the
command you need to run firefox will look something like this: xpcom_mem_bloat_log=1 moz_cc_log_shutdown=1 moz_disable_content_sandbox=t moz_cc_log_directory=$logdir moz_cc_log_process=content moz_cc_log_thread=main moz_dmd_shutdown_log=$logdir moz_dmd_log_process=tab ./mach run --dmd --mode=scan breaking this down: xpcom_mem_bloat_log=1: this reports a list of the counts of every object created and...
... with that
command line in hand, you can start firefox.
...the
command to invoke this looks like this: python $heapgraph/find_roots.py $cclog $winaddr this may take a few seconds.
Profiling with Xperf
to see your xperf version, either run 'xperf' on a
command line with no arguments, or start 'xperfview' and look at help -> about performance analyzer.
...either run these
commands from there, or add the directory to your path.
... you will need to use an elevated
command prompt to start or stop profiling.
Profiling with the Firefox Profiler
if you want to profile firefox for android, you have to set this environment values by --es option of am
command to launch firefox.
...thgis requires the following
command: $ xpcshell -m -i -n -e ' const ci = components.interfaces; const cc = components.classes; var profiler = cc["@mozilla.org/tools/profiler;1"].getservice(ci.nsiprofiler); profiler.startprofiler( 10000000 /* = profiler memory */, 1 /* = sample rate: 100µs with patch, 1ms without */, ["stackwalk", "js"], 2 /* = features, and number of features.
...this can be achieved by additionally setting the layers.dump-texture pref to true, or by adding -f layersdump to the profiler
command line (the latter implies both the layers.dump and layers.dump-texture prefs).
TraceMalloc
the built mozilla application will support the following additional
command-line options: --trace-malloc filename the application will log allocation and deallocation events with stack traces in a binary format to the given file.
...if logfd identifies the current log file, change the current log file to the default log file given by the --trace-malloc
command line argument.
...ignore the allocations log, and run leaksoup over the memory dump (which is a dump of all allocations still live at shutdown) with a
command such as ./run-mozilla.sh ./leaksoup sdleak.log > sdleak.html.
Creating a Cookie Log
enabling cookie logging windows open a
command prompt (this is under programs or programs/accessories in normal installations of windows).
... linux start a
command shell (these instructions are for bash, if you use something else, you probably know how to modify these instructions already).
...close out of the
command prompt/shell/terminal, and then launch firefox normally.
An overview of NSS Internals
if you want to work with nss, it's often helpful to use the
command line utilities that are provided by the nss developers.
...if you require it in pem format, you could use the openssl pkcs12
command (that's not nss) to convert the pkcs#12 file to pem.
...however, if you want to work with the nss
command line tools, you will have to follow the standalone nss build instructions, and build nss outside of the mozilla application sources.
NSS sources building testing
create a new directory on your computer that you will use as your local work area, and run the following
commands.
... hg clone https://hg.mozilla.org/projects/nspr hg clone https://hg.mozilla.org/projects/nss after the above
commands complete, you should have two local directories, named nspr and nss, next to each other.
...as a test, it must be possible to successfully use the
command "ping $host.$domsuf" on your computer (ping reports receiving replies).
How to embed the JavaScript engine
js::compileoptions opts(cx); opts.setfileandline(filename, lineno); bool ok = js::evaluate(cx, opts, script, strlen(script), &rval); if (!ok) return 1; } jsstring *str = rval.tostring(); printf("%s\n", js_encodestring(cx, str)); } js_destroycontext(cx); js_shutdown(); return 0; } build and run the hello world example build
command line depends on the os and the tools.
... here are sample mac and linux
command lines (where <objdir> is the directory where spidermonkey was built): # if you're using debug build of spidermonkey, you need -ddebug in addition to the
command below.
... run the helloworld executable at the
command line: ./helloworld how to call c functions from javascript say the c function is named doit and it would like at least two actual parameters when called (if the caller supplies fewer, the js engine should ensure that undefined is passed for the missing ones): #define doit_minargs 2 // [spidermonkey 24] use jsbool instead of bool.
Building the WebLock UI
<separator class="thin"/> <hbox align="center"> <textbox id="url.input" flex="1"/> <button label="add this url" on
command="addthissite();"/> </hbox> this snippet introduces a couple of new general layout widgets in xul.
...anager" style="width: 30em;" persist="screenx screeny" screenx="24" screeny="24"> <script src="chrome://weblock/content/weblock.js"/> <hbox> <separator orient="vertical" class="thin"/> <vbox flex="1"> <separator class="thin"/> <hbox align="center"> <textbox id="dialog.input" flex="1"/> <button label="add this url" on
command="addthissite();"/> </hbox> <hbox align="center"> <radiogroup onchange="togglelock();"> <radio label="lock"/> <radio label="unlock"/> </radiogroup> <spacer flex="1"/> </hbox> </vbox> </hbox> </dialog> overlaying new user interface into mozilla you've got a dialog that will interact with the weblock component, but how do you in...
...> <overlay id="weblockoverlay" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <script type="application/javascript" src="chrome://weblock/content/weblock.js"/> <statusbar id="status-bar"> <statusbarpanel class="statusbarpanel-iconic" id="weblock-status" insertbefore="offline-status" on
command="loadweblock();" status="none"/> </statusbar> </overlay> note that the root element for this file is not a <window/> but an <overlay/>.
Creating the Component Code
when it is copied there, run regxpcom from the
command line to register that component and all the others in that directory.
...uuidgen is a
command-line tool that returns a unique 128-bit number when you call it with no arguments: $ uuidgen ce32e3ff-36f8-425f-94be-d85b26e634ee on windows, a program called guidgen.exe does the same thing and also provides a graphical user interface if you'd rather point and click.
... irc irc.mozilla.org /join #developers /msg firebot uuid this
command makes the bot generate and return a uuid, which you can then copy into your component source code.
Setting up the Gecko SDK
environment setup you can create a batch file to set up the environment for you, but this example tells you from the
command prompt.
... this allows you to created the component without sending any extra dlls set path=%path%;d:\projects\xulrunner-sdk\sdk\bin;d:\projects\xulrunner-sdk\bin this tells the
command prompt where to find the gecko tools, importantly (xpidl, regxpcom, and gmake).
...for a listing of the
commands that appear in this listing, see the make manual.
xpcshell
it should be executed under the window
command prompt source_directory/obj-xxxxx/dist/bin> xpcshell.exe using the latest version of javascript at present, xpcshell doesn't use the latest version of javascript, so newer language features, such as the let statement introduced in javascript 1.7, are not available.
... to rectify this, run xpcshell with the -v 180
command-line option, which tells xpcshell to use javascript 1.8.
... see the xpcshell reference for information on
command line arguments and extension functions.
nsIAppStartup
the application will be restarted with the same profile and an empty
command line.
...the application will be restarted with an empty
command line and the normal profile selection process will take place on startup.
... void ensure1window( in nsicmdlineservice acmdlineservice ); parameters acmdlineservice the
command line from which startup args can be read.
nsIDOMWindowUtils
void removesheet(in nsiuri sheeturi, in unsigned long type); void resumetimeouts(); void sendcompositionevent(in astring atype); obsolete since gecko 9 void sendcompositionevent(in astring atype, in astring adata, in astring alocale); obsolete since gecko 38.0 void sendcontent
commandevent(in astring atype, [optional] in nsitransferable atransferable); void getclassname(in object aobj); boolean sendkeyevent(in astring atype, in long akeycode, in long acharcode, in long amodifiers, [optional] in boolean apreventdefault); obsolete since gecko 15.0 boolean sendkeyevent(in astring atype, in long akeycode, in long acharcode, in long amodifiers, [option...
... sendcontent
commandevent() generate a content
command event.
... void sendcontent
commandevent( in astring atype, in nsitransferable atransferable optional ); parameters atype type of
command content event to send.
nsIIOService
in that case the principal of the stylesheet which contains the import
command is the triggeringprincipal, and the principal of the document whose rendering is affected is the loadingprincipal.
...in that case the principal of the stylesheet which contains the import
command is the triggeringprincipal, and the principal of the document whose rendering is affected is the loadingprincipal.
...in that case the principal of the stylesheet which contains the import
command is the triggeringprincipal, and the principal of the document whose rendering is affected is the loadingprincipal.
nsINavHistoryResultViewObserver
onperformaction() this method provides a
command api that can be used to invoke
commands on the selection.
... onperformactiononrow() this method provides a
command api that can be used to invoke
commands on the specified row.
... onperformactiononcell() this method provides a
command api that can be used to invoke
commands on a specified cell.
nsIProcess
args an array of count arguments, using the native character set, to be passed to the executable on its
command line.
... args an array of count arguments, using utf-16, to be passed to the executable on its
command line.
...// second and third params are used to pass
command-line arguments // to the process.
nsITreeView
performaction() a
command api that can be used to invoke
commands on the selection.
... performactiononcell() a
command api that can be used to invoke
commands on a specific cell.
... performactiononrow() a
command api that can be used to invoke
commands on a specific row.
XPCOM Interface Reference by grouping
etadatavisitor nsicacheservice nsicachesession nsicachevisitor nsicachingchannel nsiselectionimageservice chrome nsisearchengine nsisearchsubmission nsiwebbrowserchrome nsiwindowcreator nsiwindowmediator nsiwindowwatcher clipboard nsiclipboard nsiclipboard
commands nsiclipboarddragdrophooklist nsiclipboarddragdrophooks nsiclipboardhelper nsiclipboardowner core action nsitransactionmanager process nsiprocess nsiprocess2 thread nsithread nsithreadeventfilt...
... nsiexception extention nsiextensionmanager nsiinstalllocation external nsiexternalprotocolservice frame nsicontentframemessagemanager history nsishentry nsishistory idle nsiidleservice internal
command nsi
commandline nsi
commandlinehandler nsi
commandlinerunner component nsicomponentmanager preferences nsicontentprefobserver nsicontentprefservice nsicomponentregistrar internationalization nsibidik...
...ogramminglanguage thunderbird credentials nsimsgaccountmanagerextension element nsieditormailsupport message nsidbchangeannouncer nsidbchangelistener nsimessenger nsimsgcompfields nsimsgcustomcolumnhandler nsimsgdatabase nsimsgdbhdr nsimsgdbview nsimsgdbview
commandupdater nsimsgfolder nsimsgidentity nsimsgmessageservice nsimsgsendlater nsimsgthread nsimsgwindow nsimsgwindow
commands user history nsibrowserhistory nsibrowsersearchservice nsimicrosummary nsimicrosummarygenerator nsimicrosummaryobserver nsimicrosummaryservice nsimicrosummaryset ...
Main Windows
the rest is loaded from overlays: mailwindowoverlay.xul this is the red sections shown in the interface above (where?), including the toolbars, notification bars, and the status bar, but also includes most of the
commands, keysets, and context menus of thunderbird, along with a whole lot of javascript.
... mailoverlay.xul a really small overlay that only adds a few “new message” and “new card”
commands to the menus, along with their associated javascript.
... mailwindowoverlay.xul this is the red sections shown in the interface above, including the toolbars, notification bars and the status bar.it also includes most of the
commands, keysets, and context menus of thunderbird, along with a whole lot of javascript.
Adding items to the Folder Pane
t over sessions text (attribute) the text to display in the tree level (attribute) the level in the tree to display the item at open (rw, attribute) whether or not this container is open children (attribute) an array of child items also conforming to this spec getproperties (function) a call from getrowproperties or getcellproperties for this item will be passed into this function
command (function) this function will be called when the item is double-clicked for our example extension, two different types of folder-tree-items will be defined.
..., level: 0, open: false, _children: null, get children() { if (!this._children) { this._children = []; for (var i = 1; i <= this._numbers; i++) this._children.push(new numberrow(i)); } return this._children; }, getproperties: function gne_getprops() { // put your css attributes here },
command: function gne_
command() { // just going to alert, to do something here components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getservice(components.interfaces.nsipromptservice) .alert(window, null, this.text); } }; second, our child items (the numbers 1, 2, and 3) are copies of the following prototype: function numberrow(...
...anumber) { this._number = anumber; } numberrow.prototype = { get id() { return "numbers-child-row-" + this._number; }, get text() { return this._number; }, level: 1, open: false, children: [], getproperties: function gne_kid_getprops() {}, // no-op
command: function gne_kid_
command() { // just going to alert, to do something here components.classes["@mozilla.org/embedcomp/prompt-service;1"] .getservice(components.interfaces.nsipromptservice) .alert(window, null, this.text); } }; putting it all together all that is left at this point is to actually add these newly defined folder-tree-items to the folder pane's _rowmap at the appropriate time.
Finding the code for a feature
i know there is a menu
command "tag" to tag the message - how does it do it?
... using dom inspector, i find the tag menu item, and i see that it uses
command "cmd_tag".
...i see it occurs in mail3panewindow
commands.js a couple of times.
Using the Mozilla source server
using the source server in windbg in the windbg
command line, type .srcfix and hit enter.
...symbols will load and then, if you're using a cvs build, when you try to step into or step over a confirmation window will appear asking if you trust the cvs
command that source server is trying to run.
... after the
command executes, the source file will load in the window.
Working with windows in chrome code
setprogress(window.arguments[0].progress); setstatus(window.arguments[0].status); } } function setprogress(value) { gprogressmeter.value = 100 * value / maxprogress; } function setstatus(text) { gstatus.value = "status: " + text + "..."; } ]]></script> <label id="status" value="(no status)" /> <hbox> <progressmeter id="progressmeter" mode="determined" /> <button label="cancel" on
command="close();" /> </hbox> </window> example 2: interacting with the opener sometimes an opened window needs to interact with its opener; for example, it might do so in order to give notice that the user has made changes in the window.
... if we're sure the window that opened the progress dialog declares the canceloperation function, we can use window.opener.canceloperation() to notify it, like this: <button label="cancel" on
command="opener.canceloperation(); close();" /> using a callback function.
... window.opendialog( "chrome://test/content/progress.xul", "myprogress", "chrome,centerscreen", {status: "reading remote data", maxprogress: 50, progress: 10}, oncancel ); the progress dialog can then run the callback like this: <button label="cancel" on
command="window.arguments[1](); close();" /> example 3: using nsiwindowmediator when opener is not enough the window.opener property is very easy to use, but it's only useful when you're sure that your window was opened from one of a few well-known places.
Mozilla
command line options
command line options are used to specify various startup options for mozilla applications.this page describes the commonly used options and how to use them.
... you can open the
command line interface by pressing shift + f2.
...you can in every case choose the program you prefer to do some operations, and you can also decide not to use any of my scripts and manually enter all of the
commands by hand.
Examine and edit HTML - Firefox Developer Tools
the menu contains the following items — click on the links to find the description of each
command in the context menu reference: edit as html create new node duplicate node delete node attributes add attribute copy attribute value edit attribute remove attribute break on ...
... show dom properties open the split console and enter the console
command "inspect($0)" to inspect the currently selected element.
... use in console assigns the currently selected node to a variable named temp0 (or temp1 if temp0 is already taken, and so on), then opens the split console, enabling you to interact with that node using the console's
command line.
EXT_disjoint_timer_query - Web APIs
the ext_disjoint_timer_query extension is part of the webgl api and provides a way to measure the duration of a set of gl
commands, without stalling the rendering pipeline.
... ext.beginqueryext() the timer starts when all
commands prior to beginqueryext have been fully executed.
... ext.endqueryext() the timer stops when all
commands prior to endqueryext have been fully executed.
SVGAnimatedPathData - Web APIs
name type description animatednormalizedpathseglist svgpathseglist provides access to the current animated contents of the 'd' attribute in a form where all path data
commands are expressed in terms of the following subset of svgpathseg types: svg_pathseg_moveto_abs (m), svg_pathseg_lineto_abs (l), svg_pathseg_curveto_cubic_abs (c) and svg_pathseg_closepath (z).
... normalizedpathseglist svgpathseglist provides access to the base (i.e., static) contents of the 'd' attribute in a form where all path data
commands are expressed in terms of the following subset of svgpathseg types: svg_pathseg_moveto_abs (m), svg_pathseg_lineto_abs (l), svg_pathseg_curveto_cubic_abs (c) and svg_pathseg_closepath (z).
...thus, if the d attribute has an "absolute moveto (m)" and an "absolute arcto (a)"
command, then pathseglist will have two entries: a svg_pathseg_moveto_abs and a svg_pathseg_arc_abs.
USBDevice.controlTransferOut() - Web APIs
the controltransferout() method of the usbdevice interface returns a promise that resolves with a usbouttransferresult when a
command or status operation has been transmitted to the usb device.
... request: a vendor-specific
command.
...not all
commands require data; some
commands can send data just through the value parameter.
WebGL2RenderingContext.fenceSync() - Web APIs
the webgl2renderingcontext.fencesync() method of the webgl 2 api creates a new webglsync object and inserts it into the gl
command stream.
...must be gl.sync_gpu_
commands_complete.
... var sync = gl.fencesync(gl.sync_gpu_
commands_complete, 0); specifications specification status comment webgl 2.0the definition of 'fencesync' in that specification.
WebGLRenderingContext - Web APIs
webglrenderingcontext.finish() blocks execution until all previously called
commands are finished.
... webglrenderingcontext.flush() empties different buffer
commands, causing all
commands to be executed as quickly as possible.
...the webgl rendering context is an interface, through which you can set and query the state of the graphics machine, send data to the webgl, and execute draw
commands.
Basic scissoring - Web APIs
although the clear() drawing
command writes the clear color (set by clearcolor()) to all pixels in the drawing buffer, scissor() defines a mask that only allows pixels inside the specified rectangular area to be updated.
...this again demonstrates the typical order of
commands in webgl.
...only when the webgl state has been satisfactorily tweaked, we execute the drawing
command (in this case, clear()) that starts the processing of fragments down the graphics pipeline.
Content categories - Developer guides
elements belonging to this category are <base>, <
command>, <link>, <meta>, <noscript>, <script>, <style> and <title>.
...they are: <a>, <abbr>, <address>, <article>, <aside>, <audio>, <b>,<bdo>, <bdi>, <blockquote>, <br>, <button>, <canvas>, <cite>, <code>, <
command>, <data>, <datalist>, <del>, <details>, <dfn>, <div>, <dl>, <em>, <embed>, <fieldset>, <figure>, <footer>, <form>, <h1>, <h2>, <h3>, <h4>, <h5>, <h6>, <header>, <hgroup>, <hr>, <i>, <iframe>, <img>, <input>, <ins>, <kbd>, <keygen>, <label>, <main>, <map>, <mark>, <math>, <menu>, <meter>, <nav>, <noscript>, <object>, <ol>, <output>, <p>, <picture>, <pre>, <progress>, <q>, <ruby>, <s>, <samp>, <script>, <section>, <select>, <small>, <span>, <strong>, <sub>, <sup>, <svg>, <table>, <template>, <textarea>, <time>, <ul>, <var>, <video>, <wbr> and text...
... elements belonging to this category are <abbr>, <audio>, <b>, <bdo>, <br>, <button>, <canvas>, <cite>, <code>, <
command>, <data>, <datalist>, <dfn>, <em>, <embed>, <i>, <iframe>, <img>, <input>, <kbd>, <keygen>, <label>, <mark>, <math>, <meter>, <noscript>, <object>, <output>, <picture>, <progress>, <q>, <ruby>, <samp>, <script>, <select>, <small>, <span>, <strong>, <sub>, <sup>, <svg>, <textarea>, <time>, <var>, <video>, <wbr> and plain text (not only consisting of white spaces characters).
JavaScript shells - JavaScript
shelljs - portable unix shell
commands for node.js list of javascript shells the following javascript shells work with mozilla.
... javascript shell (js) - a
command line interpreter for javascript xpcshell is an xpconnect - enabled shell, sometimes useful for mozilla development.
... jsconsole.com -- an open-source javascript console with the ability to easily link to particular expressions javascript shell (web page) - also available as part of the extension developer's extension jash: javascript shell - a dhtml based shell that gives you
command line access to a web page.
hotkeys - Archive of obsolete content
on the macintosh, this is the
command key.
... accel: the key used for keyboard shortcuts on the user's platform, which is control on windows and linux, and
command on mac.
Logging - Archive of obsolete content
the console.log() method prints an informational message: console.log("hello world"); try it out: create a new directory, and navigate to it execute jpm init, accepting all the defaults open "index.js" and add the line above execute jpm run firefox will start, and the following line will appear in the
command window you used to execute jpm run: info: hello world!
...the following add-on logs the html content of every tab the user loads, by calling console.log() inside a content script: require("sdk/tabs").on("ready", function(tab) { tab.attach({ contentscript: "console.log(document.body.innerhtml);" }); }); console output if you are running your add-on from the
command line (for example, executing jpm run or jpm test) then the console's messages appear in the
command shell you used.
Dialogs and Prompts - Archive of obsolete content
for each of these buttons you can set their label, accesskey and on
command handler by adding buttonlabel<buttonname>, buttonaccesskey<buttonname> and ondialog<buttonname> attributes to the dialog element.
... be sure to use ondialog* attributes on dialog element instead of putting on
command on the button with dlgtype, because button's on
command is executed only when the button is pressed, and ondialog* handlers are executed for keyboard and other events too.
Chapter 6: Firefox extensions and XUL applications - Archive of obsolete content
open a
command prompt and navigate to the directory containing gonzui.
... the next
command will import the source code: gonzui-import.exe mozilla once the import process is complete, type the following
command to launch the gonzui server: gonzui-server.exe now you can access gonzui from your web browser by typing the following into your location bar : http://localhost:46984 this lets you browse all packages, click on links to traverse them, and take traversed-link locations as search starting points (figure a).
Custom XUL Elements with XBL - Archive of obsolete content
<content> <xul:hbox> <xul:image class="xulshoolhello-person-image" xbl:inherits="src=image" /> <xul:vbox flex="1"> <xul:label xbl:inherits="value=name" /> <xul:description xbl:inherits="value=greeting" /> </xul:vbox> <xul:vbox> <xul:button label="&xulshoolhello.remove.label;" accesskey="&xulshoolhello.remove.accesskey;" on
command="document.getbindingparent(this).remove(event);" /> </xul:vbox> </xul:hbox> </content> our element is very simple, displaying an image, a couple of text lines and a button.
... the on
command attribute of the button has some code you've probably never seen before: document.getbindingparent(this).
Adding preferences to an extension - Archive of obsolete content
all we need to do is add a popupset describing the menu to the statusbar, as follows: <popupset> <menupopup id="stockmenu"> <menuitem label="refresh now" default="true" on
command="stockwatcher.refreshinformation()"/> <menuseparator/> <menuitem label="apple (aapl)" on
command="stockwatcher.watchstock('aapl')"/> <menuitem label="google (goog)" on
command="stockwatcher.watchstock('goog')"/> <menuitem label="microsoft (msft)" on
command="stockwatcher.watchstock('msft')"/> <menuitem label="yahoo!
... (yhoo)" on
command="stockwatcher.watchstock('yhoo')"/> </menupopup> </popupset> each item in the menu has a label property, which specifies the text displayed in the menu, as well as an on
command property, which indicates the javascript code to execute when the user selects that item.
XUL user interfaces - Archive of obsolete content
" value="xul demonstration"/> <vbox> <groupbox class="demo-group"> <caption label="day of week calculator"/> <grid> <columns> <column/> <column/> </columns> <rows> <row> <label class="text-prompt" value="date:" accesskey="d" control="date-text"/> <textbox id="date-text" type="timed" timeout="750" on
command="refresh();"/> </row> <row> <label value="day:"/> <hbox id="day-box"> <label class="day" value="sunday" disabled="true"/> <label class="day" value="monday" disabled="true"/> <label class="day" value="tuesday" disabled="true"/> <label class="day" value="wednesday" disabled="true"/> <label class="day" ...
...value="thursday" disabled="true"/> <label class="day" value="friday" disabled="true"/> <label class="day" value="saturday" disabled="true"/> </hbox> </row> </rows> </grid> <hbox class="buttons"> <button id="clear" label="clear" accesskey="c" on
command="cleardate();"/> <button id="today" label="today" accesskey="t" on
command="settoday();"/> </hbox> </groupbox> <statusbar> <statusbarpanel id="status"/> </statusbar> </vbox> </window> make a new css file, style7.css.
Index of archived content - Archive of obsolete content
ntroduction to xul—how to build a more intuitive ui chapter 4: using xpcom—implementing advanced processes chapter 5: let's build a firefox extension chapter 6: firefox extensions and xul applications license and authors xul school tutorial adding events and
commands adding toolbars and toolbar buttons adding menus and submenus adding sidebars adding windows and dialogs appendix a: add-on performance appendix b: install and uninstall scripts appendix c: avoiding using eval in add-ons appendix d: loading scripts appendix e: dom buildin...
... svg and canvas in mozilla xul - mozilla's xml user interface language xtech 2006 presentations xul explorer xulrunner application update article building xulrunner building xulrunner with python
commandline components creating xulrunner apps with the mozilla build system creating a windows inno setup installer for xulrunner applications custom app bundles for mac os x debugging a xulrunner application deploying xulrunner dialogs in xulrunner getting started with xulrunner how to enable loc...
Automated testing tips and tricks - Archive of obsolete content
uit the browser on all platforms window.close() of the last open window does not quit the application on mac http://people.mozilla.com/~davel/scripts/ - look at quit.js and quit.xul install manifest file in appdir/chrome to map chrome://tests/content to directory containing quit.js and quit.xul example: content tests file:///users/davel/work/tests/ start app with
command line flag -chrome chrome://tests/content/quit.xul how to create a new profile from the
command line first, use the -createprofile
command line flag to add a profile entry to profiles.ini and populate the new profile directory with a prefs.js file firefox-bin -createprofile "testprofile ${profile_dir}/testprofile" next, start firefox to populate the new profile di...
...in test scripts, <code>sleep 5 after the above
command should ensure the profile is created before the next
command in the test script is run how to enable dump in a new profile add user_pref("browser.dom.window.dump.enabled", true); to profiledir/user.js how to execute test code with chrome privileges using a chrome doc - see sbtests.xul in http://people.mozilla.com/~davel/scripts/ for an example firefox-bin -p sbtestprofile -chrome chrome://sbtests/content/ above code calls the quit function in quit.js to exit after test is finished h...
Adding Properties to XBL-defined Elements - Archive of obsolete content
most of the work here is done in the on
command handlers.
...xul: <box id="random-box" class="randomizer"/> <button label="generate" on
command="document.getelementbyid('random-box').number=math.random();"/> <button label="show" on
command="alert(document.getelementbyid('random-box').number)"/> xbl: <binding id="randomizer"> <implementation> <field name="number"/> </implementation> </binding> a number field has been defined in the binding, which stores the random number.
Creating a Window - Archive of obsolete content
you can use the
command-line parameter '-chrome' to specify the xul file to open when mozilla starts.
...(usually the browser window.) for example, we could open the find files dialog with either of the following: mozilla -chrome chrome://findfile/content/findfile.xul mozilla -chrome resource:/chrome/findfile/content/findfile.xul if you run this
command from a
command-line (assuming you have one on your platform), the find files dialog will open by default instead of the mozilla browser window.
Document Object Model - Archive of obsolete content
an on
command handler will also be added to the find button.
...<button id="find-button" label="find" on
command="dofind();"/> now, create another file called findfile.js in the same directory as findfile.xul.
More Event Handlers - Archive of obsolete content
example 1 : source view <vbox on
command="alert(event.currenttarget.tagname);"> <button label="ok"/> <checkbox label="show images"/> </vbox> stop event propagation once you handle an event, regardless of where in the propagation the event is, you will likely want to stop the event from being sent to further elements, essentially stopping the capturing or bubbling phases from continuing.
...example 2 : source view <hbox id="outerbox"> <button id="okbutton" label="ok"/> </hbox> <script> function buttonpressed(event){ alert('button was pressed!'); } function boxpressed(event){ alert('box was pressed!'); event.stoppropagation(); } var button = document.getelementbyid("okbutton"); button.addeventlistener('
command',buttonpressed,true); var outerbox = document.getelementbyid("outerbox"); outerbox.addeventlistener('
command',boxpressed,true); </script> here, an event listener has been added to the button and another event listener has been added to the box.
XPCOM Examples - Archive of obsolete content
the example below shows how we might do this: <toolbox> <menubar id="windowlist-menubar"> <menu label="window" on
command="switchfocus(event.target);"> <menupopup id="window-menu" datasources="rdf:window-mediator" ref="nc:windowmediatorroot"> <template> <rule> <menuitem uri="rdf:*" label="rdf:http://home.netscape.com/nc-rdf#name"/> </rule> </template> </menupopup> </menu> </menubar> </toolbox> <script> function switchfocus(elem) { var mediator = components.classes["@mozilla.org/rd...
...f/datasource;1?name=window-mediator"].getservice(); mediator.queryinterface(components.interfaces.nsiwindowdatasource); var resource = elem.getattribute('id'); switchwindow = mediator.getwindowforresource(resource); if (switchwindow){ switchwindow.focus(); } } </script> a
command handler was added to the menu element which calls the function switchfocus() with a parameter of the element that was selected from the menu.
Using Remote XUL - Archive of obsolete content
we add an id attribute to the iframe element so we can reference it from our function, and we add an on
command event listener to the menubar element that calls the function every time the user clicks a button or selects a menu item.
... the on
command event listener is a generic listener that fires whenever the user manipulates an element in some conclusive way.
XUL Reference - Archive of obsolete content
« xul reference « alphabetical list of all xul elements action arrowscrollbox assign bbox binding bindings box broadcaster broadcasterset button browser checkbox caption clicktoscroll colorpicker column columns
commandset
command conditions content datepicker deck description dialog dialogheader dropmarker editor grid grippy groupbox hbox iframe image key keyset label listbox listcell listcol listcols listhead listheader listitem member menu menubar menuitem menulist menupopup menuseparator notification notificationbox observes overlay page panel param popupset preference preferences prefpane prefwindow progressmeter query queryset radio radiogroup resizer richlistbox richlistitem row rows rule scale script ...
... listbox listitem listcell listcol listcols listhead listheader richlistbox richlistitem tree treecell treechildren treecol treecols treeitem treerow treeseparator box hbox vbox bbox deck stack grid columns column rows row scrollbox action assign binding bindings conditions content member param query queryset rule template textnode triple where script
commandset
command broadcaster broadcasterset observes key keyset stringbundle stringbundleset arrowscrollbox dropmarker grippy scrollbar scrollcorner spinbuttons all attributes all properties all methods attributes defined for all xul elements style classes event handlers deprecated/defunct markup ...
arrowscrollbox - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
broadcaster - Archive of obsolete content
for menuitems or buttons that just want to have their disabled status set when the feature should be disabled, you should use a
command element instead.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
colorpicker - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... value property gets and sets color attribute methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
datepicker - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
description - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
iframe - Archive of obsolete content
attributes showcaret, src, type, transparent properties accessibletype, contentdocument, contentwindow, docshell, webnavigation examples <iframe src="table.php" flex="2" id="browsertable" name="table_frame"/> selecting an url from a menu <menulist on
command="donav(this);"> <menupopup> <menuitem label="mozilla" value="http://mozilla.org" /> <menuitem label="slashdot" value="http://slashdot.org"/> <menuitem label="sourceforge" value="http://sf.net" /> <menuitem label="freshmeat" value="http://freshmeat.net"/> </menupopup> </menulist> <iframe id="myframe" flex="1"/> <script> function donav(obj) { var url = obj.selecteditem.valu...
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
keyset - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
label - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listbox - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
listcell - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listhead - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listheader - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
preference - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
prefpane - Archive of obsolete content
(1) an example of a widget that has state changes tracked for it includes the checkbox element, whose state is tracked automatically when the "
command" event fires.
... inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, issupported(), lookupnamespaceuri, lookupprefix, normalize(), queryselector(), queryselectorall(), removeattribute(), rem...
radiogroup - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
resizer - Archive of obsolete content
the resizer will send a
command event after the resize is complete.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
richlistbox - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
richlistitem - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
scale - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
splitter - Archive of obsolete content
the vbox is used to hold the .png image that a user clicks on to resize the search bar.--> <splitter tooltiptext="resize the search box" on
command="alert('the splitter was dragged')"> <vbox id="example_vbox" /> </splitter> attributes collapse type: one of the values below determines which side of the splitter is collapsed when its grippy is clicked.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
tabbrowser - Archive of obsolete content
onbookmarkgroup not in firefox type: script code this code executes when the user chooses the "bookmark this group of tabs"
command.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
tabs - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
timepicker - Archive of obsolete content
if the element is disabled, it does not respond to user actions, it cannot be focused, and the
command event will not fire.
... methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbarpalette - Archive of obsolete content
examples <toolbarpalette id="browsertoolbarpalette"> <toolbarbutton id="toolbarpalette-button" class="toolbarbutton-class" label="&mylabel;" tooltiptext="&mytiptext;" on
command="somefunction()"/> </toolbarpalette> attributes inherited from xul element align, allowevents, allownegativeassertions, class, coalesceduplicatearcs, collapsed, container, containment, context, contextmenu, datasources, dir, empty, equalsize, flags, flex, height, hidden, id, insertafter, insertbefore, left, maxheight, maxwidth, menu, minheight, minwidth, mousethrough, observes, ordinal, or...
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
window - Archive of obsolete content
ormation"/> <radiogroup> <vbox> <hbox> <label control="your-fname" value="enter first name:"/> <textbox id="your-fname" value="johan"/> </hbox> <hbox> <label control="your-lname" value="enter last name:"/> <textbox id="your-lname" value="hernandez"/> </hbox> <hbox> <button on
command="alert('save!')"> <description>save</description> </button> </hbox> </vbox> </radiogroup> </groupbox> </vbox> </window> attributes accelerated type: booleanset this attribute to true to allow hardware layer managers to accelerate the window.
...atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
Mozprocess - Archive of obsolete content
basic usage: process = processhandler(['
command', '-line', 'arguments'], cwd=none, # working directory for cmd; defaults to none env={}, # environment to use for the process; defaults to os.environ ) exit_code = process.waitforfinish(timeout=60) # seconds see an example in https://github.com/mozilla/mozbase/b...profilepath.py processhandler may be subclassed to handl...
...e process timeouts (by overriding the ontimeout() method), process completion (by overriding onfinish()), and to process the
command output (by overriding processoutputline()).
NSPR Release Engineering Guide - Archive of obsolete content
.h with release numbers build all targets, debug and optimized on all platforms using local directories run the test suite on all targets verify release numbers show up in binaries resolve testing anomalies tag the tree with nsprpub_release_x_y_z_beta beta release checkout a whole new tree using the tag from above build all targets, debug and optimized on all platforms using the
command: gmake release mdist=<dir>/mdist build_number=vx.y.z [build_opt=1 | use_debug_rtl=1] copy the bits from mdist to /share/builds/components/nspr20/.vx.y.z 1 run explode.pl run the test suite on all targets, using binaries & headers from shipped bits resolve testing anomalies tag the tree with nsprpub_release_x_y[_z] release candidate checkout a whole new tree using tag (includin...
...g fixes) tag the treey with nsprpub_release_x_y_z build all targets, debug and optimized on all platforms using the
command: gmake release mdist=<dir>/mdist build_number=vx.y.z [build_opt=1 | use_debug_rtl=1] copy the bits from mdist to /share/builds/components/nspr20/.vx.y.z in /share/builds/components/nspr20/ run the following scripts: explode.pl rename.sh symlink.sh rtm bits rename the .vx.y.z directory to vx.y.z (remove the hidden directory 'dot').
Windows Media in Netscape - Archive of obsolete content
fortunately, windows media player also fires a script
command() event for closed captioning, which means content may update the caption manually with a small piece of javascript.
...instead of doing that, this is the recommendation and workaround for netscape 7.1: <script for="player" event="script
command(type, param)"> if (type == "text") { var cap = document.getelementbyid("captext"); cap.innerhtml = param; } </script> more detailed examples are available in the final section on examples and sample code.
Visual JS GE - Game development
installing modules navigate to server_instance/, then in the node.js
command prompt or console enter the following installation
commands: npm install mysql npm install delivery npm install express npm install mkdirp npm install socket.io npm install nodemailer@0.7.0 setting up config.js you will find config.js in the server_instance folder: all node.js applications use the same folder — server_instance.
... next, run the
command server_instance/node res.js.
Visual typescript game engine - Game development
- a
command for killing all node.js process for window users : taskkill /im node.exe /f networking multimedia communication: websocketserver running on node.js text-based protocol sip (session initiation protocol) used for signalling and controlling multimedia sessions.
... - running rtc3 server is also easy :
command 'npm run broadcaster' is not necessary for beginners.
Functions — reusable blocks of code - Learn web development
previous overview: building blocks next another essential concept in coding is functions, which allow you to store a piece of code that does a single task inside a defined block, and then call that code whenever you need it using a single short
command — rather than having to type out the same code multiple times.
...in the javascript console, enter the following
command: output(x); you should see the value of variable x output to the screen.
JavaScript object basics - Learn web development
while working with this example you should have your developer tools javascript console open and ready to type in some
commands.
...the live version will give you a blank screen, but that's ok — again, open your devtools and try typing in the above
commands to see the object structure.
React interactivity: Events and state - Learn web development
prerequisites: familiarity with the core html, css, and javascript languages, knowledge of the terminal/
command line.
... make sure you’re in the root directory of your application and run the following terminal
command: npm install nanoid note: if you're using yarn, you'll need the following instead: yarn add nanoid now we can import nanoid into the top of app.js so we can use it to create unique ids for our new tasks.
Beginning our React todo list - Learn web development
prerequisites: familiarity with the core html, css, and javascript languages, knowledge of the terminal/
command line.
... then, copy and paste the following
commands into your terminal to delete some unneeded files.
CustomizableUI.jsm
customizableui.createwidget({ id: 'id_of_my_widget_within_customizableui_and_dom', defaultarea: customizableui.area_navbar, label: 'my widget', // type: 'button', //we don't need to type this, the default type is button tooltiptext: 'this is my widget created with cui.jsm', on
command: function(aevent) { var thisdomwindow = aevent.target.ownerdocument.defaultview; //this is the browser (xul) window var thiswindowsselectedtabswindow = thisdomwindow.gbrowser.selectedtab.linkedbrowser.contentwindow; //this is the html window of the currently selected tab thiswindowsselectedtabswindow.alert('alert from html window of selected tab'); thisdomwindow.al...
...- use customizableui.jsm to create the widget cu.import('resource:///modules/customizableui.jsm'); customizableui.createwidget({ id: 'id_of_my_widget_within_customizableui_and_dom', defaultarea: customizableui.area_navbar, label: 'my widget', // type: 'button', //we don't need to type this, the default type is button tooltiptext: 'this is my widget created with cui.jsm', on
command: function(aevent) { var thisdomwindow = aevent.target.ownerdocument.defaultview; //this is the browser (xul) window var thiswindowsselectedtabswindow = thisdomwindow.gbrowser.selectedtab.linkedbrowser.contentwindow; //this is the html window of the currently selected tab thiswindowsselectedtabswindow.alert('alert from html window of selected tab'); thisdomwindow.al...
L10n Checks
ab-cd browser chrome/browser browser.dtd +backforwardmenu.tooltip +fullzoomenlargecmd.
commandkey3 +fullzoomreducecmd.
commandkey2 +fullzoomresetcmd.
commandkey2 +organizebookmarks.label -showallbookmarkscmd2.label migration/migration.dtd -importfromfile.accesskey -importfromfile.label +importfromhtmlfile.accesskey +importfromhtmlfile.label you can assume changed strings when you see entities removed and a...
...the output closes with a summary, giving the total counts of missing and obsolete strings and some statistics on how many strings are changed or not, excluding access and
command keys.
Localizing XLIFF files for iOS
enter the
command git clone https://github.com/mozilla-l10n/firefoxios-l10n/your-locale-code/ you should now see the firefox-ios project in your selected directoy with the firefox-ios.xliff file in it.
... commiting your xliff file using this
command, commit your translated xliff file into your locale's directory: git commit -m "commit message here" .
Initial setup
the svn for localizers guide will help you learn the most important svn
commands for l10n.
... wget wget is a
command-line utility that allows you to retrieve files using internet protocols.
dtrace
a good starting
command for profiling wakeups is the following.
... run that
command for a few seconds and then hit ctrl + c to interrupt it.
perf
sudo perf stat -a -r 1 \ -e "power/energy-pkg/" \ -e "power/energy-cores/" \ -e "power/energy-gpu/" \ -e "power/energy-ram/" \ <
command> the -a is necessary; it means "all cores", and without it all the measurements will be zero.
... the -r 1 means <
command> is executed once; higher values can be used to get variations.
tools/power/rapl
tools/power/rapl (or rapl for short) is a
command-line utility in the mozilla tree that periodically reads and prints all available intel rapl power estimates.
... combining with powermetrics on mac, you can use the mach power
command to run rapl in combination with powermetrics in a way that gives the most useful summary measurements for each of firefox, chrome and safari.
turbostat
turbostat is a linux
command-line utility that prints various measurements, including numerous per-cpu measurements.
... invocation turbostat must be invoked as the super-user: sudo turbostat if you get an error saying "turbostat: no /dev/cpu/0/msr", you need to run the following
command: sudo modprobe msr the output is as follows: core cpu avg_mhz %busy bzy_mhz tsc_mhz smi cpu%c1 cpu%c3 cpu%c6 cpu%c7 coretmp pkgtmp pkg%pc2 pkg%pc3 pkg%pc6 pkg%pc7 pkgwatt corwatt gfxwatt - - 799 21.63 3694 3398 0 12.02 3.16 1.71 61.48 49 49 0.00 0.00 0.00 0.00 22.68 15.13 1.13 0 0 821 22.44 3657 3398 0 9.9...
Patches and pushes
on>yahoo search</description> <inputencoding>utf-8</inputencoding> <image width="16" height="16">data:image/x-icon;base64,r0lgodlheaaqajecap8aaaaaap///waaach5baeaaaialaaaaaaqabaaaaipli+py+0nogquybdened2khkffwuamezmpzsfmaihphrrguum/ft+uwaaow==</image> ***this tag is optional***<url type="application/x-suggestions+json" method="get" template="http://ff.search.yahoo.com/gossip?output=fxjson&
command={searchterms}" />*** <url type="text/html" method="get" template="http://search.yahoo.com/search"> <param name="p" value="{searchterms}"/> <param name="ei" value="utf-8"/> <mozparam name="fr" condition="pref" pref="yahoo-fr" /> </url> <searchform>http://search.yahoo.com/</searchform> </searchplugin> create xml files for each search plugin preference following the above example.
... create a patch of the searchplugins directory by entering the following
command in your
command-line tool, where mypatch.diff is where you give your patch a name: $ hg add mozilla/browser/searchplugins/ $ hg diff mozilla/browser/searchplugins/ > mypatch.diff attach your patch file to the bug by clicking the "add an attachment" link.
McCoy
signing from
command line currently there is no support to run mccoy from
command line under windows, but it is planned to add this support in the future.
... however, there are several external and unofficial tools which enable signing from
command line: uhura - part of the mxtools package from softlights http://www.softlights.net/projects/mxtools/uhura.html signontheline - an extension to mccoy - important: you have to checkout rev 222, later revisions are not working in mccoy!
Midas editor module security preferences
this functionality is completely removed since 2013-12-14 18:23 pst, see: bugs 38966 and 913734 note: if you've reached this page from a message box in firefox or another mozilla product, try using keyboard shortcuts for the cut, copy, and paste
commands: copy: ctrl+c or ctrl+insert (
command+c on mac) paste: ctrl+v or shift+insert (
command+v on mac) cut: ctrl+x or shift+delete (
command+x on mac) the information on the rest of this page is for web developers and advanced users.
... to protect users' private information, unprivileged scripts cannot invoke the cut, copy, and paste
commands in midas, which is mozilla's rich text editor component.
Building NSS
to check out the latest sources for nss and nspr--which may not be part of a stable release--use the following
commands: hg clone https://hg.mozilla.org/projects/nspr hg clone https://hg.mozilla.org/projects/nss to get the source of a specific release, see nss releases.
... if you don't have a domain suffix you can add an entry to /etc/hosts (on windows, c:\windows\system32\drivers\etc\hosts) as follows: 127.0.0.1 localhost.localdomain validate this opening a
command shell and typing: ping localhost.localdomain.
NSS Code Coverage
31 - total lines in file (by wc -l
command).
... 878 - total lines in file (by wc -l
command).
Getting Started With NSS
the nss library and its supporting
command line tools are written in the c programming language.
...you could contribute by organizing it in a better way.) nss sample code a good place to start learning how to write nss applications are the
command line tools that are maintained by the nss developers.
NSS_3.12_release_notes.html
92: add entrust root ca certificate(s) to nss bug 433386: when system clock is off by more than two days, oscp check fails, can result in crash if user tries to view certificate [[@ secitem_compareitem_util] [[@ memcmp] bug 396256: certutil and pp do not print all the generalnames in a crldp extension bug 398019: correct confusing and erroneous comments in der_asciitotime bug 422866: vfychain -pp
command crashes in nss_shutdown bug 345779: useless assignment statements in ec_gf2m_pt_mul_mont bug 349011: please stop exporting these crmf_ symbols bug 397178: crash when entering chrome://pippki/content/resetpassword.xul in url bar bug 403822: pkix_pl_ocsprequest_create can leave some members uninitialized bug 403910: cert_findusercertbyusage() returns wrong certificate if multiple certs with same su...
...ks on all unix-ish platforms bug 390710: certnameconstraintstemplate is incorrect bug 416928: der decode error on this policy extension bug 375019: cache-enable pkix_ocspchecker_check bug 391454: libpkix does not honor nss's override trust flags bug 403682: cert_pkixverifycert never succeeds bug 324744: add generation of policy extensions to certutil bug 390973: add long option names to secu_parse
commandline bug 161326: need api to convert dotted oid format to/from octet representation bug 376737: cert_importcerts routinely sets valid_peer or valid_ca override trust flags bug 390381: libpkix rejects cert chain when root ca cert has no basic constraints bug 391183: rename libpkix error string number type to pkix error number types bug 397122: nss 3.12 alpha treats a key3.db with no global salt as ...
NSS 3.15.4 release notes
added the --empty-password
command-line option to certutil, to be used with -n: use an empty password when creating a new database.
... added the -w
command-line option to pp: don't wrap long output lines.
Installing Pork
instead, make sure the
commands will be found on the path, as above.
... hg clone http://hg.mozilla.org/rewriting-and-analysis/pork/ cd pork hg clone http://hg.mozilla.org/rewriting-and-analysis/elsa ./configure make building mozilla with mcpp to build mozilla with mcpp to generate annotated .ii files, use the following configure
command: ac_cv_visibility_hidden=no cc="gcc34 -save-temps -wp,-w0,-k" cxx="g++ -save-temps -wp,-w0,-k" cppflags=-dns_disable_literal_template $srcdir/configure --enable-debug --disable-optimize --disable-accessibility --enable-application=browser --disable-crashreporter building will probably require disabling warnings_as_errors: make warnings_as_errors= "-wp,-w0,-k" are options that get passed to ...
Download Rhino
to get the source, use the
command git clone https://github.com/mozilla/rhino.git rhino uses gradle as its build system.
... running the ./gradlew tasks
command at the top directory of the rhino distribution will print the list of available build targets.
Tutorial: Embedding Rhino
all it does it read a script from the
command line, execute it, and print a result.
... here's an example use of runscript from a shell
command line: $ java runscript "math.cos(math.pi)" -1 $ java runscript "function f(x){return x+1} f(7)" 8 note that you'll have to have both the rhino classes and the runscript example class file in the classpath.
Rhino Examples
controlling the javascript engine the runscript class runscript.java is a simple program that executes a script from the
command line.
...the programs may be specified as files on the
command line or by typing interactively while the shell is running.
Index
524 shell global objects javascript, needscontent, spidermonkey these are the global objects that are set up automatically by the spidermonkey js
command-line interpreter when you start the program.
... 526 rebranding spidermonkey (1.8.5) build documentation, spidermonkey after installing the build pre-requisites and downloading the spidermonkey source tarball issue the following
commands at the terminal: 527 spidermonkey internals guide, javascript, needsupdate, spidermonkey at heart, spidermonkey is a fast interpreter that runs an untyped bytecode and operates on values of type js::value—type-tagged values that represent the full range of javascript values.
Running Automated JavaScript Tests
for a smoke test or if you are not changing language-level functionality, you may wish to use jstests.py path_to_js_shell --exclude=test262 other options allow you to show the test
command lines being run,
command output and return codes, run tests named in a given file, exclude tests named in a given file, hide the progress bar, change the timeout, run skipped tests, print output in tinderbox format, run a test in the debugger, or run tests in valgrind.
... running jstest in a browser jstests also runs on browser, with the following
command: ./mach jstestbrowser to run specific test, you can use --filter=pattern
command-line argument, where pattern is a regexp pattern that is tested against file:///{path_to_obj_dir}/dist/test-stage/jsreftest/tests/jsreftest.html?test={relative_path_to_test_from_js/src/tests} string: ./mach jstestbrowser --filter=pattern running jstests on treeherder when viewing treeherder after a push to the mozilla repositories, jstests run in the browser are shown as r(j) meaning "javasc...
Thread Sanitizer
you can check which version of clang you have by running the
command: clang -v if you are not building from mozilla-central and are building firefox 39 or earlier, you must use clang 3.3.
...rter ac_add_options --disable-elf-hack # keep symbols to symbolize tsan traces export moz_debug_symbols=1 ac_add_options --enable-debug-symbols ac_add_options --disable-install-strip # settings for an opt build ac_add_options --enable-optimize="-o2 -gline-tables-only" ac_add_options --disable-debug starting the build process now you start the build process using the regular make -f client.mk
command.
compare-locales
ab-cd browser chrome/browser browser.dtd +backforwardmenu.tooltip +fullzoomenlargecmd.
commandkey3 +fullzoomreducecmd.
commandkey2 +fullzoomresetcmd.
commandkey2 +organizebookmarks.label -showallbookmarkscmd2.label migration/migration.dtd -importfromfile.accesskey -importfromfile.label +importfromhtmlfile.accesskey +importfromhtmlfile.label you can assume changed strings when you see entities removed and ...
... the output closes with a summary, giving the total counts of missing and obsolete strings and words, and some statistics on how many strings are changed or not, excluding access- and
commandkeys.
Mozinfo
command line usage mozinfo comes with a
command line, mozinfo which may be used to diagnose one's current system.
...mozinfo --help documents
command-line usage.
A Web PKI x509 certificate primer
generate the key using the following
command: openssl genpkey -algorithm rsa -out key.pem -pkeyopt rsa_keygen_bits:2048 2048 is considered secure for the next 4 years.
...generate csr using this
command: openssl req -new -key key.pem -days 1096 -extensions v3_ca -batch -out example.csr -utf8 -subj '/cn=www.example.com' this creates a new certificate signing request (csr) that will be valid for 3 years.
Creating a Python XPCOM component
it is helpful to then start mozilla from the
command line to see if new components register successfully.
...testing it to see this work, you will have to start firefox from the
command line, since that'll be where the stuff will be printed out.
nsIMacDockSupport
eateelementns('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'menupopup'); macmenu.setattribute('id', 'mymacmenu'); var macmenuitem = win.document.createelementns('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'menuitem'); macmenuitem.setattribute('label', 'show most recent window'); macmenuitem.setattribute('id', 'mymacmenuitem'); macmenuitem.addeventlistener('
command', function(){ var docksupport = cc['@mozilla.org/widget/macdocksupport;1'].getservice(ci.nsimacdocksupport); docksupport.activateapplication(true); services.wm.getmostrecentwindow(null).focus() }) macmenu.appendchild(macmenuitem); var mainpopupset = win.document.getelementbyid('mainpopupset'); mainpopupset.appendchild(macmenu); let dockmenuelement = macmenu; //document.getelementbyid("menu...
...var macmenuitem = services.appshell.hiddendomwindow.document.createelementns('http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul', 'menuitem'); macmenuitem.setattribute('label', 'show most recent window'); macmenuitem.setattribute('id', 'mymacmenuitem'); macmenuitem.addeventlistener('
command', function(){ var docksupport = cc['@mozilla.org/widget/macdocksupport;1'].getservice(ci.nsimacdocksupport); docksupport.activateapplication(true); services.wm.getmostrecentwindow(null).focus() }) services.appshell.hiddendomwindow.document.getelementbyid('menu_mac_dockmenu').appendchild(macmenuitem) this adds the "show most recent window" menuitem from the previous example as a third item.
nsIMsgFolder
void downloadmessagesforoffline(in nsisupportsarray messages, in nsimsgwindow window); nsimsgfolder getchildwithuri(in acstring uri, in boolean deep, in boolean caseinsensitive); void downloadallforoffline(in nsiurllistener listener, in nsimsgwindow window); void enablenotifications(in long notificationtype, in boolean enable, in boolean dbbatching); boolean is
commandenabled(in acstring
command); boolean matchorchangefilterdestination(in nsimsgfolder folder,in boolean caseinsensitive); boolean confirmfolderdeletionforfilter(in nsimsgwindow msgwindow); void alertfilterchanged(in nsimsgwindow msgwindow); void throwalertmsg(in string msgname, in nsimsgwindow msgwindow); astring getstringwithfoldernamefrombundle(in stri...
... in boolean deep, in boolean caseinsensitive); downloadallforoffline() void downloadallforoffline(in nsiurllistener listener, in nsimsgwindow window); enablenotifications() void enablenotifications(in long notificationtype, in boolean enable, in boolean dbbatching); is
commandenabled() boolean is
commandenabled(in acstring
command); matchorchangefilterdestination() boolean matchorchangefilterdestination(in nsimsgfolder folder, in boolean caseinsensitive); confirmfolderdeletionforfilter() boolean confirmfolderdeletionforfilter(in nsimsgwindow msgwindow); alertfilterchanged() void alertfilterchanged(in nsimsgwindow msg...
nsIMsgWindow
method overview void displayhtmlinmessagepane(in astring title, in astring body, in boolean clearmsghdr); void stopurls(); void closewindow(); attributes attribute type description window
commands nsimsgwindow
commands this allows the backend code to send
commands to the ui, such as clearmsgpane.
...it clears out the content listener, the window
commands, the statusfeedback and the docshell objects.
XPCOM Interface Reference
owserhistorynsibrowsersearchservicensicrlinfonsicrlmanagernsicachensicachedeviceinfonsicacheentrydescriptornsicacheentryinfonsicachelistenernsicachemetadatavisitornsicacheservicensicachesessionnsicachevisitornsicachingchannelnsicancelablensicategorymanagernsichannelnsichanneleventsinknsichannelpolicynsicharsetresolvernsichromeframemessagemanagernsichromeregistrynsiclassinfonsiclipboardnsiclipboard
commandsnsiclipboarddragdrophooklistnsiclipboarddragdrophooksnsiclipboardhelpernsiclipboardownernsicollectionnsi
commandcontrollernsi
commandlinensi
commandlinehandlernsi
commandlinerunnernsicomponentmanagernsicomponentregistrarnsicompositionstringsynthesizernsiconsolelistenernsiconsolemessagensiconsoleservicensicontainerboxobjectnsicontentframemessagemanagernsicontentprefnsicontentprefcallback2nsicontentpre...
...termanagernsimenuboxobjectnsimessagebroadcasternsimessagelistenernsimessagelistenermanagernsimessagesendernsimessagewakeupservicensimessengernsimicrosummarynsimicrosummarygeneratornsimicrosummaryobservernsimicrosummaryservicensimicrosummarysetnsimimeconverternsimimeheadersnsimodulensimsgaccountnsimsgaccountmanagerextensionnsimsgcompfieldsnsimsgcustomcolumnhandlernsimsgdbhdrnsimsgdbviewnsimsgdbview
commandupdaternsimsgdatabasensimsgfilternsimsgfiltercustomactionnsimsgfilterlistnsimsgfoldernsimsgheaderparsernsimsgidentitynsimsgincomingservernsimsgmessageservicensimsgprotocolinfonsimsgruleactionnsimsgsearchcustomtermnsimsgsearchnotifynsimsgsearchscopetermnsimsgsearchsessionnsimsgsearchtermnsimsgsearchvaluensimsgsendlaternsimsgthreadnsimsgwindownsimsgwindow
commandsnsimutablearraynsinavbookmarkobserver...
nsMsgNavigationType
ward a message, you would call: // assuming gdbview is a global nsimsgdbview var resultid = new object(); var resultindex = new object(); var threadindex = new object(); gdbview.viewnavigate(components.interfaces.nsmsgnavigationtype.nextmessage, resultid, resultindex, threadindex, true); the nsmsgnavigationtype interface is defined as a global variable in thunderbird: var nsmsgview
commandtype = components.interfaces.nsmsgview
commandtype; mailnews/base/public/nsimsgdbview.idlscriptable please add a summary to this article.
... togglethreadkilled 5 must match nsmsgview
commandtype togglethreadkilled.
XPCOM reference
for example to move forward a message, you would call:nsmsgsearchopvaluedefined in comm-central/ mailnews/ base/ search/ public/ nsmsgsearchcore.idl nsmsgview
commandcheckstatethe nsmsgview
commandcheckstate interface contains constants used for
command status in thunderbird.
... it is (as far as i can tell) not currently used anywhere in thunderbird.nsmsgview
commandtypethe nsmsgview
commandtype interface contains constants used for
commands in thunderbird.
Troubleshooting XPCOM components registration
if the error appears, you can use nspr logging to see additional information about the failure by running firefox from a
command prompt: rem close all firefox windows!
...in the dialog that appears, you can provide
command line parameters and click ok to start the application.
Test-Info
running test-info locally "test-info" is a mach
command and can be run from any source tree.
... test-info has several sub-
commands; the "report" sub-
command is used by the test-info tasks mozilla-central$ mach help test-info report to reproduce test-info(all): mozilla-central$ mach test-info report --show-tests --show-summary --show-activedata running test-info on try to run these tasks on try, use something like: mach try fuzzy -q test-info contact information test-info is maintained by :gbrown.
Using MAPI with Thunderbird's Windows 7 developer builds
(be sure to copy - not move - these files.) in the uninstall sub-directory of the bin directory, run these two
commands: helper.exe /setasdefaultappglobal helper.exe /setasdefaultappuser create an elevated shell and register the mapi proxy.dll as a com server.
... (one way to create an elevated shell is to invoke the
command prompt from the start menu, right click, and select run as administrator.) in the elevated shell, change to the objdir/mozilla/dist/bin directory and enter this
command: regsvr32 mapiproxy_inuse.dll ...
Using COM from js-ctypes
iid_ispvoice, (void**)&pvoice); if (succeeded(hr)) { pvoice->speak(l"hello, firefox!", spf_default, null); pvoice->release(); } } // msdn documentation says that even if coinitalize fails, counitialize // must be called couninitialize(); return 0; } to run the code, save it as test.cpp, and run following
command in the directory (needs visual studio).
... &iid_ispvoice, (void**)&pvoice); if (succeeded(hr)) { pvoice->lpvtbl->speak(pvoice, l"hello, firefox!", 0, null); pvoice->lpvtbl->release(pvoice); } } // msdn documentation says that even if coinitalize fails, counitialize // must be called couninitialize(); return 0; } to run the code, save it as test.c, and run following
command in the directory.
Using Objective-C from js-ctypes
while ([synth isspeaking]) {} [synth release]; return 0; } save this file as test.m, and run with the following
command, inside the same directory as the saved file (needs xcode).
... // [synth isspeaking] while (objc_msgsend(synth, isspeaking)) {} sel release = sel_registername("release"); // [synth release]; objc_msgsend(synth, release); // [text release]; objc_msgsend(text, release); return 0; } to run this code, save it as test.c, and run the following
command in the same directory.
ctypes
so we look up on msdn what the tb_button structures is (msdn :: tb_button structure) and it says it is: typedef struct { int ibitmap; int id
command; byte fsstate; byte fsstyle; #ifdef _win64 byte breserved[6]; #else #if defined(_win32) byte breserved[2]; #endif #endif dword_ptr dwdata; int_ptr istring; } tbbutton, *ptbbutton, *lptbbutton; so now notice that if it's 64-bit process it's different than if it's 32-bit process.
...this is what the final looks like: var struct_tbbutton; if (ctypes.voidptr_t.size == 4 /* 32-bit */) { struct_tbbutton = ctypes.structtype('tbbutton', [ {'ibitmap': ctypes.int}, {'id
command': ctypes.int}, {'fbstate': ctypes.unsigned_char}, {'fsstyle': ctypes.unsigned_char}, {'breserved': ctypes.unsigned_char}, {'breserved2': ctypes.unsigned_char}, {'dwdata': ctypes.uintptr_t}, {'istring': ctypes.intptr_t} ]); } else if (ctypes.voidptr_t.size == 8 /* 64-bit */) { struct_tbbutton = ctypes.structtype('tbbutton', [ {'ibitmap': ctypes.int}, {'id
command': ctypes.int}, {'fbstate': ctypes.unsigned_char}, {'fsstyle': ctypes.unsigned_char}, {'breserved': ctypes.unsigned_char}, ...
Plug-in Basics - Plugins
advanced: you can determine which directories a gecko program checks with the linux strace
command, for example: strace -e open /usr/bin/firefox 2>&1 | grep plugin but with version firefox-41.0.2 we can not check.
...i checked also this
command with above script (with environment variable) on my system and also working.
Search - Firefox Developer Tools
searching for files to search for a particular file, press control + p (or
command + p on a mac) and type the search term.
...you can use the up and down arrows to move through the list, and return to open the file you want: searching within a file to search for a particular substring in the file currently loaded into the source pane, press control + f (or
command + f on a mac) while the source pane is focused.
Debugger keyboard shortcuts - Firefox Developer Tools
command windows macos linux close current file ctrl + w cmd + w ctrl + w search for a string in the current file ctrl + f cmd + f ctrl + f search for a string in all files ctrl + shift + f cmd + shift + f ctrl + shift + f find next in the current file ctrl + g cmd + g ctrl + g search for scripts by name ctrl + p cmd + p ctrl + p resume execution when at a breakpoint f8 f8 1 f8 step over f10 f10 1 f10 step into f11 f11 1 f11 step out shift + f11 shift + f11 1 shift + f11 toggle breakpoint on the currently selected line ctrl + b cmd + b ctrl + b toggle conditional breakpoint on the currently se...
...
command windows macos linux increase font size ctrl + + cmd + + ctrl + + decrease font size ctrl + - cmd + - ctrl + - reset font size ctrl + 0 cmd + 0 ctrl + 0 ...
Intensive JavaScript - Firefox Developer Tools
the main thread code would look something like this: const iterations = 50; const multiplier = 1000000000; var worker = new worker("js/calculate.js"); function dopointlesscomputationsinworker() { function handleworkercompletion(message) { if (message.data.
command == "done") { pointlesscomputationsbutton.disabled = false; console.log(message.data.primes); worker.removeeventlistener("message", handleworkercompletion); } } worker.addeventlistener("message", handleworkercompletion, false); worker.postmessage({ "multiplier": multiplier, "iterations": iterations }); } the main difference here, compared with the original,...
... then we need a new file "calculate.js", that looks like this: self.addeventlistener("message", go); function go(message) { var iterations = message.data.iterations; var multiplier = message.data.multiplier; primes = calculateprimes(iterations, multiplier); self.postmessage({ "
command":"done", "primes": primes }); } function calculateprimes(iterations, multiplier) { var primes = []; for (var i = 0; i < iterations; i++) { var candidate = i * (multiplier * math.random()); var isprime = true; for (var c = 2; c <= math.sqrt(candidate); ++c) { if (candidate % c === 0) { // not prime isprime = false; break; } } ...
Rulers - Firefox Developer Tools
behavior to keep in mind when using rulers: the rulers
command must be reapplied in new tabs and after each page refresh.
... the
command isn't permanent.
Settings - Firefox Developer Tools
it makes visible the
command line and one or two lines of the console output.
...to see the settings, open any of the developer tools, and then: click the "settings"
command in the menu: or press f1 to toggle between the active tool and the settings pane the settings pane looks something like this: categories default firefox developer tools this group of checkboxes determines which tools are enabled in the toolbox.
Inputs and input sources - Web APIs
voice
commands using speech recognition.
...this input may be a button, trigger, trackpad tap or click, a voice
command, or special hand gesture, or possibly some other form of input.
Using the Web Speech API - Web APIs
generally, the default speech recognition system available on the device will be used for the speech recognition — most modern oses have a speech recognition system for issuing voice
commands.
...try ' + colorhtml + '.'; document.body.onclick = function() { recognition.start(); console.log('ready to receive a color
command.'); } receiving and handling results once the speech recognition is started, there are many event handlers that can be used to retrieve results, and other pieces of surrounding information (see the speechrecognition event handlers list.) the most common one you'll probably use is speechrecognition.onresult, which is fired once a successful result is received: recognition.onresult = function(ev...
Window.controllers - Web APIs
by default, a window's controller contains the code that supports the global window
commands.
... chrome code can add controllers (to be used in conjunction with the godo
command and goupdate
command functions in globaloverlay.js).
XRSession - Web APIs
this generally corresponds to the user pressing a trigger, touchpad, or button, speaks a
command, or performs a recognizable gesture.
...for example: for button or trigger actions, this means the button has been released; for spoken
commands, it means the user has finished speaking.
ARIA Test Cases - Accessibility
(mz) this may be the menu bar or higher level menu item, or a control that gains focus after the menu was closed after executing a
command.
...m (leopard) pass n/a pass pass zoomtext - - - - orca - - - - other test cases application simple application with inner document with grid and menubar expected at behavior: if at supports virtual buffers (probably all windows screen readers), this should be automatically turned off and the user should interact via the keyboard
commands built into the web app.
ARIA: document role - Accessibility
however, when the keyboard focus is set on the starting heading on a single conversation that contains the subject of the conversation, the screen reader user can use the reading mode
commands to read through the messages, expand or collapse them, and manipulate them.
... added benefits the document role is an easy way to indirectly control assistive technology behavior by unambiguously stating that this is content the user should read with standard screen reader
commands.
ARIA: button role - Accessibility
a button is a widget used to perform actions such as submitting a form, opening a dialog, cancelling an action, or performing a
command such as inserting a new record or displaying information.
... html <h1>aria button example</h1> <ul id="namelist"></ul> <label for="newname">enter your name: </label> <input type="text" id="newname"> <span role="button" tabindex="0" onclick="handle
command()" onkeydown="handle
command()">add name</span> css [role="button"] { padding: 2px; background-color: navy; color: white; cursor: default; } [role="button"]:hover, [role="button"]:focus, [role="button"]:active { background-color: white; color: navy; } ul { list-style: none; } javascript function handle
command(event) { // handles both mouse clicks and keyboard // ac...
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
svg (scalable vector graphics) lets you draw images using
commands that draw specific shapes, patterns, and lines to produce an image.
... svg
commands are formatted as xml, and can be embedded directly into a web page or can be placed in he page using the <img> element, just like any other type of image.
<kbd>: The Keyboard Input element - HTML: Hypertext Markup Language
examples basic example <p>use the
command <kbd>help my
command</kbd> to view documentation for the
command "my
command".</p> representing keystrokes within an input to describe an input comprised of multiple keystrokes, you can nest multiple <kbd> elements, with an outer <kbd> element representing the overall input and each individual keystroke or component of the input enclosed within its own <kbd>.
... <p>if a syntax error occurs, the tool will output the initial
command you typed for your review:</p> <blockquote> <samp><kbd>custom-git ad my-new-file.cpp</kbd></samp> </blockquote> representing onscreen input options nesting a <samp> element inside a <kbd> element represents input which is based on text presented by the system, such as the names of menus and menu items, or the names of buttons displayed on the screen.
<tt>: The Teletype Text element (obsolete) - HTML: Hypertext Markup Language
<p>enter the following at the telnet
command prompt: <code>set localecho</code><br /> the telnet client should display: <tt>local echo is on</tt></p> result overriding the default font you can override the browser's default font—if the browser permits you to do so, which it isn't required to do—using css: css tt { font-family: "lucida console", "menlo", "monaco", "courier", monospace; } html <p>enter the foll...
...owing at the telnet
command prompt: <code>set localecho</code><br /> the telnet client should display: <tt>local echo is on</tt></p> result usage notes the <tt> element is, by default, rendered using the browser's default non-proportional font.
Proxy Auto-Configuration (PAC) file - HTTP
in chrome (versions 52 to 73), you can disable this by setting pachttpsurlstrippingenabled to false in policy or by launching with the --unsafe-pac-url
command-line flag (in chrome 74, only the flag works, and from 75 onward, there is no way to disable path-stripping; as of chrome 81, path-stripping does not apply to http urls, but there is interest in changing this behavior to match https); in firefox, the preference is network.proxy.autoconfig_url.include_path.
... the pac file is named proxy.pac
command line: pactester -p ~/pacparser-master/tests/proxy.pac -u http://www.mozilla.org (passes the host parameter www.mozilla.org and the url parameter http://www.mozilla.org) isplainhostname() syntax isplainhostname(host) parameters host the hostname from the url (excluding port number).
HTTP Public Key Pinning (HPKP) - HTTP
the following
commands will help you extract the base64 encoded information from a key file, a certificate signing request, or a certificate.
... ec -in my-ecc-key-file.key -outform der -pubout | openssl dgst -sha256 -binary | openssl enc -base64 openssl req -in my-signing-request.csr -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 openssl x509 -in my-certificate.crt -pubkey -noout | openssl pkey -pubin -outform der | openssl dgst -sha256 -binary | openssl enc -base64 the following
command will extract the base64 encoded information for a website.
Image file type and format guide - Web media technologies
svg (scalable vector graphics) svg is an xml-based vector graphics format that specifies the contents of an image as a set of drawing
commands that create shapes, lines, apply colors, filters, and so forth.
... svg is an ideal choice for images which can be represented using a series of drawing
commands, especially if the size at which the image will be rendered is unknown or may vary, since svg will smoothly scale to the desired size.
Mobile first - Progressive web apps (PWAs)
i installed the volo automation tool by running the following on the
command line sudo npm install -g volo (you'll also need to get node.js too if you don't already have it) i then created my sample project using volo create myapp mozilla/mortar-app-stub this creates a sample project inside a directory called myapp.
...volo has a number of useful
commands available, of which we will just use a couple: volo server: starts a local web server at localhost:8080 and runs your app through it: great for easy testing.
path - SVG: Scalable Vector Graphics
for detailed information about the
commands that can be used, see the explanation for the d attribute.
...for detailed information about the
commands that can be used, see the explanation for the d attribute.
XUL Tutorial - Archive of obsolete content
box model element positioning box model details groupboxes adding more elements more layout elements stacks and decks stack positioning tabboxes grids content panels splitters toolbars and menus toolbars simple menu bars more menu features popup menus scrolling menus events and scripts adding event handlers more event handlers keyboard shortcuts focus and selection
commands updating
commands broadcasters and observers document object model document object model modifying a xul interface manipulating lists box objects xpcom interfaces xpcom examples trees trees more tree features tree selection custom tree views tree view details tree box objects rdf and templates introduction to rdf templates trees and templates rdf datasources advanc...
Urlbar-icons - Archive of obsolete content
(the url bar is also known as the address bar and the navigation bar.) example the default contents of browser.xul: <hbox id="urlbar-icons"> <button be="" chromedir="ltr" class="urlbar-icon" click="" for="" id="safebrowsing-urlbar-icon" img="" level="safe" might="" onclick="godo
command('safebrowsing-show-warning');" page="" style="-moz-user-focus:" tooltiptext="this" type="menu"> <img class="urlbar-icon" id="star-button" onclick="placesstarbutton.onclick(event);" /> <img address="" chromedir="ltr" class="urlbar-icon" id="go-button" in="" location="" onclick="handleurlbar
command(event);" p="" the="" to="" tooltiptext="go" /> </button> </hbox> ...
action - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
assign - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
bbox - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
binding - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
bindings - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
box - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
broadcasterset - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
browser - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
caption - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
column - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
columns - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
conditions - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
content - Archive of obsolete content
métodos inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
deck - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
dialog - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
dialogheader - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
dropmarker - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
elements - Archive of obsolete content
a action arrowscrollbox b bbox binding bindings box broadcaster broadcasterset button browser c checkbox caption colorpicker column columns
commandset
command conditions content d deck description dialog dialogheader e editor grid grippy groupbox h hbox i iframe image k key keyset l label listbox listcell listcol listcols listhead listheader listitem m member menu menubar menuitem menulist menupopup menuseparator o observes overlay p page popup popupset preference preferences prefpane prefwindow progressmeter r radio radiogroup resizer richlistbox richlistitem resizer row rows rule s script scrollbar scrollbox scrollcorner ...
grid - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
grippy - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
groupbox - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
hbox - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
image - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listcol - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
listcols - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
member - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
menubar - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
menupopup - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
notification - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
notificationbox - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
observes - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
page - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
panel - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
param - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
popupset - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
preferences - Archive of obsolete content
inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
progressmeter - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
query - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
queryset - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
row - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
rows - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
rule - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
script - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
scrollbar - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
scrollbox - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
scrollcorner - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
separator - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
spacer - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
spinbuttons - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
stack - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
statusbar - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
<statusbarpanel> - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
stringbundle - Archive of obsolete content
inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
stringbundleset - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
tabbox - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
tabpanel - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
tabpanels - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
template - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
textnode - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbar - Archive of obsolete content
inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbargrippy - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbaritem - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbarseparator - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbarset - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbarspacer - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbarspring - Archive of obsolete content
database, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
toolbox - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
tooltip - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
treecell - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treechildren - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treecol - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treecols - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treeitem - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treerow - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
treeseparator - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
triple - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
vbox - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
where - Archive of obsolete content
atabase, datasources, dir, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
wizard - Archive of obsolete content
methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, issamenode, is...
wizardpage - Archive of obsolete content
, , , flex, height, hidden, id, , , left, , maxheight, maxwidth, menu, minheight, minwidth, , , , , , , observes, ordinal, orient, , pack, , persist, , , , ref, resource, , , , , statustext, style, ,, tooltip, tooltiptext, top, width methods inherited methods addeventlistener(), appendchild(), blur, click, clonenode(), comparedocumentposition, dispatchevent(), do
command, focus, getattribute(), getattributenode(), getattributenodens(), getattributens(), getboundingclientrect(), getclientrects(), getelementsbyattribute, getelementsbyattributens, getelementsbyclassname(), getelementsbytagname(), getelementsbytagnamens(), getfeature, getuserdata, hasattribute(), hasattributens(), hasattributes(), haschildnodes(), insertbefore(), isdefaultnamespace(), isequalnode, is...
Building XULRunner with Python - Archive of obsolete content
for example def onload(): btntest = document.getelementbyid("btntest") btntest.addeventlistener('
command', ontest, false) def ontest(): window.alert('button activated') window.addeventlistener('load', onload, false) one possible gotcha is that the default python path used to find modules that areimported explicitly includes the xulrunner executable directory and the directory that is current when xulrunner launches.