Bug 165986 - JSContext Inspector: Avoid some possible exceptions inspecting a JSContext
Summary: JSContext Inspector: Avoid some possible exceptions inspecting a JSContext
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-12-16 20:01 PST by Joseph Pecoraro
Modified: 2016-12-16 21:05 PST (History)
7 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (5.03 KB, patch)
2016-12-16 20:05 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2016-12-16 20:01:26 PST
Summary:
Avoid some possible exceptions inspecting a JSContext

Steps to Reproduce:
1. Inspect a JSContext application
  => Some exceptions happen
2. Log some objects
  => Some possible exceptions
Comment 1 Joseph Pecoraro 2016-12-16 20:02:00 PST
<rdar://problem/29551379>
Comment 2 Joseph Pecoraro 2016-12-16 20:05:38 PST
Created attachment 297389 [details]
[PATCH] Proposed Fix
Comment 3 Matt Baker 2016-12-16 20:41:44 PST
Comment on attachment 297389 [details]
[PATCH] Proposed Fix

View in context: https://bugs.webkit.org/attachment.cgi?id=297389&action=review

r=me

> Source/JavaScriptCore/inspector/InjectedScriptSource.js:-65
> -

Sweet!
Comment 4 WebKit Commit Bot 2016-12-16 21:05:55 PST
Comment on attachment 297389 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 297389

Committed r209958: <http://trac.webkit.org/changeset/209958>
Comment 5 WebKit Commit Bot 2016-12-16 21:05:59 PST
All reviewed patches have been landed.  Closing bug.