Xpconnect

XPConnect (Cross Platform Connect) is a technology which enables simple interoperation between XPCOM and scripting programming language like JavaScript.

Object connection

XPConnect allows JavaScript objects to transparently access and manipulate XPCOM objects. It also enables JavaScript objects to present XPCOM compliant interfaces to be called by XPCOM objects. A main goal is that objects communicating from either side of an XPCOM style interface should not generally need to know or care about the implementation language of the object on the other side of the interface. XPConnect's primary reason for existence is to replace handwritten code used in places where native code needs to interact with JavaScript code. An example is the DOM module.

Security

Full privileges are only granted to scripts used in chrome directories. For remote HTML/XHTML/XUL documents, most XPCOM objects are not accessible by the scripts as they have limited privileges due to security reasons. Even if they are accessible (e.g. the XMLHttpRequest object), the usual security restrictions can also be found (e.g. cannot open URLs of other domains).

External links

 

<< PreviousWord BrowserNext >>
wcau tv
plone sprints
between staff
wpvi tv
latin poetry
hugh macdonald
wtxf tv
frv clupea
german tenth army
welding power supply
wgtw tv
liberty mutual
wpsg tv
flamen dialis
netware file system
manosque
servants' hall
german twelfth army
xiaoyun wang
solheim cup
german fourteenth army
taf
lou savarese
salvador larroca
eric larson
german fifteenth army
diagnosis murder
lori ann martino
jason fly
temp
scott vokey
steve willcott
hans reichenbach
peter mcquaid
list of swedish bands
list of norwegian bands
reg harper
agathangelos
steve fairbairn
list of danish bands
squatter (game)
water of leith, new zealand
mary crane
barnett formula