Bug 145622

Summary: DebuggerManager.js _sourceCodeLocationFromPayload should handle native functions
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: Web InspectorAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: graouts, inspector-bugzilla-changes, jonowells, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Mark Lam 2015-06-03 17:54:55 PDT
Native functions will have a scriptId of 0.  Currently, if _sourceCodeLocationFromPayload() encounters a native function, it will still proceed to look up id 0 in its _scriptIdMap and fail.  This is the cause of the CONSOLE_ASSERT failure on the script value that follows.
Comment 1 Radar WebKit Bug Importer 2015-06-03 17:55:16 PDT
<rdar://problem/21234039>