WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 27758
Web Inspector: Add inspected node using public console API.
https://bugs.webkit.org/show_bug.cgi?id=27758
Summary
Web Inspector: Add inspected node using public console API.
Pavel Feldman
Reported
2009-07-28 01:21:53 PDT
Do not use methods that start with _ from outside the JS class.
Attachments
Patch
(3.17 KB, patch)
2009-07-28 04:30 PDT
,
Keishi Hattori
timothy
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Keishi Hattori
Comment 1
2009-07-28 04:30:28 PDT
Created
attachment 33614
[details]
Patch
Timothy Hatcher
Comment 2
2009-07-28 21:57:14 PDT
For some reason half of this was landed. I landed the rest.
http://trac.webkit.org/changeset/46516
Pavel Feldman
Comment 3
2009-07-29 00:17:56 PDT
I think it was landed property and was functioning well. There is nothing wrong in calling private methods within the class/file (WebInspector.Console). It was bad to make calls to Console's internals from ElementsPanel. FYI: As we move towards serialized inspector interaction, JavaScript code will split into 'agent' and 'front-end' components. InspectorCommandLineAPI will belong to the 'agent' part and hence having _addInspectedNode within the InspectorCommandLine API along with the container for these last inspected nodes was actually making sense.
Timothy Hatcher
Comment 4
2009-07-29 03:06:53 PDT
I guess what landed wasnt what was attached here. And this bug was still open and waiting to land (so it seemed). So I was confused when it looked like half landed and the bug was still open.
Timothy Hatcher
Comment 5
2009-07-29 03:08:15 PDT
I agree, what you landed was fine now that I think about it.
Pavel Feldman
Comment 6
2009-07-29 04:29:32 PDT
(In reply to
comment #5
)
> I agree, what you landed was fine now that I think about it.
It looks like some kind of a glitch. I was attaching the original patch under this very bug, landing exactly what I was attaching after you reviewed it. I can't see my attachment anymore. Every time I land I update the bug with the commit record and close it. I can't find it here now. I wonder what could go wrong here.
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