| Summary: | Web Inspector: ASSERT seen closing/opening multiple inspectors | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Joseph Pecoraro <joepeck> | ||||
| Component: | Web Inspector | Assignee: | Nobody <webkit-unassigned> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | commit-queue, graouts, joepeck, jonowells, mattbaker, nvasilyev, timothy, webkit-bug-importer | ||||
| Priority: | P2 | Keywords: | InRadar | ||||
| Version: | 528+ (Nightly build) | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Attachments: |
|
||||||
Created attachment 243504 [details]
[PATCH] Proposed Fix
Comment on attachment 243504 [details] [PATCH] Proposed Fix Clearing flags on attachment: 243504 Committed r177518: <http://trac.webkit.org/changeset/177518> All reviewed patches have been landed. Closing bug. |
* SUMMARY I occasionally see this assert in Inspector code when opening/closing multiple inspectors repeatedly in Debug builds. Deprecated::ScriptValue InjectedScript::findObjectById(const String& objectId) const { ASSERT(!hasNoValue()); ... } We can safely avoid calling findObjectById if we have an empty InjectedScript.