Bug 148556 - Web Inspector: Type Profiler does not understand Functions inside Template Strings (ScriptSyntaxTree warnings)
Summary: Web Inspector: Type Profiler does not understand Functions inside Template St...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-27 21:29 PDT by Joseph Pecoraro
Modified: 2015-08-28 05:57 PDT (History)
9 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (4.02 KB, patch)
2015-08-27 21:30 PDT, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.