NoScript related error message in Terminal only

Bug reports and enhancement requests
Post Reply
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

NoScript related error message in Terminal only

Post 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?
Last edited by barbaz on Thu Apr 28, 2016 2:24 am, edited 1 time in total.
Reason: clarify topic title from "Error in Terminal in SeaMonkey Nightly"
*Always* check the changelogs BEFORE updating that important software!
-
barbaz
Senior Member
Posts: 11109
Joined: Sat Aug 03, 2013 5:45 pm

Re: Error in Terminal in SeaMonkey Nightly

Post 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"?)
*Always* check the changelogs BEFORE updating that important software!
-
Post Reply