| Summary: | Web Inspector: Type Profiler does not understand Functions inside Template Strings (ScriptSyntaxTree warnings) | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Joseph Pecoraro <joepeck> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bburg, commit-queue, graouts, joepeck, mattbaker, nvasilyev, saam, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 260118 [details]
[PATCH] Proposed Fix
Comment on attachment 260118 [details] [PATCH] Proposed Fix Clearing flags on attachment: 260118 Committed r189095: <http://trac.webkit.org/changeset/189095> All reviewed patches have been landed. Closing bug. |
* SUMMARY Type Profiler does not understand Functions inside Template Strings (ScriptSyntaxTree warning). * TEST (foo.js) console.log(String.raw`testing ${(function(a=10){return a})()}`); * EXPECTED Type bubble for (a). * ACTUAL WebInspectorUI.framework/Resources/Models/ScriptSyntaxTree.js:898:26: CONSOLE ERROR Unsupported Syntax Tree Node: TaggedTemplateExpression [object Object]