[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #13439 [Tor Browser]: Inspector raises the canvas prompt when hovering over images
#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs