Bug 145622
| Summary: | DebuggerManager.js _sourceCodeLocationFromPayload should handle native functions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | Web Inspector | Assignee: | 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 | ||
Mark Lam
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/21234039>