Questions tagged [xpcom]

XPCOM (Cross Platform Component Object Model) is a cross-platform component model from Mozilla. It is similar to Microsoft COM and CORBA.

XPCOM (Cross Platform Component Object Model) is a cross-platform component model from Mozilla. It is similar to Microsoft COM and CORBA.

It has multiple language bindings, allowing XPCOM components to be used and implemented in JavaScript, Java, and Python in addition to C++. Interfaces in XPCOM are defined in a dialect of IDL called XPIDL.

409 questions
0
votes
1 answer

Failure while calling nsIX509CertDB.nsIX509CertDB from command line

I'm trying to develop a FF extension that calls nsIX509CertDB.nsIX509CertDB. When calling this function from a xpcshell I alwas receive a error 0x80004005 (NS_ERROR_FAILURE). I suspect it to be failing since in a xpcshell environment I can not be…
David Feurle
  • 2,687
  • 22
  • 38
0
votes
1 answer

Standalone XULRunner Application ProgressListener

I'm developing a standalone XULRunner application, in which its important to give a user feedback on what is happening when a page is loading. My first implementation was guided by the MDN tutorial. However, this could only work with pages that I…
okello
  • 601
  • 10
  • 27
0
votes
1 answer

How to retrieve images (decoded if possible) present in a wepage using XPCOM

How to get all the images, after decoding if possible, on a webpage through XPCOM ? The image might be specified in HTML as a background url in some CSS property, inside img tag, or in any form that a web developer might have included. I tried…
Ankur
  • 3
  • 2
-1
votes
1 answer

SQLite from custom path

How can I select an SQLite DB from a custom path using XPCOM? I could already select the db and process it when it is inside the paths like ProfD or HomeDesk but I need to access it by its absolute file path.
Bijoy
  • 399
  • 2
  • 7
  • 15
1 2 3
27
28