gabrielg-xultestrunner 0.2.6 → 0.2.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (29) hide show
  1. data/VERSION +1 -1
  2. data/xulapp/application.ini +2 -2
  3. data/xulapp/chrome/content/interface/boot.xul +1 -1
  4. data/xulapp/chrome/content/interface/testharness.html +2 -2
  5. data/xulapp/chrome/content/vendor/xpcomcore/LICENSE +21 -0
  6. data/xulapp/chrome/content/vendor/xpcomcore/README +11 -15
  7. data/xulapp/chrome/content/vendor/xpcomcore/Rakefile +69 -2
  8. data/xulapp/chrome/content/vendor/xpcomcore/VERSION.yml +5 -0
  9. data/xulapp/chrome/content/vendor/xpcomcore/bootstrapper.js +32 -0
  10. data/xulapp/chrome/content/vendor/xpcomcore/components/XPCOMCore.js +120 -0
  11. data/xulapp/chrome/content/vendor/xpcomcore/doc/Kernel.html +648 -0
  12. data/xulapp/chrome/content/vendor/xpcomcore/doc/LoadError.html +262 -0
  13. data/xulapp/chrome/content/vendor/xpcomcore/doc/SelfConceptError.html +262 -0
  14. data/xulapp/chrome/content/vendor/xpcomcore/doc/allclasses-frame.html +49 -0
  15. data/xulapp/chrome/content/vendor/xpcomcore/doc/allclasses-noframe.html +48 -0
  16. data/xulapp/chrome/content/vendor/xpcomcore/doc/help-doc.html +160 -0
  17. data/xulapp/chrome/content/vendor/xpcomcore/doc/index-all.html +263 -0
  18. data/xulapp/chrome/content/vendor/xpcomcore/doc/index.html +22 -0
  19. data/xulapp/chrome/content/vendor/xpcomcore/doc/overview-summary-kernel.js.html +371 -0
  20. data/xulapp/chrome/content/vendor/xpcomcore/doc/overview-summary.html +179 -0
  21. data/xulapp/chrome/content/vendor/xpcomcore/doc/overview-tree.html +127 -0
  22. data/xulapp/chrome/content/vendor/xpcomcore/doc/stylesheet.css +39 -0
  23. data/xulapp/chrome/content/vendor/xpcomcore/lib/kernel.js +146 -36
  24. data/xulapp/chrome/content/vendor/xpcomcore/test/kernel_test.js +5 -1
  25. data/xulapp/components/bootstrap.js +87 -102
  26. data/xultestrunner.gemspec +18 -4
  27. metadata +18 -4
  28. data/xulapp/chrome/content/vendor/xpcomcore/bootstrap.js +0 -108
  29. data/xulapp/chrome/content/vendor/xpcomcore/lib/loader.js +0 -16
@@ -0,0 +1,22 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html40/loose.dtd">
2
+ <HTML>
3
+ <HEAD>
4
+ <TITLE>
5
+ Generated Javascript Documentation
6
+ </TITLE>
7
+ </HEAD>
8
+ <FRAMESET cols="20%,80%">
9
+
10
+ <FRAME src="allclasses-frame.html" name="packageFrame">
11
+
12
+ <FRAME src="Kernel.html" name="classFrame">
13
+ </FRAMESET>
14
+ <NOFRAMES>
15
+ <H2>
16
+ Frame Alert</H2>
17
+
18
+ <P>
19
+ This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client.
20
+ <BR>
21
+ Link to <A HREF="allclasses-frame.html">Non-frame version.</A></NOFRAMES>
22
+ </HTML>
@@ -0,0 +1,371 @@
1
+ <!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2
+ <html>
3
+ <head>
4
+ <title>
5
+ XPCOMCore Overview
6
+ </title>
7
+ <link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
8
+ <script>
9
+ function asd() {
10
+
11
+ parent.document.title="kernel.js Overview";
12
+
13
+ }
14
+ </script>
15
+ </head>
16
+ <body bgcolor="white" onload="asd();">
17
+
18
+ <!-- ========== START OF NAVBAR ========== -->
19
+ <a name="navbar_top"><!-- --></a>
20
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
21
+ <tr>
22
+ <td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
23
+ <a name="navbar_top_firstrow"><!-- --></a>
24
+ <table border="0" cellpadding="0" cellspacing="3">
25
+ <tr align="center" valign="top">
26
+
27
+
28
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
29
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> &nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
30
+
31
+
32
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
33
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
34
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
35
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
36
+ </tr>
37
+ </table>
38
+ </td>
39
+ <td bgcolor="#EEEEFF" align="right" valign="top">
40
+ <em>
41
+ <b>XPCOMCore</b></em>
42
+ </td>
43
+ </tr>
44
+
45
+ <tr>
46
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
47
+ &nbsp;PREV&nbsp;
48
+ &nbsp;NEXT</font></td>
49
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
50
+ <a href="index.html" target="_top"><b>FRAMES</b></a> &nbsp;
51
+ &nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
52
+ &nbsp;&nbsp;
53
+ <script>
54
+ <!--
55
+ if(window==top) {
56
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
57
+ }
58
+ //-->
59
+ </script>
60
+ <noscript>
61
+ <a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
62
+ </noscript>
63
+ </font></td>
64
+ </tr>
65
+ </table>
66
+ <!-- =========== END OF NAVBAR =========== -->
67
+
68
+ <hr>
69
+ <center>
70
+
71
+ <h2>kernel.js</h2>
72
+
73
+ </center>
74
+
75
+
76
+
77
+
78
+ <h4>Summary</h4>
79
+ <p>
80
+
81
+ This file specifies a set of globally useful features/shortcuts
82
+ and defines our "Kernel" object, which is the base for doing a lot of simple
83
+ things with XPCOMCore such as loading in other files and printing to the
84
+ console.<BR/><BR/>
85
+
86
+ </p>
87
+
88
+ <hr>
89
+
90
+
91
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
92
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
93
+ <td colspan=2><font size="+2">
94
+
95
+ <b>Class Summary</b>
96
+
97
+ </font></td>
98
+ </tr>
99
+
100
+ <tr bgcolor="white" class="TableRowColor">
101
+ <td width="15%"><b><a href="Kernel.html">Kernel</a></b></td>
102
+ <td>Our central 'class' containing a lot of properties and methods we need to
103
+ build the rest of XPCOMCore on top of.</td>
104
+ </tr>
105
+
106
+ <tr bgcolor="white" class="TableRowColor">
107
+ <td width="15%"><b><a href="LoadError.html">LoadError</a></b></td>
108
+ <td>Exception representing an error loading a file.</td>
109
+ </tr>
110
+
111
+ <tr bgcolor="white" class="TableRowColor">
112
+ <td width="15%"><b><a href="SelfConceptError.html">SelfConceptError</a></b></td>
113
+ <td>Exception representing an error determining what the path to the currently executing file is.</td>
114
+ </tr>
115
+
116
+ </table>
117
+ <hr/>
118
+
119
+
120
+ <!-- ========== METHOD SUMMARY =========== -->
121
+
122
+ <!-- ========== END METHOD SUMMARY =========== -->
123
+
124
+
125
+ <pre class="sourceview"><span class="comment">/**
126
+ * <span class="attrib">@fileoverview</span> This file specifies a set of globally useful features/shortcuts
127
+ * and defines our "Kernel" object, which is the base for doing a lot of simple
128
+ * things with XPCOMCore such as loading in other files and printing to the
129
+ * console.
130
+ */</span>
131
+
132
+ <span class="comment">/**
133
+ * <span class="attrib">@class</span> Exception representing an error loading a file.
134
+ * <span class="attrib">@extends</span> Error
135
+ * <span class="attrib">@constructor</span>
136
+ * <span class="attrib">@param</span> {String} message The error message to be given for this exception.
137
+ * <span class="attrib">@type</span> Error
138
+ */</span>
139
+ <span class="reserved">function</span> LoadError(message) {
140
+ var err = new Error(message);
141
+ err.name = arguments.callee.name;
142
+ <span class="reserved">return</span> err;
143
+ };
144
+
145
+ <span class="comment">/**
146
+ * <span class="attrib">@class</span> Exception representing an error determining what the path to the currently executing file is.
147
+ * <span class="attrib">@extends</span> Error
148
+ * <span class="attrib">@constructor</span>
149
+ * <span class="attrib">@param</span> {String} message The error message to be given for this exception.
150
+ * <span class="attrib">@type</span> Error
151
+ */</span>
152
+ <span class="reserved">function</span> SelfConceptError(message) {
153
+ var err = new Error(message);
154
+ err.name = arguments.callee.name;
155
+ <span class="reserved">return</span> err;
156
+ };
157
+
158
+ <span class="comment">/**
159
+ * A pseudo-constructor to make JSDoc happy and actually document things in {<span class="attrib">@link</span> Kernel}.
160
+ * If this method is called with an argument, all properties from {<span class="attrib">@link</span> Kernel} are taken
161
+ * and defined as the return value of getter methods set on the given object.
162
+ * <span class="attrib">@class</span> Our central 'class' containing a lot of properties and methods we need to
163
+ * build the rest of XPCOMCore on top of.
164
+ * <span class="attrib">@param</span> {Object} mixinScope Optional argument, any object to mix {<span class="attrib">@link</span> Kernel}'s properties
165
+ * into.
166
+ * <span class="attrib">@return</span> The prototype object of the Kernel function.
167
+ */</span>
168
+ <span class="reserved">function</span> Kernel(mixinScope) {
169
+ var myPrototype = arguments.callee.<span class="reserved">prototype</span>;
170
+ <span class="reserved">if</span> (mixinScope) {
171
+ var makeGetter = <span class="reserved">function</span>(attr) { <span class="reserved">return</span> <span class="reserved">function</span>() { <span class="reserved">return</span> myPrototype[attr]; } };
172
+ <span class="reserved">for</span> (var p in myPrototype) { mixinScope.__defineGetter__(p, makeGetter(p)); };
173
+ };
174
+ <span class="reserved">return</span> myPrototype;
175
+ };
176
+
177
+ Kernel.<span class="reserved">prototype</span> = {
178
+ <span class="comment">/**
179
+ * A shortcut constant to Components.classes.
180
+ * <span class="attrib">@final</span>
181
+ */</span>
182
+ Cc: Components.classes,
183
+
184
+ <span class="comment">/**
185
+ * A shortcut constant to Components.interfaces.
186
+ * <span class="attrib">@final</span>
187
+ */</span>
188
+ Ci: Components.interfaces,
189
+
190
+ <span class="comment">/**
191
+ * A shortcut constant to Components.results.
192
+ * <span class="attrib">@final</span>
193
+ */</span>
194
+ Cr: Components.results,
195
+
196
+ <span class="comment">/**
197
+ * A shortcut constant to Components.utils.
198
+ * <span class="attrib">@final</span>
199
+ */</span>
200
+ Cu: Components.utils,
201
+
202
+ <span class="comment">/**
203
+ * Taking inspiration from Ruby, this defines the set of paths to check when
204
+ * trying to load a file via either {<span class="attrib">@link</span> Kernel#load} or {<span class="attrib">@link</span> Kernel#require}.
205
+ * <span class="attrib">@final</span>
206
+ * <span class="attrib">@type</span> Array
207
+ */</span>
208
+ LOAD_PATH: [XPCOMCoreConfig.getProperty(<span class="literal">'libRoot'</span>)],
209
+
210
+ <span class="comment">/**
211
+ * Taking inspiration from Ruby, this defines the currently loaded files that
212
+ * have been loaded through {<span class="attrib">@link</span> Kernel#require}.
213
+ * <span class="attrib">@final</span>
214
+ * <span class="attrib">@type</span> Array
215
+ */</span>
216
+ LOADED_FEATURES: [<span class="literal">"kernel.js"</span>],
217
+
218
+ <span class="comment">/**
219
+ * Taking inspiration from Ruby, this method tries to determine the filesystem path to
220
+ * the caller code of this method.
221
+ * <span class="attrib">@type</span> String
222
+ * <span class="attrib">@throws</span> {<span class="attrib">@link</span> SelfConceptError} Thrown when we can't figure out what the filesystem
223
+ * path to the current file is.
224
+ */</span>
225
+ CURRENT_FILE: <span class="reserved">function</span>() {
226
+ var ioService = Cc[<span class="literal">"@mozilla.org/network/io-service;1"</span>].getService(Ci.nsIIOService);
227
+ <span class="comment">// FIXME - UGH. This is so seedy.</span>
228
+ var thisFile = (new Error).stack.split(<span class="literal">"\n"</span>)[2].split(<span class="literal">"@"</span>)[1].split(<span class="literal">" -&gt; "</span>).slice(-1)[0].split(/:[0-9]/)[0];
229
+ var thisFileURI = ioService.newURI(thisFile, null, null);
230
+
231
+ <span class="comment">// If we're loaded as a resource, resolve ourselves to an actual filesystem path and return that.</span>
232
+ <span class="reserved">if</span> (thisFileURI.scheme == <span class="literal">"resource"</span>) {
233
+ var resProt = ioService.getProtocolHandler(<span class="literal">"resource"</span>).QueryInterface(Components.interfaces.nsIResProtocolHandler);
234
+ <span class="reserved">return</span> ioService.newURI(resProt.resolveURI(thisFileURI), null, null).QueryInterface(Ci.nsIURL).path;
235
+ <span class="comment">// If we're loaded as a file, just return our path.</span>
236
+ } <span class="reserved">else</span> <span class="reserved">if</span> (thisFileURI.scheme == <span class="literal">"file"</span>) {
237
+ <span class="reserved">return</span> thisFileURI.QueryInterface(Ci.nsIURL).path;
238
+ } <span class="reserved">else</span> {
239
+ throw(new SelfConceptError(<span class="literal">"The filesystem location of the current file could not be determined."</span>));
240
+ }
241
+ },
242
+
243
+ <span class="comment">/**
244
+ * Prints a string to standard out, without a trailing newline.
245
+ * <span class="attrib">@param</span> {String} str String to print to standard out.
246
+ */</span>
247
+ print: <span class="reserved">function</span>(str) {
248
+ dump(str);
249
+ },
250
+
251
+ <span class="comment">/**
252
+ * Prints a string to standard out, with a trailing newline.
253
+ * <span class="attrib">@param</span> {String} str String to print to standard out.
254
+ */</span>
255
+ puts: <span class="reserved">function</span>(str) {
256
+ print(str + <span class="literal">"\n"</span>);
257
+ },
258
+
259
+ <span class="comment">/**
260
+ * Searches {<span class="attrib">@link</span> Kernel#LOAD_PATH LOAD_PATH} for files to load into the current global scope.
261
+ * Files loaded via this method will not be added to {<span class="attrib">@link</span> Kernel#LOADED_FEATURES} and hence
262
+ * can be repeatedly loaded and executed.
263
+ * <span class="attrib">@param</span> {String} featurePath Full or relative path including file extension to try and load.
264
+ * <span class="attrib">@type</span> Boolean
265
+ * <span class="attrib">@throws</span> {<span class="attrib">@link</span> LoadError} Thrown when we can't find the specified file in any directories specified
266
+ * in {<span class="attrib">@link</span> Kernel#LOAD_PATH LOAD_PATH}.
267
+ */</span>
268
+ load: <span class="reserved">function</span>(featurePath) {
269
+ var loader = Cc[<span class="literal">"@mozilla.org/moz/jssubscript-loader;1"</span>].getService(Ci.mozIJSSubScriptLoader);
270
+ var foundFile = null;
271
+ <span class="comment">// FIXME - so this is kinda shitty. We have an empty entry here so we default to just trying to load </span>
272
+ <span class="comment">// from an absolute path</span>
273
+ var loadPath = LOAD_PATH.concat([<span class="literal">""</span>]);
274
+ var loadPathLength = loadPath.length;
275
+ <span class="comment">// FIXME - mozilla bug here. if i use foreach on array it ignores the granted security privileges</span>
276
+ <span class="reserved">for</span> (var i = 0; i &lt; loadPathLength; i++) {
277
+ var potentialFile = Cc[<span class="literal">"@mozilla.org/file/local;1"</span>].createInstance(Ci.nsILocalFile);
278
+ potentialFile.initWithPath(loadPath[i] + <span class="literal">"/"</span> + featurePath);
279
+ <span class="reserved">if</span> (potentialFile.exists()) {
280
+ foundFile = potentialFile;
281
+ break;
282
+ }
283
+ };
284
+ <span class="reserved">if</span> (foundFile) {
285
+ foundFile.normalize();
286
+ loader.loadSubScript(<span class="literal">"file://"</span> + encodeURI(foundFile.path));
287
+ } <span class="reserved">else</span> {
288
+ throw(new LoadError(<span class="literal">"no such file to load -- "</span> + featurePath));
289
+ }
290
+ },
291
+
292
+ <span class="comment">/**
293
+ * Searches {<span class="attrib">@link</span> Kernel#LOAD_PATH LOAD_PATH} for features to load into the current global scope.
294
+ * Files loaded via this method will be added to {<span class="attrib">@link</span> Kernel#LOADED_FEATURES} and hence two
295
+ * consecutive calls to this method will not load and execute the code twice.
296
+ * <span class="attrib">@type</span> Boolean True if successful, false if the specified feature has already been required.
297
+ * <span class="attrib">@param</span> {String} featurePath Full or relative path without the file extension to try and require.
298
+ * <span class="attrib">@throws</span> {<span class="attrib">@link</span> LoadError} Thrown when we can't find the specified feature in any directories specified
299
+ * in {<span class="attrib">@link</span> Kernel#LOAD_PATH LOAD_PATH}.
300
+ */</span>
301
+ require: <span class="reserved">function</span>(feature) {
302
+ var jsFeature = feature + <span class="literal">".js"</span>;
303
+ <span class="reserved">if</span> (LOADED_FEATURES.indexOf(jsFeature) == -1) {
304
+ load(jsFeature);
305
+ LOADED_FEATURES.push(jsFeature);
306
+ <span class="reserved">return</span> true;
307
+ } <span class="reserved">else</span> {
308
+ <span class="reserved">return</span> false;
309
+ }
310
+ }
311
+ };</pre>
312
+ <hr>
313
+
314
+
315
+
316
+ <!-- ========== START OF NAVBAR ========== -->
317
+ <a name="navbar_top"><!-- --></a>
318
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
319
+ <tr>
320
+ <td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
321
+ <a name="navbar_top_firstrow"><!-- --></a>
322
+ <table border="0" cellpadding="0" cellspacing="3">
323
+ <tr align="center" valign="top">
324
+
325
+
326
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-summary.html"><font class="NavBarFont1"><b>Overview</b></font></a>&nbsp;</td>
327
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> &nbsp;<font class="NavBarFont1Rev"><b>File</b></font>&nbsp;</td>
328
+
329
+
330
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
331
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
332
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
333
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
334
+ </tr>
335
+ </table>
336
+ </td>
337
+ <td bgcolor="#EEEEFF" align="right" valign="top"><em>
338
+ <b>XPCOMCore</b></em>
339
+ </td>
340
+ </tr>
341
+
342
+ <tr>
343
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
344
+ &nbsp;PREV&nbsp;
345
+ &nbsp;NEXT</font></td>
346
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
347
+ <a href="index.html" target="_top"><b>FRAMES</b></a> &nbsp;
348
+ &nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
349
+ &nbsp;&nbsp;
350
+ <script>
351
+ <!--
352
+ if(window==top) {
353
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
354
+ }
355
+ //-->
356
+ </script>
357
+ <noscript>
358
+ <a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
359
+ </noscript>
360
+ </font></td>
361
+ </tr>
362
+ </table>
363
+ <!-- =========== END OF NAVBAR =========== -->
364
+
365
+ <hr>
366
+ <font size="-1">
367
+
368
+ </font>
369
+ <div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Mon Sep 14 12:39:13 2009</div>
370
+ </body>
371
+ </html>
@@ -0,0 +1,179 @@
1
+ <!doctype html public "-//W3C//DTD HTML 4.0 Frameset//EN""http://www.w3.org/TR/REC-html40/frameset.dtd">
2
+ <html>
3
+ <head>
4
+ <title>
5
+ XPCOMCore Overview
6
+ </title>
7
+ <link rel ="stylesheet" type="text/css" href="stylesheet.css" title="Style">
8
+ <script>
9
+ function asd() {
10
+
11
+ parent.document.title="XPCOMCore Overview";
12
+
13
+ }
14
+ </script>
15
+ </head>
16
+ <body bgcolor="white" onload="asd();">
17
+
18
+ <!-- ========== START OF NAVBAR ========== -->
19
+ <a name="navbar_top"><!-- --></a>
20
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
21
+ <tr>
22
+ <td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
23
+ <a name="navbar_top_firstrow"><!-- --></a>
24
+ <table border="0" cellpadding="0" cellspacing="3">
25
+ <tr align="center" valign="top">
26
+
27
+
28
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> &nbsp;<font class="NavBarFont1Rev"><b>Overview</b></font>&nbsp;</td>
29
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <font class="NavBarFont1">File</font>&nbsp;</td>
30
+
31
+
32
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
33
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
34
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
35
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
36
+ </tr>
37
+ </table>
38
+ </td>
39
+ <td bgcolor="#EEEEFF" align="right" valign="top">
40
+ <em>
41
+ <b>XPCOMCore</b></em>
42
+ </td>
43
+ </tr>
44
+
45
+ <tr>
46
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
47
+ &nbsp;PREV&nbsp;
48
+ &nbsp;NEXT</font></td>
49
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
50
+ <a href="index.html" target="_top"><b>FRAMES</b></a> &nbsp;
51
+ &nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
52
+ &nbsp;&nbsp;
53
+ <script>
54
+ <!--
55
+ if(window==top) {
56
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
57
+ }
58
+ //-->
59
+ </script>
60
+ <noscript>
61
+ <a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
62
+ </noscript>
63
+ </font></td>
64
+ </tr>
65
+ </table>
66
+ <!-- =========== END OF NAVBAR =========== -->
67
+
68
+ <hr>
69
+ <center>
70
+
71
+ <h2>XPCOMCore</h2>
72
+
73
+ </center>
74
+
75
+
76
+ <p>
77
+ This document is the API Specification for
78
+ XPCOMCore.
79
+ </p>
80
+
81
+
82
+
83
+ <h4>Summary</h4>
84
+ <p>
85
+
86
+ This file specifies a set of globally useful features/shortcuts
87
+ and defines our "Kernel" object, which is the base for doing a lot of simple
88
+ things with XPCOMCore such as loading in other files and printing to the
89
+ console.<BR/><BR/>
90
+
91
+ </p>
92
+
93
+ <hr>
94
+
95
+
96
+ <table border="1" cellpadding="3" cellspacing="0" width="100%">
97
+ <tr bgcolor="#CCCCFF" class="TableHeadingColor">
98
+ <td colspan=2><font size="+2">
99
+
100
+ <b>File Summary</b>
101
+
102
+ </font></td>
103
+ </tr>
104
+
105
+ <tr bgcolor="white" class="TableRowColor">
106
+ <td width="15%"><b><a href="overview-summary-kernel.js.html">kernel.js</a></b></td>
107
+ <td>This file specifies a set of globally useful features/shortcuts
108
+ and defines our "Kernel" object, which is the base for doing a lot of simple
109
+ things with XPCOMCore such as loading in other files and printing to the
110
+ console.</td>
111
+ </tr>
112
+
113
+ </table>
114
+ <hr/>
115
+
116
+
117
+ <!-- ========== METHOD SUMMARY =========== -->
118
+
119
+ <!-- ========== END METHOD SUMMARY =========== -->
120
+
121
+
122
+
123
+
124
+ <!-- ========== START OF NAVBAR ========== -->
125
+ <a name="navbar_top"><!-- --></a>
126
+ <table border="0" width="100%" cellpadding="1" cellspacing="0">
127
+ <tr>
128
+ <td colspan=2 bgcolor="#EEEEFF" class="NavBarCell1">
129
+ <a name="navbar_top_firstrow"><!-- --></a>
130
+ <table border="0" cellpadding="0" cellspacing="3">
131
+ <tr align="center" valign="top">
132
+
133
+
134
+ <td bgcolor="#FFFFFF" class="NavBarCell1Rev"> &nbsp;<font class="NavBarFont1Rev"><b>Overview</b></font>&nbsp;</td>
135
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <font class="NavBarFont1">File</font>&nbsp;</td>
136
+
137
+
138
+ <td bgcolor="#FFFFFF" class="NavBarCell1"> <font class="NavBarFont1">Class</font>&nbsp;</td>
139
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="overview-tree.html"><font class="NavBarFont1"><b>Tree</b></font></a>&nbsp;</td>
140
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="index-all.html"--><font class="NavBarFont1"><b>Index</b></font></a>&nbsp;</td>
141
+ <td bgcolor="#EEEEFF" class="NavBarCell1"> <a href="help-doc.html"><font class="NavBarFont1"><b>Help</b></font></a>&nbsp;</td>
142
+ </tr>
143
+ </table>
144
+ </td>
145
+ <td bgcolor="#EEEEFF" align="right" valign="top"><em>
146
+ <b>XPCOMCore</b></em>
147
+ </td>
148
+ </tr>
149
+
150
+ <tr>
151
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
152
+ &nbsp;PREV&nbsp;
153
+ &nbsp;NEXT</font></td>
154
+ <td bgcolor="white" class="NavBarCell2"><font size="-2">
155
+ <a href="index.html" target="_top"><b>FRAMES</b></a> &nbsp;
156
+ &nbsp;<a href="overview-summary.html" target="_top"><b>NO FRAMES</b></a>
157
+ &nbsp;&nbsp;
158
+ <script>
159
+ <!--
160
+ if(window==top) {
161
+ document.writeln('<A HREF="allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');
162
+ }
163
+ //-->
164
+ </script>
165
+ <noscript>
166
+ <a href="allclasses-noframe.html" target=""><b>All Classes</b></a>
167
+ </noscript>
168
+ </font></td>
169
+ </tr>
170
+ </table>
171
+ <!-- =========== END OF NAVBAR =========== -->
172
+
173
+ <hr>
174
+ <font size="-1">
175
+
176
+ </font>
177
+ <div class="jsdoc_ctime">Documentation generated by <a href="http://jsdoc.sourceforge.net/" target="_parent">JSDoc</a> on Mon Sep 14 12:39:13 2009</div>
178
+ </body>
179
+ </html>