Bug 148258 - Web Inspector: console assertion when debugger pauses with native call frame in call stack
Summary: Web Inspector: console assertion when debugger pauses with native call frame ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-08-20 16:04 PDT by BJ Burg
Modified: 2016-12-13 15:39 PST (History)
3 users (show)

See Also:


Attachments
Screenshot of relevant state (1.07 MB, image/png)
2015-08-20 16:04 PDT, BJ Burg
no flags Details
reduced testcase (458 bytes, text/html)
2015-08-21 10:22 PDT, BJ Burg
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description BJ Burg 2015-08-20 16:04:39 PDT
Created attachment 259514 [details]
Screenshot of relevant state

In the case I captured in the screenshot, it appears that window.dispatchEvent is midway through the call stack.
It has an invalid source location, triggering a console assert. We should be able to gracefully handle this case.

It would be even better if native/builtins have their own color in the call stack sidebar section, but that's another issue.
Comment 1 Radar WebKit Bug Importer 2015-08-20 16:05:57 PDT
<rdar://problem/22370665>
Comment 2 BJ Burg 2015-08-21 10:22:01 PDT
Created attachment 259625 [details]
reduced testcase