[Webkit-unassigned] [Bug 188946] New: console.log() shows (anonymous function) instead of the passed string when a certain format is used

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 25 12:00:24 PDT 2018


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

            Bug ID: 188946
           Summary: console.log() shows (anonymous function) instead of
                    the passed string when a certain format is used
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 348079

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

Screenshot of the problem in action

How to reproduce:

Run the following code:

console.log("video:1:2");
console.log("video/mp4:1:2");
console.log("video/mp4 : 00:04:42-00:04:44");

Expected output:

video:1:2
video/mp4:1:2
video/mp4 : 00:04:42-00:04:44

Actual output:

[f] video:1:2
[N] (anonymous function)
[N] (anonymous function)

What's going on?

The issue also reproduces when evaluating strings directly in the console, but not when they are enclosed in an array.

-- 
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/20180825/34184e0c/attachment.html>


More information about the webkit-unassigned mailing list