home *** CD-ROM | disk | FTP | other *** search
MacBinary | 2003-06-30 | 4.6 KB | [TEXT/CWIE] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Janne Salmijarvi Optimizer (music/janneSalmijarviOptimizer)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, Mon Jun 30 01:48:18 2003, modified Mon Jun 30 01:48:18 2003, creator 'CWIE', type ASCII, 4017 bytes "jsconsole-clhandler.js" , at 0x1031 417 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [CWIE] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 16 6a 73 63 6f 6e 73 | 6f 6c 65 2d 63 6c 68 61 |..jscons|ole-clha|
|00000010| 6e 64 6c 65 72 2e 6a 73 | 00 00 00 00 00 00 00 00 |ndler.js|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 57 49 | 45 00 00 00 00 00 00 00 |.TEXTCWI|E.......|
|00000050| 00 00 00 00 00 0f b1 00 | 00 01 a1 bb 25 7f a2 bb |........|....%...|
|00000060| 25 7f a2 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |%.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 ba d2 00 00 |........|........|
|00000080| 2f 2a 20 2d 2a 2d 20 4d | 6f 64 65 3a 20 43 2b 2b |/* -*- M|ode: C++|
|00000090| 3b 20 74 61 62 2d 77 69 | 64 74 68 3a 20 38 3b 20 |; tab-wi|dth: 8; |
|000000a0| 69 6e 64 65 6e 74 2d 74 | 61 62 73 2d 6d 6f 64 65 |indent-t|abs-mode|
|000000b0| 3a 20 6e 69 6c 3b 20 63 | 2d 62 61 73 69 63 2d 6f |: nil; c|-basic-o|
|000000c0| 66 66 73 65 74 3a 20 34 | 20 2d 2a 2d 0d 20 2a 20 |ffset: 4| -*-. * |
|000000d0| 54 68 65 20 63 6f 6e 74 | 65 6e 74 73 20 6f 66 20 |The cont|ents of |
|000000e0| 74 68 69 73 20 66 69 6c | 65 20 61 72 65 20 73 75 |this fil|e are su|
|000000f0| 62 6a 65 63 74 20 74 6f | 20 74 68 65 20 4d 6f 7a |bject to| the Moz|
|00000100| 69 6c 6c 61 20 50 75 62 | 6c 69 63 0d 20 2a 20 4c |illa Pub|lic. * L|
|00000110| 69 63 65 6e 73 65 20 56 | 65 72 73 69 6f 6e 20 31 |icense V|ersion 1|
|00000120| 2e 31 20 28 74 68 65 20 | 22 4c 69 63 65 6e 73 65 |.1 (the |"License|
|00000130| 22 29 3b 20 79 6f 75 20 | 6d 61 79 20 6e 6f 74 20 |"); you |may not |
|00000140| 75 73 65 20 74 68 69 73 | 20 66 69 6c 65 0d 20 2a |use this| file. *|
|00000150| 20 65 78 63 65 70 74 20 | 69 6e 20 63 6f 6d 70 6c | except |in compl|
|00000160| 69 61 6e 63 65 20 77 69 | 74 68 20 74 68 65 20 4c |iance wi|th the L|
|00000170| 69 63 65 6e 73 65 2e 20 | 59 6f 75 20 6d 61 79 20 |icense. |You may |
|00000180| 6f 62 74 61 69 6e 20 61 | 20 63 6f 70 79 20 6f 66 |obtain a| copy of|
|00000190| 0d 20 2a 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 |. * the |License |
|000001a0| 61 74 20 68 74 74 70 3a | 2f 2f 77 77 77 2e 6d 6f |at http:|//www.mo|
|000001b0| 7a 69 6c 6c 61 2e 6f 72 | 67 2f 4d 50 4c 2f 0d 20 |zilla.or|g/MPL/. |
|000001c0| 2a 20 0d 20 2a 20 53 6f | 66 74 77 61 72 65 20 64 |* . * So|ftware d|
|000001d0| 69 73 74 72 69 62 75 74 | 65 64 20 75 6e 64 65 72 |istribut|ed under|
|000001e0| 20 74 68 65 20 4c 69 63 | 65 6e 73 65 20 69 73 20 | the Lic|ense is |
|000001f0| 64 69 73 74 72 69 62 75 | 74 65 64 20 6f 6e 20 61 |distribu|ted on a|
|00000200| 6e 20 22 41 53 0d 20 2a | 20 49 53 22 20 62 61 73 |n "AS. *| IS" bas|
|00000210| 69 73 2c 20 57 49 54 48 | 4f 55 54 20 57 41 52 52 |is, WITH|OUT WARR|
|00000220| 41 4e 54 59 20 4f 46 20 | 41 4e 59 20 4b 49 4e 44 |ANTY OF |ANY KIND|
|00000230| 2c 20 65 69 74 68 65 72 | 20 65 78 70 72 65 73 73 |, either| express|
|00000240| 20 6f 72 0d 20 2a 20 69 | 6d 70 6c 69 65 64 2e 20 | or. * i|mplied. |
|00000250| 53 65 65 20 74 68 65 20 | 4c 69 63 65 6e 73 65 20 |See the |License |
|00000260| 66 6f 72 20 74 68 65 20 | 73 70 65 63 69 66 69 63 |for the |specific|
|00000270| 20 6c 61 6e 67 75 61 67 | 65 20 67 6f 76 65 72 6e | languag|e govern|
|00000280| 69 6e 67 0d 20 2a 20 72 | 69 67 68 74 73 20 61 6e |ing. * r|ights an|
|00000290| 64 20 6c 69 6d 69 74 61 | 74 69 6f 6e 73 20 75 6e |d limita|tions un|
|000002a0| 64 65 72 20 74 68 65 20 | 4c 69 63 65 6e 73 65 2e |der the |License.|
|000002b0| 0d 20 2a 20 0d 20 2a 20 | 54 68 65 20 4f 72 69 67 |. * . * |The Orig|
|000002c0| 69 6e 61 6c 20 43 6f 64 | 65 20 69 73 20 6d 6f 7a |inal Cod|e is moz|
|000002d0| 69 6c 6c 61 2e 6f 72 67 | 20 63 6f 64 65 2e 0d 20 |illa.org| code.. |
|000002e0| 2a 20 0d 20 2a 20 54 68 | 65 20 49 6e 69 74 69 61 |* . * Th|e Initia|
|000002f0| 6c 20 44 65 76 65 6c 6f | 70 65 72 20 6f 66 20 74 |l Develo|per of t|
|00000300| 68 65 20 4f 72 69 67 69 | 6e 61 6c 20 43 6f 64 65 |he Origi|nal Code|
|00000310| 20 69 73 20 4e 65 74 73 | 63 61 70 65 0d 20 2a 20 | is Nets|cape. * |
|00000320| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 73 20 43 |Communic|ations C|
|00000330| 6f 72 70 6f 72 61 74 69 | 6f 6e 2e 20 20 50 6f 72 |orporati|on. Por|
|00000340| 74 69 6f 6e 73 20 63 72 | 65 61 74 65 64 20 62 79 |tions cr|eated by|
|00000350| 20 4e 65 74 73 63 61 70 | 65 20 61 72 65 0d 20 2a | Netscap|e are. *|
|00000360| 20 43 6f 70 79 72 69 67 | 68 74 20 28 43 29 20 31 | Copyrig|ht (C) 1|
|00000370| 39 39 39 20 4e 65 74 73 | 63 61 70 65 20 43 6f 6d |999 Nets|cape Com|
|00000380| 6d 75 6e 69 63 61 74 69 | 6f 6e 73 20 43 6f 72 70 |municati|ons Corp|
|00000390| 6f 72 61 74 69 6f 6e 2e | 20 20 41 6c 6c 0d 20 2a |oration.| All. *|
|000003a0| 20 52 69 67 68 74 73 20 | 52 65 73 65 72 76 65 64 | Rights |Reserved|
|000003b0| 2e 0d 20 2a 20 0d 20 2a | 20 43 6f 6e 74 72 69 62 |.. * . *| Contrib|
|000003c0| 75 74 6f 72 28 73 29 3a | 20 4d 61 72 74 69 6a 6e |utor(s):| Martijn|
|000003d0| 20 50 69 65 74 65 72 73 | 20 3c 6d 6a 40 64 69 67 | Pieters| <mj@dig|
|000003e0| 69 63 6f 6f 6c 2e 63 6f | 6d 3e 0d 20 2a 2f 0d 0d |icool.co|m>. */..|
|000003f0| 2f 2a 0d 20 2a 20 2d 6a | 73 63 6f 6e 73 6f 6c 65 |/*. * -j|sconsole|
|00000400| 20 63 6f 6d 6d 61 6e 64 | 6c 69 6e 65 20 68 61 6e | command|line han|
|00000410| 64 6c 65 72 3b 20 73 74 | 61 72 74 73 20 75 70 20 |dler; st|arts up |
|00000420| 74 68 65 20 4a 61 76 61 | 53 63 72 69 70 74 20 63 |the Java|Script c|
|00000430| 6f 6e 73 6f 6c 65 2e 0d | 20 2a 2f 0d 0d 2f 2a 0d |onsole..| */../*.|
|00000440| 20 2a 20 43 6f 6e 73 74 | 61 6e 74 73 0d 20 2a 2f | * Const|ants. */|
|00000450| 0d 0d 63 6f 6e 73 74 20 | 4a 53 43 4f 4e 53 4f 4c |..const |JSCONSOL|
|00000460| 45 48 41 4e 44 4c 45 52 | 5f 43 4f 4e 54 52 41 43 |EHANDLER|_CONTRAC|
|00000470| 54 49 44 20 3d 0d 20 20 | 20 20 22 40 6d 6f 7a 69 |TID =. | "@mozi|
|00000480| 6c 6c 61 2e 6f 72 67 2f | 63 6f 6d 6d 61 6e 64 6c |lla.org/|commandl|
|00000490| 69 6e 65 68 61 6e 64 6c | 65 72 2f 67 65 6e 65 72 |inehandl|er/gener|
|000004a0| 61 6c 2d 73 74 61 72 74 | 75 70 3b 31 3f 74 79 70 |al-start|up;1?typ|
|000004b0| 65 3d 6a 73 63 6f 6e 73 | 6f 6c 65 22 3b 0d 0d 63 |e=jscons|ole";..c|
|000004c0| 6f 6e 73 74 20 4a 53 43 | 4f 4e 53 4f 4c 45 48 41 |onst JSC|ONSOLEHA|
|000004d0| 4e 44 4c 45 52 5f 43 49 | 44 20 3d 20 0d 20 20 20 |NDLER_CI|D = . |
|000004e0| 20 43 6f 6d 70 6f 6e 65 | 6e 74 73 2e 49 44 28 27 | Compone|nts.ID('|
|000004f0| 7b 31 36 39 38 65 66 31 | 38 2d 63 31 32 38 2d 34 |{1698ef1|8-c128-4|
|00000500| 31 61 31 2d 62 34 64 30 | 2d 37 66 39 61 63 64 32 |1a1-b4d0|-7f9acd2|
|00000510| 61 65 38 36 63 7d 27 29 | 3b 0d 0d 2f 2a 0d 20 2a |ae86c}')|;../*. *|
|00000520| 20 43 6c 61 73 73 65 73 | 0d 20 2a 2f 0d 0d 2f 2a | Classes|. */../*|
|00000530| 20 6a 73 43 6f 6e 73 6f | 6c 65 48 61 6e 64 6c 65 | jsConso|leHandle|
|00000540| 72 20 63 6c 61 73 73 20 | 63 6f 6e 73 74 72 75 63 |r class |construc|
|00000550| 74 6f 72 20 2a 2f 0d 66 | 75 6e 63 74 69 6f 6e 20 |tor */.f|unction |
|00000560| 6a 73 43 6f 6e 73 6f 6c | 65 48 61 6e 64 6c 65 72 |jsConsol|eHandler|
|00000570| 28 29 20 7b 7d 0d 0d 2f | 2a 20 6a 73 43 6f 6e 73 |() {}../|* jsCons|
|00000580| 6f 6c 65 48 61 6e 64 6c | 65 72 20 63 6c 61 73 73 |oleHandl|er class|
|00000590| 20 64 65 66 20 2a 2f 0d | 6a 73 43 6f 6e 73 6f 6c | def */.|jsConsol|
|000005a0| 65 48 61 6e 64 6c 65 72 | 2e 70 72 6f 74 6f 74 79 |eHandler|.prototy|
|000005b0| 70 65 20 3d 20 7b 0d 20 | 20 20 20 63 6f 6d 6d 61 |pe = {. | comma|
|000005c0| 6e 64 4c 69 6e 65 41 72 | 67 75 6d 65 6e 74 3a 20 |ndLineAr|gument: |
|000005d0| 27 2d 6a 73 63 6f 6e 73 | 6f 6c 65 27 2c 0d 20 20 |'-jscons|ole',. |
|000005e0| 20 20 70 72 65 66 4e 61 | 6d 65 46 6f 72 53 74 61 | prefNa|meForSta|
|000005f0| 72 74 75 70 3a 20 27 67 | 65 6e 65 72 61 6c 2e 73 |rtup: 'g|eneral.s|
|00000600| 74 61 72 74 75 70 2e 6a | 73 63 6f 6e 73 6f 6c 65 |tartup.j|sconsole|
|00000610| 27 2c 0d 20 20 20 20 63 | 68 72 6f 6d 65 55 72 6c |',. c|hromeUrl|
|00000620| 46 6f 72 54 61 73 6b 3a | 20 27 63 68 72 6f 6d 65 |ForTask:| 'chrome|
|00000630| 3a 2f 2f 67 6c 6f 62 61 | 6c 2f 63 6f 6e 74 65 6e |://globa|l/conten|
|00000640| 74 2f 63 6f 6e 73 6f 6c | 65 2e 78 75 6c 27 2c 0d |t/consol|e.xul',.|
|00000650| 20 20 20 20 68 65 6c 70 | 54 65 78 74 3a 20 27 53 | help|Text: 'S|
|00000660| 74 61 72 74 20 77 69 74 | 68 20 4a 61 76 61 73 63 |tart wit|h Javasc|
|00000670| 72 69 70 74 20 43 6f 6e | 73 6f 6c 65 27 2c 0d 20 |ript Con|sole',. |
|00000680| 20 20 20 68 61 6e 64 6c | 65 73 41 72 67 73 3a 20 | handl|esArgs: |
|00000690| 66 61 6c 73 65 2c 0d 20 | 20 20 20 64 65 66 61 75 |false,. | defau|
|000006a0| 6c 74 41 72 67 73 3a 20 | 6e 75 6c 6c 2c 0d 20 20 |ltArgs: |null,. |
|000006b0| 20 20 6f 70 65 6e 57 69 | 6e 64 6f 77 57 69 74 68 | openWi|ndowWith|
|000006c0| 41 72 67 73 3a 20 66 61 | 6c 73 65 0d 7d 3b 0d 0d |Args: fa|lse.};..|
|000006d0| 2f 2a 0d 20 2a 20 4f 62 | 6a 65 63 74 73 0d 20 2a |/*. * Ob|jects. *|
|000006e0| 2f 0d 0d 2f 2a 20 6a 73 | 43 6f 6e 73 6f 6c 65 48 |/../* js|ConsoleH|
|000006f0| 61 6e 64 6c 65 72 20 4d | 6f 64 75 6c 65 20 28 66 |andler M|odule (f|
|00000700| 6f 72 20 58 50 43 4f 4d | 20 72 65 67 69 73 74 72 |or XPCOM| registr|
|00000710| 61 74 69 6f 6e 29 20 2a | 2f 0d 76 61 72 20 6a 73 |ation) *|/.var js|
|00000720| 43 6f 6e 73 6f 6c 65 48 | 61 6e 64 6c 65 72 4d 6f |ConsoleH|andlerMo|
|00000730| 64 75 6c 65 20 3d 20 7b | 0d 20 20 20 20 72 65 67 |dule = {|. reg|
|00000740| 69 73 74 65 72 53 65 6c | 66 3a 20 66 75 6e 63 74 |isterSel|f: funct|
|00000750| 69 6f 6e 28 63 6f 6d 70 | 4d 67 72 2c 20 66 69 6c |ion(comp|Mgr, fil|
|00000760| 65 53 70 65 63 2c 20 6c | 6f 63 61 74 69 6f 6e 2c |eSpec, l|ocation,|
|00000770| 20 74 79 70 65 29 20 7b | 0d 20 20 20 20 20 20 20 | type) {|. |
|00000780| 20 63 6f 6d 70 4d 67 72 | 20 3d 20 63 6f 6d 70 4d | compMgr| = compM|
|00000790| 67 72 2e 51 75 65 72 79 | 49 6e 74 65 72 66 61 63 |gr.Query|Interfac|
|000007a0| 65 28 43 6f 6d 70 6f 6e | 65 6e 74 73 2e 69 6e 74 |e(Compon|ents.int|
|000007b0| 65 72 66 61 63 65 73 2e | 6e 73 49 43 6f 6d 70 6f |erfaces.|nsICompo|
|000007c0| 6e 65 6e 74 52 65 67 69 | 73 74 72 61 72 29 3b 0d |nentRegi|strar);.|
|000007d0| 0d 20 20 20 20 20 20 20 | 20 63 6f 6d 70 4d 67 72 |. | compMgr|
|000007e0| 2e 72 65 67 69 73 74 65 | 72 46 61 63 74 6f 72 79 |.registe|rFactory|
|000007f0| 4c 6f 63 61 74 69 6f 6e | 28 4a 53 43 4f 4e 53 4f |Location|(JSCONSO|
|00000800| 4c 45 48 41 4e 44 4c 45 | 52 5f 43 49 44 2c 20 0d |LEHANDLE|R_CID, .|
|00000810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000830| 20 20 20 20 20 20 20 20 | 27 4a 53 20 43 6f 6e 73 | |'JS Cons|
|00000840| 6f 6c 65 20 43 6f 6d 6d | 61 6e 64 6c 69 6e 65 20 |ole Comm|andline |
|00000850| 48 61 6e 64 6c 65 72 20 | 63 6f 6d 70 6f 6e 65 6e |Handler |componen|
|00000860| 74 27 2c 0d 20 20 20 20 | 20 20 20 20 20 20 20 20 |t',. | |
|00000870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000880| 20 20 20 20 20 20 20 20 | 20 20 20 20 4a 53 43 4f | | JSCO|
|00000890| 4e 53 4f 4c 45 48 41 4e | 44 4c 45 52 5f 43 4f 4e |NSOLEHAN|DLER_CON|
|000008a0| 54 52 41 43 54 49 44 2c | 20 0d 20 20 20 20 20 20 |TRACTID,| . |
|000008b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008d0| 20 20 66 69 6c 65 53 70 | 65 63 2c 0d 20 20 20 20 | fileSp|ec,. |
|000008e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000900| 20 20 20 20 6c 6f 63 61 | 74 69 6f 6e 2c 20 0d 20 | loca|tion, . |
|00000910| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000920| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000930| 20 20 20 20 20 20 20 74 | 79 70 65 29 3b 0d 20 20 | t|ype);. |
|00000940| 20 20 20 20 20 20 76 61 | 72 20 63 61 74 6d 61 6e | va|r catman|
|00000950| 20 3d 20 43 6f 6d 70 6f | 6e 65 6e 74 73 2e 63 6c | = Compo|nents.cl|
|00000960| 61 73 73 65 73 5b 22 40 | 6d 6f 7a 69 6c 6c 61 2e |asses["@|mozilla.|
|00000970| 6f 72 67 2f 63 61 74 65 | 67 6f 72 79 6d 61 6e 61 |org/cate|gorymana|
|00000980| 67 65 72 3b 31 22 5d 0d | 20 20 20 20 20 20 20 20 |ger;1"].| |
|00000990| 20 20 20 20 2e 67 65 74 | 53 65 72 76 69 63 65 28 | .get|Service(|
|000009a0| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 69 6e 74 65 72 |Componen|ts.inter|
|000009b0| 66 61 63 65 73 2e 6e 73 | 49 43 61 74 65 67 6f 72 |faces.ns|ICategor|
|000009c0| 79 4d 61 6e 61 67 65 72 | 29 3b 0d 20 20 20 20 20 |yManager|);. |
|000009d0| 20 20 20 63 61 74 6d 61 | 6e 2e 61 64 64 43 61 74 | catma|n.addCat|
|000009e0| 65 67 6f 72 79 45 6e 74 | 72 79 28 22 63 6f 6d 6d |egoryEnt|ry("comm|
|000009f0| 61 6e 64 2d 6c 69 6e 65 | 2d 61 72 67 75 6d 65 6e |and-line|-argumen|
|00000a00| 74 2d 68 61 6e 64 6c 65 | 72 73 22 2c 20 22 6a 73 |t-handle|rs", "js|
|00000a10| 63 6f 6e 73 6f 6c 65 20 | 63 6f 6d 6d 61 6e 64 20 |console |command |
|00000a20| 6c 69 6e 65 20 68 61 6e | 64 6c 65 72 22 2c 0d 20 |line han|dler",. |
|00000a30| 20 20 20 20 20 20 20 20 | 20 20 20 4a 53 43 4f 4e | | JSCON|
|00000a40| 53 4f 4c 45 48 41 4e 44 | 4c 45 52 5f 43 4f 4e 54 |SOLEHAND|LER_CONT|
|00000a50| 52 41 43 54 49 44 2c 0d | 20 20 20 20 20 20 20 20 |RACTID,.| |
|00000a60| 20 20 20 20 74 72 75 65 | 2c 20 74 72 75 65 29 3b | true|, true);|
|00000a70| 0d 20 20 20 20 7d 2c 0d | 0d 20 20 20 20 75 6e 72 |. },.|. unr|
|00000a80| 65 67 69 73 74 65 72 53 | 65 6c 66 3a 20 66 75 6e |egisterS|elf: fun|
|00000a90| 63 74 69 6f 6e 28 63 6f | 6d 70 4d 67 72 2c 20 66 |ction(co|mpMgr, f|
|00000aa0| 69 6c 65 53 70 65 63 2c | 20 6c 6f 63 61 74 69 6f |ileSpec,| locatio|
|00000ab0| 6e 29 20 7b 0d 20 20 20 | 20 20 20 20 20 63 6f 6d |n) {. | com|
|00000ac0| 70 4d 67 72 20 3d 20 63 | 6f 6d 70 4d 67 72 2e 51 |pMgr = c|ompMgr.Q|
|00000ad0| 75 65 72 79 49 6e 74 65 | 72 66 61 63 65 28 43 6f |ueryInte|rface(Co|
|00000ae0| 6d 70 6f 6e 65 6e 74 73 | 2e 69 6e 74 65 72 66 61 |mponents|.interfa|
|00000af0| 63 65 73 2e 6e 73 49 43 | 6f 6d 70 6f 6e 65 6e 74 |ces.nsIC|omponent|
|00000b00| 52 65 67 69 73 74 72 61 | 72 29 3b 0d 20 20 20 20 |Registra|r);. |
|00000b10| 20 20 20 20 63 6f 6d 70 | 4d 67 72 2e 75 6e 72 65 | comp|Mgr.unre|
|00000b20| 67 69 73 74 65 72 46 61 | 63 74 6f 72 79 4c 6f 63 |gisterFa|ctoryLoc|
|00000b30| 61 74 69 6f 6e 28 4a 53 | 43 4f 4e 53 4f 4c 45 48 |ation(JS|CONSOLEH|
|00000b40| 41 4e 44 4c 45 52 5f 43 | 49 44 2c 20 66 69 6c 65 |ANDLER_C|ID, file|
|00000b50| 53 70 65 63 29 3b 0d 20 | 20 20 20 20 20 20 20 76 |Spec);. | v|
|00000b60| 61 72 20 63 61 74 6d 61 | 6e 20 3d 20 43 6f 6d 70 |ar catma|n = Comp|
|00000b70| 6f 6e 65 6e 74 73 2e 63 | 6c 61 73 73 65 73 5b 22 |onents.c|lasses["|
|00000b80| 40 6d 6f 7a 69 6c 6c 61 | 2e 6f 72 67 2f 63 61 74 |@mozilla|.org/cat|
|00000b90| 65 67 6f 72 79 6d 61 6e | 61 67 65 72 3b 31 22 5d |egoryman|ager;1"]|
|00000ba0| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 2e 67 65 |. | .ge|
|00000bb0| 74 53 65 72 76 69 63 65 | 28 43 6f 6d 70 6f 6e 65 |tService|(Compone|
|00000bc0| 6e 74 73 2e 69 6e 74 65 | 72 66 61 63 65 73 2e 6e |nts.inte|rfaces.n|
|00000bd0| 73 49 43 61 74 65 67 6f | 72 79 4d 61 6e 61 67 65 |sICatego|ryManage|
|00000be0| 72 29 3b 0d 20 20 20 20 | 20 20 20 20 63 61 74 6d |r);. | catm|
|00000bf0| 61 6e 2e 64 65 6c 65 74 | 65 43 61 74 65 67 6f 72 |an.delet|eCategor|
|00000c00| 79 45 6e 74 72 79 28 22 | 63 6f 6d 6d 61 6e 64 2d |yEntry("|command-|
|00000c10| 6c 69 6e 65 2d 61 72 67 | 75 6d 65 6e 74 2d 68 61 |line-arg|ument-ha|
|00000c20| 6e 64 6c 65 72 73 22 2c | 0d 20 20 20 20 20 20 20 |ndlers",|. |
|00000c30| 20 20 20 20 20 4a 53 43 | 4f 4e 53 4f 4c 45 48 41 | JSC|ONSOLEHA|
|00000c40| 4e 44 4c 45 52 5f 43 4f | 4e 54 52 41 43 54 49 44 |NDLER_CO|NTRACTID|
|00000c50| 2c 20 74 72 75 65 29 3b | 0d 20 20 20 20 7d 2c 0d |, true);|. },.|
|00000c60| 0d 20 20 20 20 67 65 74 | 43 6c 61 73 73 4f 62 6a |. get|ClassObj|
|00000c70| 65 63 74 3a 20 66 75 6e | 63 74 69 6f 6e 28 63 6f |ect: fun|ction(co|
|00000c80| 6d 70 4d 67 72 2c 20 63 | 69 64 2c 20 69 69 64 29 |mpMgr, c|id, iid)|
|00000c90| 20 7b 0d 20 20 20 20 20 | 20 20 20 69 66 20 28 21 | {. | if (!|
|00000ca0| 63 69 64 2e 65 71 75 61 | 6c 73 28 4a 53 43 4f 4e |cid.equa|ls(JSCON|
|00000cb0| 53 4f 4c 45 48 41 4e 44 | 4c 45 52 5f 43 49 44 29 |SOLEHAND|LER_CID)|
|00000cc0| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 74 68 |). | th|
|00000cd0| 72 6f 77 20 43 6f 6d 70 | 6f 6e 65 6e 74 73 2e 72 |row Comp|onents.r|
|00000ce0| 65 73 75 6c 74 73 2e 4e | 53 5f 45 52 52 4f 52 5f |esults.N|S_ERROR_|
|00000cf0| 4e 4f 5f 49 4e 54 45 52 | 46 41 43 45 3b 0d 0d 20 |NO_INTER|FACE;.. |
|00000d00| 20 20 20 20 20 20 20 69 | 66 20 28 21 69 69 64 2e | i|f (!iid.|
|00000d10| 65 71 75 61 6c 73 28 43 | 6f 6d 70 6f 6e 65 6e 74 |equals(C|omponent|
|00000d20| 73 2e 69 6e 74 65 72 66 | 61 63 65 73 2e 6e 73 49 |s.interf|aces.nsI|
|00000d30| 46 61 63 74 6f 72 79 29 | 29 0d 20 20 20 20 20 20 |Factory)|). |
|00000d40| 20 20 20 20 20 20 74 68 | 72 6f 77 20 43 6f 6d 70 | th|row Comp|
|00000d50| 6f 6e 65 6e 74 73 2e 72 | 65 73 75 6c 74 73 2e 4e |onents.r|esults.N|
|00000d60| 53 5f 45 52 52 4f 52 5f | 4e 4f 54 5f 49 4d 50 4c |S_ERROR_|NOT_IMPL|
|00000d70| 45 4d 45 4e 54 45 44 3b | 0d 0d 20 20 20 20 20 20 |EMENTED;|.. |
|00000d80| 20 20 72 65 74 75 72 6e | 20 6a 73 43 6f 6e 73 6f | return| jsConso|
|00000d90| 6c 65 48 61 6e 64 6c 65 | 72 46 61 63 74 6f 72 79 |leHandle|rFactory|
|00000da0| 3b 0d 20 20 20 20 7d 2c | 0d 0d 20 20 20 20 63 61 |;. },|.. ca|
|00000db0| 6e 55 6e 6c 6f 61 64 3a | 20 66 75 6e 63 74 69 6f |nUnload:| functio|
|00000dc0| 6e 28 63 6f 6d 70 4d 67 | 72 29 20 7b 20 72 65 74 |n(compMg|r) { ret|
|00000dd0| 75 72 6e 20 74 72 75 65 | 3b 20 7d 0d 7d 3b 0d 0d |urn true|; }.};..|
|00000de0| 2f 2a 20 6a 73 43 6f 6e | 73 6f 6c 65 48 61 6e 64 |/* jsCon|soleHand|
|00000df0| 6c 65 72 20 43 6c 61 73 | 73 20 46 61 63 74 6f 72 |ler Clas|s Factor|
|00000e00| 79 20 2a 2f 0d 76 61 72 | 20 6a 73 43 6f 6e 73 6f |y */.var| jsConso|
|00000e10| 6c 65 48 61 6e 64 6c 65 | 72 46 61 63 74 6f 72 79 |leHandle|rFactory|
|00000e20| 20 3d 20 7b 0d 20 20 20 | 20 63 72 65 61 74 65 49 | = {. | createI|
|00000e30| 6e 73 74 61 6e 63 65 3a | 20 66 75 6e 63 74 69 6f |nstance:| functio|
|00000e40| 6e 28 6f 75 74 65 72 2c | 20 69 69 64 29 20 7b 0d |n(outer,| iid) {.|
|00000e50| 20 20 20 20 20 20 20 20 | 69 66 20 28 6f 75 74 65 | |if (oute|
|00000e60| 72 20 21 3d 20 6e 75 6c | 6c 29 0d 20 20 20 20 20 |r != nul|l). |
|00000e70| 20 20 20 20 20 20 20 74 | 68 72 6f 77 20 43 6f 6d | t|hrow Com|
|00000e80| 70 6f 6e 65 6e 74 73 2e | 72 65 73 75 6c 74 73 2e |ponents.|results.|
|00000e90| 4e 53 5f 45 52 52 4f 52 | 5f 4e 4f 5f 41 47 47 52 |NS_ERROR|_NO_AGGR|
|00000ea0| 45 47 41 54 49 4f 4e 3b | 0d 20 20 20 20 0d 20 20 |EGATION;|. . |
|00000eb0| 20 20 20 20 20 20 69 66 | 20 28 21 69 69 64 2e 65 | if| (!iid.e|
|00000ec0| 71 75 61 6c 73 28 43 6f | 6d 70 6f 6e 65 6e 74 73 |quals(Co|mponents|
|00000ed0| 2e 69 6e 74 65 72 66 61 | 63 65 73 2e 6e 73 49 43 |.interfa|ces.nsIC|
|00000ee0| 6d 64 4c 69 6e 65 48 61 | 6e 64 6c 65 72 29 20 26 |mdLineHa|ndler) &|
|00000ef0| 26 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 21 69 |&. | !i|
|00000f00| 69 64 2e 65 71 75 61 6c | 73 28 43 6f 6d 70 6f 6e |id.equal|s(Compon|
|00000f10| 65 6e 74 73 2e 69 6e 74 | 65 72 66 61 63 65 73 2e |ents.int|erfaces.|
|00000f20| 6e 73 49 53 75 70 70 6f | 72 74 73 29 29 0d 20 20 |nsISuppo|rts)). |
|00000f30| 20 20 20 20 20 20 20 20 | 20 20 74 68 72 6f 77 20 | | throw |
|00000f40| 43 6f 6d 70 6f 6e 65 6e | 74 73 2e 72 65 73 75 6c |Componen|ts.resul|
|00000f50| 74 73 2e 4e 53 5f 45 52 | 52 4f 52 5f 49 4e 56 41 |ts.NS_ER|ROR_INVA|
|00000f60| 4c 49 44 5f 41 52 47 3b | 0d 0d 20 20 20 20 20 20 |LID_ARG;|.. |
|00000f70| 20 20 72 65 74 75 72 6e | 20 6e 65 77 20 6a 73 43 | return| new jsC|
|00000f80| 6f 6e 73 6f 6c 65 48 61 | 6e 64 6c 65 72 28 29 3b |onsoleHa|ndler();|
|00000f90| 0d 20 20 20 20 7d 0d 7d | 0d 0d 2f 2a 0d 20 2a 20 |. }.}|../*. * |
|00000fa0| 46 75 6e 63 74 69 6f 6e | 73 0d 20 2a 2f 0d 0d 2f |Function|s. */../|
|00000fb0| 2a 20 6d 6f 64 75 6c 65 | 20 69 6e 69 74 69 61 6c |* module| initial|
|00000fc0| 69 73 61 74 69 6f 6e 20 | 2a 2f 0d 66 75 6e 63 74 |isation |*/.funct|
|00000fd0| 69 6f 6e 20 4e 53 47 65 | 74 4d 6f 64 75 6c 65 28 |ion NSGe|tModule(|
|00000fe0| 63 6f 6d 4d 67 72 2c 20 | 66 69 6c 65 53 70 65 63 |comMgr, |fileSpec|
|00000ff0| 29 20 7b 20 72 65 74 75 | 72 6e 20 6a 73 43 6f 6e |) { retu|rn jsCon|
|00001000| 73 6f 6c 65 48 61 6e 64 | 6c 65 72 4d 6f 64 75 6c |soleHand|lerModul|
|00001010| 65 3b 20 7d 0d 0d 2f 2f | 20 76 69 6d 3a 73 77 3d |e; }..//| vim:sw=|
|00001020| 34 3a 73 72 3a 73 74 61 | 3a 65 74 3a 73 74 73 3a |4:sr:sta|:et:sts:|
|00001030| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001070| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001080| 00 00 01 00 00 00 01 60 | 00 00 00 60 00 00 00 41 |.......`|...`...A|
|00001090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001180| 00 00 00 5c 91 70 8a 3e | 3f e5 32 30 00 04 00 00 |...\.p.>|?.20....|
|00001190| 00 00 00 00 00 00 bb 25 | 39 52 bb 25 39 52 00 00 |.......%|9R.%9R..|
|000011a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 11 6b |........|.......k|
|000011b0| 61 69 65 25 6e 65 74 73 | 63 61 70 65 2e 63 6f 6d |aie%nets|cape.com|
|000011c0| 00 00 00 16 6a 73 63 6f | 6e 73 6f 6c 65 2d 63 6c |....jsco|nsole-cl|
|000011d0| 68 61 6e 64 6c 65 72 2e | 6a 73 00 00 00 00 00 00 |handler.|js......|
|000011e0| 00 00 01 00 00 00 01 60 | 00 00 00 60 00 00 00 41 |.......`|...`...A|
|000011f0| 00 0e 80 84 3c c8 00 00 | 00 1c 00 32 00 00 63 6b |....<...|...2..ck|
|00001200| 69 64 00 00 00 0a 00 80 | 00 00 00 00 00 00 01 3b |id......|.......;|
|00001210| 21 5c 0e 50 72 6f 6a 65 | 63 74 6f 72 20 44 61 74 |!\.Proje|ctor Dat|
|00001220| 61 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |a.......|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+