[tor-bugs] #19251 [Applications/Tor Browser]: TorBrowser might want to have an error page specific to when .onion links fail

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Mar 11 22:34:01 UTC 2020


#19251: TorBrowser might want to have an error page specific to when .onion links
fail
--------------------------------------------+------------------------------
 Reporter:  cypherpunks                     |          Owner:  brade
     Type:  enhancement                     |         Status:  needs_review
 Priority:  Low                             |      Milestone:
Component:  Applications/Tor Browser        |        Version:
 Severity:  Normal                          |     Resolution:
 Keywords:  ux-team, TorBrowserTeam202003R  |  Actual Points:  6.7
Parent ID:  #30025                          |         Points:  6
 Reviewer:  acat,pospeselr                  |        Sponsor:
                                            |  Sponsor27-must
--------------------------------------------+------------------------------

Comment (by acat):

 The patches look good to me. Just a couple of nits for
 `onionNetError.jsm`:

 * Shouldn't `this._insertStylesheet` be after the `errPrefix` check? (so
 that the stylesheet is not added for non-onion errors).

 * Can't we just do `ld.textContent = longDescription.replace("%S",
 hexErr);` instead of using `innerHTML` (and remove the eslint-disable), or
 `longDescription` may contain HTML?

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


More information about the tor-bugs mailing list