WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
22144
REGRESSION: JS error drilling down childless node
https://bugs.webkit.org/show_bug.cgi?id=22144
Summary
REGRESSION: JS error drilling down childless node
Matt Lilek
Reported
2008-11-08 20:15:41 PST
Go to <
http://webkit.org/
> and open the inspector and double click the <body> node then double click the <div id="icon"> node. The body will successfully become the root object of the tree, but when you do the same for the #icon div, the following JS error is thrown in the console: .../WebCore.framework/Resources/inspector/ElementsTreeOutline.js:491: JS ERROR: TypeError: Result of expression 'this.treeOutline' [null] is not an object.
Attachments
patch
(1.78 KB, patch)
2009-09-21 05:41 PDT
,
Pavel Feldman
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2009-09-21 05:32:27 PDT
The original problem is no longer repeatable. However, following is also a bug: 1) Open inspector using Inspect Element on the "Welcome" topic (important) 2) Double click on body 3) Double click on #icon div Expected: Contents of body to be displayed Actual: Contents of the welcome topic is displayed The problem is that dblclick is being dispatched twice - via explicit listener and via tree element callback. Will issue a patch shortly.
Pavel Feldman
Comment 2
2009-09-21 05:41:21 PDT
Created
attachment 39846
[details]
patch
Pavel Feldman
Comment 3
2009-09-21 14:50:18 PDT
Committing to
http://svn.webkit.org/repository/webkit/trunk
... M WebCore/ChangeLog M WebCore/inspector/front-end/ElementsTreeOutline.js Committed
r48605
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug