[Webkit-unassigned] [Bug 147767] New: Web Inspector: Don't include zero-width space into a copied text from the console

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Aug 6 20:28:32 PDT 2015


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

            Bug ID: 147767
           Summary: Web Inspector: Don't include zero-width space into a
                    copied text from the console
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Major
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nvasilyev at apple.com
                CC: bburg at apple.com, graouts at webkit.org,
                    joepeck at webkit.org, mattbaker at apple.com,
                    nvasilyev at apple.com, timothy at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 258439
  --> https://bugs.webkit.org/attachment.cgi?id=258439&action=review
[Animated GIF] Bug

Steps:
1.
    var img = new Image;
    img.src = "http://33.media.tumblr.com/tumblr_m6t5rzAfVU1qc0s10o1_500.gif";
    img;
2. Click on the logged console message to select it
3. Press Command-C to copy it

Expected clipboard content: 
<img src="http://33.media.tumblr.com/tumblr_m6t5rzAfVU1qc0s10o1_500.gif">

Actual clipboard content:
<img src=​"http:​/​/​33.media.tumblr.com/​tumblr_m6t5rzAfVU1qc0s10o1_500.gif">​
 = $1

1. There are a few zero-width spaces (\u200B) in the copied message; they are marked as red dots if you paste this message to the console prompt (see the attached image).

2. " = $1" shouldn't be copied.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150807/af04e1fd/attachment.html>


More information about the webkit-unassigned mailing list