[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-bugs] #27427 [Applications/Tor Browser]: [PATCH] Fix NoScript IPC for about:blank by whitelisting messages



#27427: [PATCH] Fix NoScript IPC for about:blank by whitelisting messages
------------------------------------------+----------------------
     Reporter:  rustybird                 |      Owner:  tbb-team
         Type:  defect                    |     Status:  new
     Priority:  Immediate                 |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+----------------------
 {{{
 If about:blank is the homepage (or has been passed as a command line
 parameter), NoScript will send a message named "fetchChildPolicy"
 _before_ "started". Torbutton would then send its "updateSettings" too
 soon, resulting in the dreaded error "Could not establish connection.
 Receiving end does not exist" (see bug 26520).

 Fix this by whitelisting the relevant messages from NoScript: "started"
 and also "pageshow" for a slightly more graceful failure mode in case
 Torbutton somehow misses NoScript startup.
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27427>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs