1 The following are examples of the results of running js_objnew.d.
3 It reports on the class type of new objects created.
5 Here we can see it running on the program Code/JavaScript/func_clock.html.
8 Tracing... Hit Ctrl-C to end.
11 func_clock.html Date 2
13 The results are very simple, func_clock.html caused two new objects to be
14 created, both of type 'Date'.
17 Here is a more complicated example, running on the program
18 Code/JavaScript/func_slow.html, with the results of that plus JavaScript caused
19 by hitting reload on the browser.
23 Tracing... Hit Ctrl-C to end.
27 <null> CSSStyleDeclaration 1
28 <null> Global Scope Polluter 1
29 <null> HTMLBodyElement 1
31 <null> HTMLHtmlElement 1
33 <null> StyleSheetList 1
34 <null> TreeSelection 1
36 <null> XULCommandDispatcher 1
37 <null> chrome://global/content/bindings/popup.xml#popup 8c35c92 1
38 <null> chrome://global/content/bindings/popup.xml#popup 8fb299a 1
39 <null> chrome://global/content/bindings/scrollbar.xml#scrollbar 8fb2ea2 1
40 <null> nsXPCComponents_Classes 1
41 <null> xpcTempGlobalClass 1
42 autocomplete.xml Object 1
45 browser.js XPC_WN_NoMods_Proto_JSClass 1
48 firebug.js Constructor 1
51 firebug.js XPC_WN_ModsAllowed_Proto_JSClass 1
52 func_slow.html Function 1
54 preferences.js nsJSCID 1
55 tabbrowser.xml Array 1
56 tabbrowser.xml String 1
57 webdeveloper.js Array 1
58 webdeveloper.js String 1
65 <null> PageTransitionEvent 2
66 autocomplete.xml Function 2
67 firebug.js XPC_WN_NoMods_Proto_JSClass 2
68 reporterOverlay.js Function 2
71 <null> DOM Constructor.prototype 3
73 <null> XPC_WN_NoMods_Proto_JSClass 3
74 <null> nsXPCComponents 3
75 globalOverlay.js Function 3
76 scrollbar.xml String 3
80 func_clock.html Date 4
81 webdeveloper.js Function 4
82 <null> XPCNativeWrapper 5
85 tabbrowser.xml Function 7
86 <null> XPC_WN_ModsAllowed_Proto_JSClass 8
88 browser.xml Function 9
89 firebug.js Function 10
91 <null> XPCWrappedNative_NoHelper 13
92 <null> KeyboardEvent 14
95 browser.js Function 33
96 consoleAPI.js Function 33
98 scrollbar.xml Function 61