diff options
author | Doug Kearns <dougkearns@gmail.com> | 2011-03-19 15:00:46 +1100 |
---|---|---|
committer | Doug Kearns <dougkearns@gmail.com> | 2011-03-19 15:00:46 +1100 |
commit | af550c3839eafa7902ebd50dc7805e40dbadeee1 (patch) | |
tree | 86a0a8496ec97557da7eb24ba81ad0f897e3a645 /HACKING | |
parent | 57dbc1b91328c47396e566cf7a85b1adfe6441a1 (diff) | |
download | pentadactyl-af550c3839eafa7902ebd50dc7805e40dbadeee1.tar.gz |
Run style bot.
--HG--
extra : rebase_source : 3661ea16c48258e44239734cdad6bc18abc70b5f
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -87,7 +87,7 @@ In general: Just look at the existing source code! https://developer.mozilla.org/en/New_in_JavaScript_1.7#Block_scope_with_let * Reuse common local variable names E.g. "elem" is generally used for element, - "win" for windows, "func" for functions, "ret" for return values etc. + "win" for windows, "func" for functions, "res" for return values etc. * Prefer // over /* */ comments (exceptions for big comments are usually OK) Right: if (HACK) // TODO: remove hack @@ -138,12 +138,7 @@ In general: Just look at the existing source code! Functional tests are implemented using the Mozmill automated testing framework -- https://developer.mozilla.org/en/Mozmill_Tests. -A fresh profile is created for the duration of the test run, however, passing -arguments to the host application won't be supported until Mozmill 1.5.2, the -next release, so any user RC and plugin files should be temporarily disabled. -This can be done by adding the following to the head of the RC file: -set loadplugins= -finish +A fresh profile is created for the duration of the test run. The host application binary tested can be overridden via the HOSTAPP_PATH makefile variable. E.g., |