Bug 173381

Summary: Improve TypeError description to be useful
Product: WebKit Reporter: Jon Davis <jond>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: benjamin, fpizlo, ggaren, gskachkov, jfbastien, jond, keith_miller, mark.lam, msaboff, saam, sam, ticaiolima, ysuzuki, zhaowanyi815
Priority: P2    
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 174275    
Bug Blocks:    
Attachments:
Description Flags
Patch none

Jon Davis
Reported 2017-06-14 12:45:21 PDT
Evaluate [a] = {a:1} in console. It produces the following less than helpful error: TypeError: undefined is not a function (near '...[a]...') We should explore improving this error. Source: https://twitter.com/bfred_it/status/874805874568470529
Attachments
Patch (5.61 KB, patch)
2017-06-16 11:38 PDT, GSkachkov
no flags
GSkachkov
Comment 1 2017-06-16 11:38:07 PDT
Created attachment 313099 [details] Patch WIP
GSkachkov
Comment 2 2018-04-18 04:16:46 PDT
Currently switched to WebAssembly Stream API
Note You need to log in before you can comment on or make changes to this bug.