Closed Bug 1204278 Opened 9 years ago Closed 7 years ago

Links with href="#" in devtools (esp. Console) display tooltip of chrome:// url and open said url on middle-click

Categories

(DevTools :: Console, defect)

defect
Not set
normal

Tracking

(firefox43 affected)

RESOLVED WONTFIX
Tracking Status
firefox43 --- affected

People

(Reporter: arni2033, Unassigned)

References

()

Details

Attachments

(1 file)

STR: (Win7_64, Nightly 43, 32bit, ID 20150910030225, new profile, safe mode) 1. Open new tab, open Console (Ctrl+Shift+K), make sure it's NOT in separate window 2. Check "Security"->"Errors", uncheck everything else. 3. Paste "http://ok.ru/" into urlbar (without quotes) and press Enter 4. Find in console line that ends witsh "<unknown>" link 5. Middle-click that link Result: A new tab opens with url "chrome://browser/content/devtools/webconsole.xul#" Expectations: Nothing should happen. It shouldn't even display that tooltip on mouseover.
Hm, I think it's better to check "Security"->"Warnings" in Step 2 as well as "Errors"
Has STR: --- → yes
>>> My Info: Win7_64, Nightly 50, 32bit, ID 20160627030215 Update: 1) The issue is not about (unknown) links in console, obviously. It's about all links with href="#" in devtools (e.g. bug1193340). I filed this bug as is because I had no time to document all results 2) It's STILL reproducible on Nightly, if I disable e10s (link in comment 2). Given devtools work in parent process, my guess is that it happens because e10s currently disables some accessibility thingy, and we'll see the same bug in e10s mode once it's fixed to support accessibility. STR_2 (improved): 1. Launch latest Nightly, disable e10s 2. Open url [1] 3. Open console (docked to the bottom side of window), enable all logging in console 4. Middle-click any dropmarker in console [OR] click on dropmarker near HTTP request, then middle-click "Header" [OR] middle-click <iframe> link in console AR: Url chrome://browser/content/devtools/webconsole.xul# opens in Step 4 (and displays tooltip) ER: No tooltip of chrome:// link or at least no action on middle click > [1] data:text/html,<iframe onload="console.error(arguments[0])" src="http:/mozilla.org"></iframe>
Summary: "<unknown>" link in Console should't be middle-clickable and shouldn't display URL tooltip → Links with href="#" in devtools (esp. Console) display tooltip of chrome:// url and open said url on middle-click
Depends on: 1287389
Links in devtools not working on middle-click (see comment 3) are reported in bug 1327794.
We don't have such links in the new console frontend.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: