| Summary: | Web Inspector: Unresponsive Console prompt | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||||||
| Component: | Web Inspector | Assignee: | Mark Lam <mark.lam> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Blocker | CC: | benjamin, fpizlo, ggaren, graouts, joepeck, jonowells, mark.lam, mattbaker, mmirman, msaboff, nvasilyev, peavo, timothy, webkit-bug-importer | ||||||||
| Priority: | P1 | Keywords: | InRadar | ||||||||
| Version: | 528+ (Nightly build) | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Nikita Vasilyev
2015-04-04 18:50:21 PDT
Created attachment 250142 [details]
Screencast
I've been seeing this as well. This is a serious issue. It is likely surfacing because we have moved a lot of our code to ES6 classes which made them strict mode, so this may have been a pre-existing issue in JSC. Given the unusual nature of the runtime error, because the code in the immediate vicinity appears valid and straightforward, it makes me think this is a JavaScriptCore issue. If we can come up with really solid steps to reproduce, we should be able to verify it is caused by JIT/DFG/FTL, create a reduction, and pass off to JavaScriptCore engineers. Created attachment 250409 [details]
[TEST] Test Case
Test case for reproducing.
With a reproducible test I bisected this to: r181993 http://trac.webkit.org/changeset/181993 * STEPS TO REPRODUCE 1. Open attached HTML test case 2. Open Inspector and view the html Source Code (triggers CodeMirror code highlighting) => Uncaught exceptions in Inspector Window, visible by inspecting the inspector * NOTES - Disabling the JIT (JSC_useJIT=0) this doesn't reproduce, so seems JIT related - I'll see if I can create a reduction or something since on its own, this isn't very useful. <rdar://problem/20415532> This issue happens to be a dup of a bug that was already tracked by <rdar://problem/20415532>. Will relate this bug to that rdar. Created attachment 250585 [details]
the patch.
Thanks for the review. Landed in r182745: <http://trac.webkit.org/r182745>. 👍 |