[tbb-bugs] #22457 [Applications/Tor Browser]: Line wrapping and syntax highlighting do not work on view-source pages (was: Line wrapping and syntax highlighting do not work in non-e10s-mode on view-source pages)

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Jun 1 09:36:58 UTC 2017


#22457: Line wrapping and syntax highlighting do not work on view-source pages
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  tbb-
                                                 |  team
     Type:  defect                               |         Status:
                                                 |  needs_review
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-regression, tbb-6.5-issues,      |  Actual Points:
  TorBrowserTeam201705R                          |
Parent ID:                                       |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------
Changes (by gk):

 * keywords:  tbb-regression, tbb-6.5-issues, TorBrowserTeam201705 => tbb-
     regression, tbb-6.5-issues, TorBrowserTeam201705R
 * status:  new => needs_review


Old description:

> While the switch to multiprocess mode solves the linewrapping issue
> (#22440) on view-source pages for the vast majority of our users, those
> that don't have that mode activated are still affected.

New description:

 https://blog.torproject.org/comment/241854#comment-241854 pointed out that
 view-source pages are broken wrt line wrapping. Additionally, it turns our
 that syntax highlighting is affected as well. This is a regression caused
 by #8725.

--

Comment:

 Replying to [comment:7 gk]:
 > Replying to [comment:5 gk]:
 > > I think I have a better fix for that: view-source should not be
 available anymore in esr52, so we can allow it unconditionally I think.
 >
 > On second thought that might not help much as the blocked CSS is the
 problem.

 But we can work around that using `aRequestOrigin`. See `bug_22457_v2` ()
 for a possible fix that avoids the plaform fingerprinting. Note: For
 testing purposes you need either disabled e10s or apply the patch on top
 of the one in #22459.

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


More information about the tbb-bugs mailing list