Commit Graph
7 Commits
Author SHA1 Message Date
jband@netscape.com 2e04e1dd4e Landing big set of DOM and XPConnect changes:
DOM: getting rid of JS_GetContextPrivate wherever possible. Use static parent
links where we can. When we do need to find this info about the caller
we call a function that knows how to get that info rather than inline calls
to JS_GetContextPrivate. This is all required for calling DOM objects on
non-DOM JSContexts as we do via xpconnect.

XPConnect: basic refactoring work to disassociate wrappers from the JSContext
that was active when the wrapper was constructed. This allows for calling into
wrapped JS objects on the right JSContext and for proper grouping of wrapped
native objects so that they can share proto objects. This also allows for
better sharing of objects and lays the foundations for threadsafety and
interface flattening.

Also, xpconnect tests are reorganized and improved.

fixes bugs: 13419, 17736, 17746, 17952, 22086

r=vidur r=mccabe r=norris r=cbegle
a=chofmann
1999-12-18 20:29:29 +00:00
dmose@mozilla.org 796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
vidur@netscape.com eaf921dd22 Relative URLs specified for window.location.href are now resolved relative to the calling location. 1999-08-03 23:16:48 +00:00
vidur@netscape.com 232445df16 Added Option constructor and resultant nsIDOMOption interface 1999-05-04 20:47:00 +00:00
vidur@netscape.com 8dc8c648a8 Got rid of Construct method from nsIJSScriptObject interface. 1998-09-14 23:01:48 +00:00
vidur@netscape.com 81b2fa3fe3 New content code adjusts to getting script objects through a factory interface 1998-09-04 23:03:16 +00:00
vidur afe94115f0 Added autogeneration of XPCOM headers and JavaScript stub classes. Added better masking of JS-specific structures in generic interfaces. Creation of a scripting global object interface. 1998-06-23 18:43:06 +00:00