[Webkit-unassigned] [Bug 141257] New: Web Inspector: ES6: Better support for Symbol types in Type Profiler

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 4 12:41:22 PST 2015


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

            Bug ID: 141257
           Summary: Web Inspector: ES6: Better support for Symbol types in
                    Type Profiler
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: joepeck at webkit.org
                CC: graouts at webkit.org, joepeck at webkit.org,
                    jonowells at apple.com, mattbaker at apple.com,
                    nvasilyev at apple.com, saambarati1 at gmail.com,
                    timothy at apple.com, utatane.tea at gmail.com,
                    webkit-bug-importer at group.apple.com

* SUMMARY
We should better support for Symbol types in Type Profiler. Symbols are pseudo-primitives, like unique strings. I would expect them to be handled similar to Strings in the Type profiling.

* TEST
<script>
function foo(a) {
  console.log(a);
}
</script>

js> foo(Symbol()); // I expect "Symbol" to show up next to foo's `a` param.
js> foo(1); // I expect "(many)" to show up next to foo's `a` param. Popover should have "Integer" and "Symbol".

* NOTES
- Symbol has some special properties. But it is more like a primitive than an object.

-- 
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/20150204/024f52cf/attachment-0002.html>


More information about the webkit-unassigned mailing list