[tbb-bugs] #23747 [Applications/Tor Browser]: "Temporarily allow all this page" breaks JS on all other tabs

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 13 14:15:11 UTC 2017


#23747: "Temporarily allow all this page" breaks JS on all other tabs
--------------------------------------+--------------------------------
 Reporter:  cypherpunks               |          Owner:  tbb-team
     Type:  defect                    |         Status:  needs_revision
 Priority:  High                      |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Major                     |     Resolution:
 Keywords:  noscript                  |  Actual Points:
Parent ID:                            |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------------

Comment (by ma1):

 Replying to [comment:8 cypherpunks]:



 > > No. It turns out temporarily allowed page wasn't reloaded at that
 moment (a bug too), and this is critical for testing this issue. Reloading
 of the allowed page leads to JS breakage on other tabs with rc7 and after
 restart too.

 It's not what I can see here (BTW, please switch to
 [https://noscript.net/getit#devel rc8], just released with more lifecycle-
 related fixes).

 My test, meant to exclude "confounding factors":

  1. Install NoScript 5.1.2rc8 over a "stock" Tor Browser, set the Security
 Slider to "High" and restart the browser
  1. Open https://maone.net/ in a new tab
  1. Open https://noscript.net/ in a new tab, then on this tab use
 "Temporarily allow all this page"
  1. With this tab still active, open a Scratchpad (shift+F4) and run the
 following scriptlet:
 {{{
  document.body.innerHTML=`<button onclick="alert('JS
 Active')">test</button>`
 }}}
 This will make a [Test] button appear on the noscript.net page: if you
 click, a "JS Active" alert should be shown as long as Javascript is
 enabled there
 5. Go back to the maone.net tab, and use "Temporarily allow all". Watch
 the page autoreload. You can also "Forbid maone.net" and repeat as many
 time as you want.
 6. Switch to the noscript.net tab and hit the button to verify Javascript
 is still enabled

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


More information about the tbb-bugs mailing list