Page 1 of 1

NoScript related error message in Terminal only

Posted: Wed Jun 24, 2015 1:09 am
by barbaz

Code: Select all

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIURI.host]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: jar:file:///home/******/.mozilla/seamonkey/********.default/extensions/%7B73a6fe31-595d-460b-a920-fcc0f8843232%7D.xpi!/components/noscriptService.js :: AddressMatcher.prototype._networkTest :: line 580"  data: no]
Seeing that in the Terminal in my normal profile, Linux i686 on x86_64, SeaMonkey Nightly (built from c-c rev 3092759d5f48 / m-c rev be81b8d6fae9) after following the following steps:
1) Open about:buildconfig
2) Middle-click the mozilla-central revision link

And hg.mozilla.org is unusually slow to load, or so it seems...

No idea what it means or if it significant?

Re: Error in Terminal in SeaMonkey Nightly

Posted: Thu Apr 28, 2016 2:22 am
by barbaz
Seeing this again after a SeaMonkey upgrade (almost forgot this thread :oops: ). NoScript 2.9.0.11rc1. Same STR.

Relevant code:

Code: Select all

  _networkTest: function(uri, canDoDNS, allIPs) {
    var res = this.rx && this.rx.test(uri.spec || uri);
    if (res || !canDoDNS) return res;

    if (!uri.spec) {
      uri = IOS.newURI(uri, null, null);
    }
    try {
      var host = uri.host
      if (!host) return false;
      if (Network.isNet(host))
        return this.testIP(host);

      var dnsRecord = DNS.resolve(host);
      if (dnsRecord && dnsRecord.valid)
        return allIPs ? dnsRecord.entries.every(this.testIP, this)
                      : dnsRecord.entries.some(this.testIP, this);
    } catch(e) {
      dump(e + "\n");
    }
    return false;
  },
The line in question is "var host = uri.host"

Since Giorgio obviously expects that part of code might fail, I'm guessing this error is insignificant. (I would be curious what URI it's hanging up on though. Maybe "about:buildconfig"?)