Fonts Inspector triggers ClearClick

Bug reports and enhancement requests
Post Reply
Fanolian
Posts: 4
Joined: Tue Jan 24, 2012 12:39 pm

Fonts Inspector triggers ClearClick

Post by Fanolian »

User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20130731 Firefox/25.0
NoScript 2.6.6.9rc1

Steps to reproduce:
0. Install NoScript 2.6.6.9rc1 and leave settings as default in a new profile in Nightly.
1. Open Fonts Inspector (Ctrl-Shift-I, then navigate to Fonts in the right pane).
2. Randomly click/highlight some text in the pane, then quickly switch to another tab (Rules/Computed/Box Model).

Acutal Result:
ClearClick is triggered. In browser console I see a log message:
[NoScript ClearClick] Swallowed event mousedown on chrome://browser/content/devtools/inspector/inspector.xul (rapid fire from data: in 400ms)
or if I click within Fonts Inspector:
[NoScript ClearClick] Swallowed event mousedown on chrome://browser/content/devtools/fontinspector/font-inspector.xhtml (rapid fire from data: in 400ms)

Expected Result:
Same behaviour as other tabs in the pane. Either All or none trigger ClearClick.

Thanks in advanced.
Mozilla/5.0 (Windows NT 6.2; WOW64; rv:25.0) Gecko/20130731 Firefox/25.0
User avatar
Thrawn
Master Bug Buster
Posts: 3106
Joined: Mon Jan 16, 2012 3:46 am
Location: Australia
Contact:

Re: Fonts Inspector triggers ClearClick

Post by Thrawn »

This is one for Giorgio. Perhaps there shouldn't be clickjacking protection for chrome:// URLs.

ClearClick does look for rapid clicking, so probably the best workaround is to click a bit more slowly.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.

True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0
Post Reply