Mozilla

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • NS_ERROR_MODULE_XPCONNECT when returning js string

    6 answers - 355 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Hi
    I'm writing a nsIHttpAuthenticator as js component.
    My generateCredentials methos returns a string. (see
    )
    When it gets called here:
    #2180
    The rv is NS_ERRR_MDULE_XPCNNECT.
    How do I make this work?
    Gary
    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org
  • No.1 | | 272 bytes | |

    garyvdm (AT) gmail (DOT) com wrote:
    When it gets called here:
    #2180
    The rv is NS_ERRR_MDULE_XPCNNECT.
    That's not an error code though is rv really 18?
    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org
  • No.2 | | 483 bytes | |

    Christian Biesinger wrote:
    garyvdm (AT) gmail (DOT) com wrote:
    >When it gets called here:
    >#2180
    >>
    >>

    >The rv is NS_ERRR_MDULE_XPCNNECT.


    That's not an error code though is rv really 18?

    The rv was 2153185313, which I was told by this page
    was
    NS_ERRR_MDULE_XPCNNECT

    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org
  • No.3 | | 484 bytes | |

    Gary van der Merwe wrote:
    The rv was 2153185313, which I was told by this page
    was
    NS_ERRR_MDULE_XPCNNECT

    I think the script isn't complete. nsError.h told me that 0x80570000 is
    the base module, NS_ERRR_MDULE_XPCNNECT.
    nsIXPCConnect.idl then says that 0x21 = 33 =
    Is there anything on the JS
    console? Sounds like an error in your js file.

    Michiel

    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org
  • No.4 | | 647 bytes | |

    Michiel van Leeuwen wrote:
    Gary van der Merwe wrote:
    >The rv was 2153185313, which I was told by this page
    >was
    >NS_ERRR_MDULE_XPCNNECT


    I think the script isn't complete. nsError.h told me that 0x80570000 is
    the base module, NS_ERRR_MDULE_XPCNNECT.
    nsIXPCConnect.idl then says that 0x21 = 33 =
    Is there anything on the JS
    console? Sounds like an error in your js file.

    Michiel

    No errors in the JS console, and I have a dump just before the return,
    which happens.

    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org
  • No.5 | | 745 bytes | |

    Michiel van Leeuwen wrote:
    Gary van der Merwe wrote:
    >The rv was 2153185313, which I was told by this page
    >was
    >NS_ERRR_MDULE_XPCNNECT


    It gives the module in this case, and can't give a name (hence
    "<unknown>"), which is better than nothing. Don't read any more into
    that than that.

    The Code/Name are the complete error, and the Module/Severity/Number are
    the breakdown of the individual parts of the error only.

    I think the script isn't complete.

    It's generated from the source, which is a bloody nightmare to parse to
    find error code. :)

    I really should get around to re-writing the entire thing to work
    better, though.
  • No.6 | | 151 bytes | |

    This is working now - So I'm confused, but happy.
    dev-tech-xpcom mailing list
    dev-tech-xpcom (AT) lists (DOT) mozilla.org

Re: NS_ERROR_MODULE_XPCONNECT when returning js string


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
QUESTION ON "Mozilla"

EMSDN.COM