Open Bug 1150665 Opened 5 years ago Updated 5 years ago

Make title attribute work in devtools iframes

Categories

(Core :: General, defect)

defect
Not set

Tracking

()

People

(Reporter: mahdi, Unassigned)

Details

Attachments

(1 file)

Attached file test.zip
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 20150402170249

Steps to reproduce:

1. Copy this to your clipboard: "<iframe src="https://jsfiddle.net/mdibaiee/p8j4ktxL/embedded/result/" flex="1" target="_top" name="test" id="test" />"
2. Open Browser Toolbox
3. Right click on the first <deck> child of window

Note: After this step your Firefox UI will be filled with an iframe, you can undo this by Cmd/Ctrl+Z
4. Paste -> As first child
5. Hover over the element saying "I have a title attribute"


Actual results:

No tooltip shown


Expected results:

A tooltip with contents of title attribute should be shown

You can confirm this works outside chrome code by running the attached test.xul as remote XUL in Firefox (https://addons.mozilla.org/en-US/firefox/addon/remote-xul-manager/)

This bug was spotted in:
https://bugzilla.mozilla.org/show_bug.cgi?id=1055181#c57
https://github.com/nt1m/devtools-prototyper/issues/6
Component: Untriaged → General
OS: Mac OS X → All
Hardware: x86 → All
Status: UNCONFIRMED → NEW
Ever confirmed: true
Product: Firefox → Core
Version: 40 Branch → Trunk
So apparently setting tooltip="aHTMLTooltip" on the wanted iframe works.
Summary: title attribute doesn't work inside html iframes in chrome code → Make title attribute work in devtools iframes
You need to log in before you can comment on or make changes to this bug.