[tor-bugs] #13439 [Tor Browser]: Inspector raises the canvas prompt when hovering over images

Tor Bug Tracker & Wiki blackhole at torproject.org
Wed Nov 19 18:49:02 UTC 2014


#13439: Inspector raises the canvas prompt when hovering over images
-----------------------------+-------------------------------------
     Reporter:  dcf          |      Owner:  tbb-team
         Type:  defect       |     Status:  new
     Priority:  minor        |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:  tbb-easy, tbb-usability
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+-------------------------------------

Comment (by gacar):

 I debugged a bit to check the values returned by the IsSystemPrincipal for
 dev tools and the PDF.js.

 I also checked whether nsContentUtils::IsCallerChrome could be useful
 here.

 ||Method/Context ||PDF.js ||Inspector ||
 ||`IsSystemPrincipal` ||False ||False ||
 ||`nsContentUtils::IsCallerChrome`||False || True ||

 So we could filter out Inspector prompts by using IsCallerChrome in
 addition to existing check with the IsSystemPrincipal.

 Not sure what do do with the PDF.js though.

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


More information about the tor-bugs mailing list