Closed Bug 1409606 Opened 9 years ago Closed 9 years ago

ruleview-rule-source tooltip does not have full path filename

Categories

(DevTools :: Inspector: Rules, defect)

defect
Not set
normal

Tracking

(firefox-esr52 unaffected, firefox56 unaffected, firefox57 unaffected, firefox58 verified)

VERIFIED FIXED
Firefox 58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- unaffected
firefox58 --- verified

People

(Reporter: magicp.jp, Assigned: tromey)

References

Details

Attachments

(2 files)

Steps to Reproduce: 1. Start Nightly Build 20171017220415 2. Go to any sites 3. Open CSS Rules Inspector 4. Hover on ruleview-rule-source Actual Results: ruleview-rule-source tooltip does not have full path filename. Expected Results: ruleview-rule-source tooltip displays full path filename.
Assignee: nobody → ttromey
devtools/client/inspector/rules/test/browser_rules_style-editor-link.js should have caught this but it is disabled, see bug 1309759.
Comment on attachment 8919863 [details] Bug 1409606 - use full URL in rule view's source tooltip; https://reviewboard.mozilla.org/r/190808/#review195998 ::: devtools/client/inspector/rules/views/rule-editor.js:312 (Diff revision 1) > url, > line, > column > }; > > - let title = CssLogic.shortSource({href: displayURL}); > + let shortTitle = CssLogic.shortSource({href: displayURL}); I feel like we should rename shortTitle to be sourceTextContent or something. It's kinda deceiving and unclear to have 2 titles, but in reality, we are setting one in the title attribute.
Attachment #8919863 - Flags: review?(gl) → review+
Pushed by ttromey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0ef6de3ab755 use full URL in rule view's source tooltip; r=gl
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
This bug fix was verified in Nightly build 20171020221129.
Status: RESOLVED → VERIFIED
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: