RESOLVED FIXED 44186
Web Inspector: introduce runtime agent for evaluation on window.
https://bugs.webkit.org/show_bug.cgi?id=44186
Summary Web Inspector: introduce runtime agent for evaluation on window.
Pavel Feldman
Reported 2010-08-18 10:15:20 PDT
Patch to follow.
Attachments
[PATCH] Proposed change (will patch xcode project upon landing) (36.62 KB, patch)
2010-08-18 10:19 PDT, Pavel Feldman
no flags
[PATCH] Review comments addressed. (35.72 KB, patch)
2010-08-19 08:20 PDT, Pavel Feldman
no flags
Pavel Feldman
Comment 1 2010-08-18 10:19:24 PDT
Created attachment 64728 [details] [PATCH] Proposed change (will patch xcode project upon landing) This is one of the steps that move us away from broad InjectedScript API that can not be formalized on the idl into the thinner one on InspecotrBackend. I plan to 'inject' rest of the functions from the front-end be means of evaluateOnSelf-alike method.
Ilya Tikhonovsky
Comment 2 2010-08-19 01:11:07 PDT
please rebase the patch
Ilya Tikhonovsky
Comment 3 2010-08-19 01:25:18 PDT
Comment on attachment 64728 [details] [PATCH] Proposed change (will patch xcode project upon landing) WebCore/inspector/InspectorRuntimeAgent.cpp:49 + , m_remoteFrontend(remoteFrontend) m_remoteFrontend is not used in the code. WebCore/inspector/InspectorRuntimeAgent.cpp:101 + injectedScript.getPrototypes(nodeId, result, success); success flag and hadException argument of injectedScript.getPrototypes have the opposit meaning.
Pavel Feldman
Comment 4 2010-08-19 08:20:27 PDT
Created attachment 64855 [details] [PATCH] Review comments addressed. Thanks for review Ilya!
Eric Seidel (no email)
Comment 5 2010-08-19 08:37:09 PDT
Yury Semikhatsky
Comment 6 2010-08-19 09:20:00 PDT
Comment on attachment 64855 [details] [PATCH] Review comments addressed. WebCore/inspector/front-end/ObjectPropertiesSection.js:53 + this.object.getProperties(!this.ignoreHasOwnProperty, true, callback); Let's rename ignoreHasOwnProperty too.
Sam Weinig
Comment 7 2010-08-19 09:27:09 PDT
The changelog does not address the change to the license. Is that a related change? What is it about?
Yury Semikhatsky
Comment 8 2010-08-19 09:29:02 PDT
Clearing r? flag as it was decided to rework this approach a bit.
Pavel Feldman
Comment 9 2010-08-19 09:44:17 PDT
(In reply to comment #7) > The changelog does not address the change to the license. Is that a related change? What is it about? I was adding a new InspectorRuntimeAgent and I copy-pasted a license from InspectoStorageAgent I added earlier. At that point I noticed that I was accidentally using wrong license file there. So this includes a drive-by fix. Do you think it might be a problem?
Rob Colburn
Comment 10 2012-06-11 10:11:14 PDT
Pavel, Old bug, did you get through the legal issues?
Note You need to log in before you can comment on or make changes to this bug.