[tor-bugs] #25750 [Applications/Tor Launcher]: update Tor Launcher for ESR 60
Tor Bug Tracker & Wiki
blackhole at torproject.org
Mon May 21 19:05:09 UTC 2018
#25750: update Tor Launcher for ESR 60
--------------------------------------------+------------------------------
Reporter: mcs | Owner: brade
Type: defect | Status:
| needs_revision
Priority: Very High | Milestone:
Component: Applications/Tor Launcher | Version:
Severity: Normal | Resolution:
Keywords: ff60-esr, TorBrowserTeam201805 | Actual Points:
Parent ID: | Points:
Reviewer: | Sponsor:
--------------------------------------------+------------------------------
Comment (by gk):
Replying to [comment:35 sysrqb]:
> Replying to [comment:33 gk]:
> > commit 2e1e760a8393de281318e97ef44b2e89ba67879c
> > "Gecko now requires "0o"-prefixed octal literals" <- Are you sure
about that? Yes, the warning shows up in the browser console but the bug
you are citing is already fixed in Firefox 48, yet Tor Browser 7 does not
show the warning. Fixing the octals is good, though. I hunted a bit but
finding the actual bug behind this change seems a bit tricky. I think we
could just say "Fix deprecated octal literals" in the commit message and
move on.
>
> The runtime now throws a syntax error:
>
> {{{
> JavaScript error:
jar:file:///home/user/firefox/TorBrowser/Data/Browser/profile.default/extensions
> /tor-launcher at torproject.org.xpi!/components/tl-process.js, line 1003:
SyntaxError: "0"-prefixed octal
> literals and octal escape sequences are deprecated; for octal literals
use the "0o" prefix instead
> }}}
>
> But, I see 52ESR should throw the same error at runtime, so I'm not sure
why TorLauncher and TorButton currently work.
I would not worry too much about that as long as the commit message
reflects what we know. (Although I can feel the urge to find out what's
up) :)
> > commit 039bd44ce1a65bbc7bcacfa7a6b114b744a84b8f
> >
> > s/var loader/let loader/
> > {{{
> > + TorLauncherLogger.log(5,"Ignoring invalid pref ending with a
period: '" +
> > }}}
> > Whitspace between "," and "\"".
> >
>
> I did this so the line length is less than 80 chars. If you prefer
adding the space then we can move the format string onto the next line.
Aha, I think we should have the same spacing requirements for all code and
use a new line if that's indeed needed.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/25750#comment:36>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list