> From a chrome application in javascript, I am trying to use the screen
> capturer service:
> 
> var scService=XPCU.getService("@mozilla.org/inspector/screen-capturer;1",
> "inIScreenCapturer");
> 
> But this always returns null, although the screen capturing is present in
> inspector extension.

Looking at the DOMInspector source code:

    this.mScreenCap = XPCU.getService(
                "@mozilla.org/inspector/screen-capturer;1", 
                "inIScreenCapturer");
    if (this.mScreenCap)
      // do something
    else {
      // screen capturer may not be implemented on all 
      //platforms, so hide the fancy stuff
      document.getElementById("bxCaptureStuff").
        setAttribute("hidden", "true");      
    }
    
and its behavior at runtime, it seems that the screen capture feature is
not implemented on neither linux nor win32 platforms. Does anyone know if
there is a platform supporting the screen capturer ?

/mig

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to