Bug 157759 - Uncaught Exception: TypeError: null is not an object (evaluating 'event.data.pathComponent.domTreeElement')
Summary: Uncaught Exception: TypeError: null is not an object (evaluating 'event.data....
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2016-05-16 15:25 PDT by BJ Burg
Modified: 2016-05-16 21:10 PDT (History)
8 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (2.83 KB, patch)
2016-05-16 16:36 PDT, 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 BJ Burg 2016-05-16 15:25:58 PDT
-------
Auto-generated details:

Inspected URL:        file:///Users/bburg/repos/webkit-tot/OpenSource/WebKitBuild/Release/WebInspectorUI.framework/Resources/Main.html
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/602.1.33+ (KHTML, like Gecko)
Uncaught exceptions:
 - TypeError: null is not an object (evaluating 'event.data.pathComponent.domTreeElement') (at DOMTreeContentView.js:375:48)
-------

* STEPS TO REPRODUCE
1. Go to a random page
2. Start a timeline recording
3. Inspect the inspector, go to the Elements tab
4. Click around on the DOM element path components.
5. > uncaught exception <
Comment 1 Radar WebKit Bug Importer 2016-05-16 15:27:22 PDT
<rdar://problem/26309427>
Comment 2 Joseph Pecoraro 2016-05-16 15:43:42 PDT
[Error] Assertion Failed
    _pathComponentSelected (DOMTreeContentView.js:374)
    dispatch (Object.js:161)
    dispatchEventToListeners (Object.js:168)
    _selectElementMouseUp (HierarchicalPathComponent.js:314)
    _selectElementMouseUp

The event.data.pathComponent is null when _selectElementMouseUp triggers on a <select> without a selected index.
Comment 3 Joseph Pecoraro 2016-05-16 16:36:25 PDT
Created attachment 279067 [details]
[PATCH] Proposed Fix
Comment 4 WebKit Commit Bot 2016-05-16 21:10:48 PDT
Comment on attachment 279067 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 279067

Committed r200995: <http://trac.webkit.org/changeset/200995>
Comment 5 WebKit Commit Bot 2016-05-16 21:10:52 PDT
All reviewed patches have been landed.  Closing bug.