equal
deleted
inserted
replaced
73 Getting Mozilla Source Code Using Mercurial |
73 Getting Mozilla Source Code Using Mercurial |
74 |
74 |
75 * Extension security. |
75 * Extension security. |
76 |
76 |
77 https://developer.mozilla.org/en/Security_best_practices_in_extensions |
77 https://developer.mozilla.org/en/Security_best_practices_in_extensions |
|
78 |
|
79 * Debugin Firefox. |
|
80 |
|
81 https://developer.mozilla.org/en/how_to_get_a_stacktrace_with_windbg |
|
82 |
|
83 * Debugin JavaScript in Firefox. |
|
84 |
|
85 ** Debugging JavaScript in Firefox with Web Console. |
|
86 |
|
87 'console.log()', 'console.info()', 'console.warn()', 'console.error()'. |
|
88 |
|
89 https://developer.mozilla.org/en/Using_the_Web_Console |
|
90 |
|
91 ** Debugging JavaScript in Firefox with Firebug. |
|
92 |
|
93 With Firebug you can use 'console.log(obj)' for logging. Also output can be grouped with |
|
94 console.group("name") to start a new indentation block, and then console.groupEnd(). |
|
95 |
|
96 Same but with different coloring do 'console.debug', 'console.info', 'console.warn', and |
|
97 'console.error' functions. |
|
98 |
|
99 'console.log' can format strings in the great tradition of printf. |
|
100 |
|
101 'console.trace()' - to print trace. |
|
102 |
|
103 http://getfirebug.com/logging |
|
104 |
|
105 ** dump(). |
|
106 |
|
107 Set in 'about:config' 'browser.dom.window.dump.enabled' to 'true'. |
|
108 |
|
109 All messages go to Web console. |
|
110 |