Copy link address from inspector doesn't work
Categories
(DevTools :: Inspector, defect, P1)
Tracking
(firefox-esr60 unaffected, firefox66 unaffected, firefox67 verified, firefox68 verified, firefox69 verified)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | verified |
firefox68 | --- | verified |
firefox69 | --- | verified |
People
(Reporter: calixte, Assigned: rcaliman)
References
(Regression)
Details
(Keywords: regression, Whiteboard: [qa-triaged])
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
pascalc
:
approval-mozilla-release+
|
Details | Review |
STR:
- open https://google-research.github.io/lingvo-lab/translatotron/
- right click on a player and "Inspect Element"
- expand audio control element in inspector
- right click on src and "Copy Link Address"
- try to paste somewhere => nothing has been copied
In using mozregression, I get:
https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=9c0bb955c19d90c1886b9af34d744eff5f110e52&tochange=e92ff56d2be21676b447c6fbb87b4c4479539bc9
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Fix-optional for 67, we might take a safe patch as a ridealong in a dot release.
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
- Fixes the references to the correct event handler & InspectorFront after a previous mass refactoring in Bug 1529364.
- Augments a test to ensure the clipboard content is correct executing the context menu action to copy a link.
Assignee | ||
Comment 3•6 years ago
|
||
Thanks for discovering this :calixte!
I fixed the issue (a slight renaming mishap) and augmented one of our tests to check the clipboard.
I consider it a pretty safe patch. Once reviewed, we should aim to uplift this as soon as possible to 67 and 68. This is pretty important. "Copy Link Address" didn't work on any node type, not just <audio>
.
Assignee | ||
Comment 4•6 years ago
|
||
Comment 6•6 years ago
|
||
bugherder |
Comment 7•6 years ago
|
||
Please request beta uplift when you get a chance. Thanks!
Updated•6 years ago
|
Assignee | ||
Comment 8•6 years ago
|
||
Comment on attachment 9066009 [details]
Bug 1552275 - Fix Copy Link context menu in DevTools Inspector markup view. r=gl
Beta/Release Uplift Approval Request
- User impact if declined: Users are unable to use the context menu in the DevTools Inspector markup view to copy the
href
/src
from<a>
,<img>
,<script>
,<link>
,<video>
and<audio>
tags.
On click on the Copy Link Address option from the context menu invoked on thehref
/src
attribute of a node, nothing is copied to the clipboard. Regressed by a change in bug 1529364. - Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: Steps to verify:
- Navigate to any website
- Open DevTools Inspector and inspect any
<a>
or<img>
tag in the markup view - Right click on the
href
orsrc
attribute of that tag - Pick the "Copy Link Address" option from the context menu
- Paste the clipboard content into a file
Expected:
On paste, the clipboard content should hold the complete absolute URL (including domain) of the copied href
or src
attribute
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The patch to fix the regression re-instates preexisting functionality that was accidentally disconnected. The patch fixes a typo in a method name and a mistaken reference. It updates a test to check that the behavior works as expected. No new user-facing functionality added.
- String changes made/needed:
Assignee | ||
Comment 9•6 years ago
|
||
Has the fix been verified in Nightly?: Yes
I left that bank in the form, but it still showed up as a "Yes".
Clarification: I did test in Nightly and the fix works as expected, but still needs a formal check by QA as requested with the qe-verify+
flag by :jcristau
Updated•5 years ago
|
Comment 10•5 years ago
|
||
Verified as fixed on Firefox Nightly 69.0a1 (2019-05-23) on Windows 10 x 64, Mac OS X 10.14 and on Ubuntu 18.04 x64.
Comment 11•5 years ago
|
||
Comment on attachment 9066009 [details]
Bug 1552275 - Fix Copy Link context menu in DevTools Inspector markup view. r=gl
devtools regression fix, approved for 68.0b5
Comment 12•5 years ago
|
||
bugherder uplift |
Comment 13•5 years ago
|
||
Verified as fixed on Firefox 68.0b5 on Windows 10 x 64, Mac OS X 10.14 and on Ubuntu 18.04 x64.
Updated•5 years ago
|
Comment 15•5 years ago
|
||
Comment on attachment 9066009 [details]
Bug 1552275 - Fix Copy Link context menu in DevTools Inspector markup view. r=gl
P1 for devtools, has tests, uplift verified on beta and had some bake time there with no reported regression, uplift approved for 67.0.2, thanks.
Comment 16•5 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 17•5 years ago
|
||
Thank you all for your help with uplifting this fix!
Comment 19•5 years ago
|
||
Verified as fixed on Firefox 67.0.2 on Windows 10 x 64, Mac OS X 10.14 and on Ubuntu 18.04 x64.
Description
•