[Webkit-unassigned] [Bug 198691] New: Web Inspector: "Copy Path to Property" doesn't work with multiline keys
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 8 12:54:43 PDT 2019
https://bugs.webkit.org/show_bug.cgi?id=198691
Bug ID: 198691
Summary: Web Inspector: "Copy Path to Property" doesn't work
with multiline keys
Product: WebKit
Version: WebKit Nightly Build
Hardware: All
OS: All
Status: NEW
Severity: Minor
Priority: P2
Component: Web Inspector
Assignee: webkit-unassigned at lists.webkit.org
Reporter: shvaikalesh at gmail.com
CC: inspector-bugzilla-changes at group.apple.com
Created attachment 371664
--> https://bugs.webkit.org/attachment.cgi?id=371664&action=review
Screenshot of the issue
Steps to reproduce:
1. Inspect `[{a: {b: {"\n": 1}}}]` and expand down to object `b`.
2. Right-click on "\n" property, "Copy Path to Property".
3. Paste from clipboard, you get:
```
$1[0].a.b["
"]
```
Which is not valid and causes SyntaxError when executing.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190608/b5997a4e/attachment.html>
More information about the webkit-unassigned
mailing list