[tbb-bugs] #27536 [Applications/Tor Browser]: browser-child.js, line 359: NS_ERROR_NOT_AVAILABLE

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Sep 7 11:05:01 UTC 2018


#27536: browser-child.js, line 359: NS_ERROR_NOT_AVAILABLE
------------------------------------------+----------------------
     Reporter:  traumschule               |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 Same error as in #27291 but on debian buster 32bit instead of Windows.

 Appears opening new tabs:
 > JavaScript error: chrome://global/content/browser-child.js, line 359:
 NS_ERROR_NOT_AVAILABLE: Component returned failure code: 0x80040111
 (NS_ERROR_NOT_AVAILABLE) [nsIWebNavigation.loadURIWithOptions]

 Did not see it in the Browser Console of ff 60.2.0esr. There i only see
 > [NoScript] Cannot collect noscript activity data Error: Could not
 establish connection. Receiving end does not exist.
 > Stack trace:
 > send at moz-extension://cbbb5823-ce8f-4641-9fbe-
 7172852975b4/lib/Messages.js:43:22
 > Could not establish connection. Receiving end does not exist. send at moz-
 extension://cbbb5823-ce8f-4641-9fbe-7172852975b4/lib/Messages.js:43:22
 (which also appears in TB)

 = code

 {{{
 loadURI(uri, flags, referrer, referrerPolicy, postData, headers, baseURI,
 triggeringPrincipal) {
     if (AppConstants.MOZ_CRASHREPORTER && CrashReporter.enabled) {
       let annotation = uri;
       try {
         let url = Services.io.newURI(uri);
         // If the current URI contains a username/password, remove it.
         url = url.mutate()
                  .setUserPass("")
                  .finalize();
         annotation = url.spec;
       } catch (ex) { /* Ignore failures to parse and failures
                       on about: URIs. */ }
       CrashReporter.annotateCrashReport("URL", annotation);
     }
     if (referrer)
       referrer = Services.io.newURI(referrer);
     if (postData)
       postData = Utils.makeInputStream(postData);
     if (headers)
       headers = Utils.makeInputStream(headers);
     if (baseURI)
       baseURI = Services.io.newURI(baseURI);
     if (triggeringPrincipal)
       triggeringPrincipal =
 Utils.deserializePrincipal(triggeringPrincipal);
     this._wrapURIChangeCall(() => {
       return this.webNavigation.loadURIWithOptions(uri, flags, referrer,
 referrerPolicy,
                                                    postData, headers,
 baseURI, triggeringPrincipal);
     });
   },
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27536>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list