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

Joseph Pecoraro
Reported 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]
Attachments
[PATCH] Proposed Fix (4.02 KB, patch)
2015-08-27 21:30 PDT, Joseph Pecoraro
no flags
Radar WebKit Bug Importer
Comment 1 2015-08-27 21:29:38 PDT
Joseph Pecoraro
Comment 2 2015-08-27 21:30:34 PDT
Created attachment 260118 [details] [PATCH] Proposed Fix
WebKit Commit Bot
Comment 3 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>
WebKit Commit Bot
Comment 4 2015-08-28 05:57:31 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.