Bug 148556

Summary: Web Inspector: Type Profiler does not understand Functions inside Template Strings (ScriptSyntaxTree warnings)
Product: WebKit Reporter: Joseph Pecoraro <joepeck>
Component: Web InspectorAssignee: 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:
Description Flags
[PATCH] Proposed Fix none

Description Joseph Pecoraro 2015-08-27 21:29:19 PDT
* 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]
Comment 1 Radar WebKit Bug Importer 2015-08-27 21:29:38 PDT
<rdar://problem/22469933>
Comment 2 Joseph Pecoraro 2015-08-27 21:30:34 PDT
Created attachment 260118 [details]
[PATCH] Proposed Fix
Comment 3 WebKit Commit Bot 2015-08-28 05:57:25 PDT
Comment on attachment 260118 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 260118

Committed r189095: <http://trac.webkit.org/changeset/189095>
Comment 4 WebKit Commit Bot 2015-08-28 05:57:31 PDT
All reviewed patches have been landed.  Closing bug.