[Webkit-unassigned] [Bug 237101] New: Web Inspector: Cannot copy full values from Storage: LocalStorage table

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 23 12:01:53 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=237101

            Bug ID: 237101
           Summary: Web Inspector: Cannot copy full values from Storage:
                    LocalStorage table
           Product: WebKit
           Version: Safari 15
          Hardware: Mac (Apple Silicon)
                OS: macOS 12
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Website Storage
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nick at nisi.org
                CC: sihui_liu at apple.com

Created attachment 453009

  --> https://bugs.webkit.org/attachment.cgi?id=453009&action=review

Screen shot of Web Inspector with issue

This looks like it might be related to https://bugs.webkit.org/show_bug.cgi?id=178318 but is still happening in Safari Version 15.3 (17612.4.9.1.8).

What's happening:

Looking at a value in the Web Inspector: Storage: Local Storage table, you can see the value, but if it is too long, such as for a long JSON string or JWT, the value in the table is truncated and an ellipsis is added to the end. 
When clicking in to edit the value you are not able to edit the value in full. Instead, the value is highlighted in full, including the ellipsis.

What's expected:

I would expect to be able to edit/copy the value in full, not the truncated value (with ellipsis).

Steps to Reproduce:

- Navigate to a site with a JWT or long value stored in Local Storage and view it in the Web Inspector. The value should be greater than 200 characters.
- Observe that the value is truncated after the 200 characters and an ellipsis is placed there
- Attempt to click on the value to edit it.
- Observe that the value to edit is only the truncated text and the ellipsis, making it impossible to edit long values from the Web Inspector (outside of using `localStorage.setItem` from the console.

-- 
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/20220223/6dbbf55d/attachment.htm>


More information about the webkit-unassigned mailing list