[tbb-bugs] #13439 [Tor Browser]: Inspector raises the canvas prompt when hovering over images
Tor Bug Tracker & Wiki
blackhole at torproject.org
Tue Nov 18 04:24:40 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):
There was already a check for exempting `file://` URLs from canvas prompt
in [https://gitweb.torproject.org/tor-browser.git/blob/refs/heads/tor-
browser-31.2.0esr-4.5-1:/content/canvas/src/CanvasUtils.cpp#l68
`IsImageExtractionAllowed()`]. The above patch adds `resource://` URLs to
this exemption.
The patch should prevent prompts due to the Inspector and PDF.js, but I
haven't had the chance to test it.
I also agree that having this check as a separate function (e.g.
`IsURLExemptFromCanvas()`) is a better idea.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13439#comment:5>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tbb-bugs
mailing list