Bug 145622 - DebuggerManager.js _sourceCodeLocationFromPayload should handle native functions
Summary: DebuggerManager.js _sourceCodeLocationFromPayload should handle native functions
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Keywords: InRadar
Depends on:
Reported: 2015-06-03 17:54 PDT by Mark Lam
Modified: 2016-12-13 15:34 PST (History)
4 users (show)

See Also:


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