Changeset 52108 in webkit
- Timestamp:
- Dec 14, 2009 12:21:13 PM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r52107 r52108 1 2009-12-14 Alexander Pavlov <apavlov@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Implement InjectedScript.evaluateOnSelf() that evaluates functions in the InjectedScript context. 6 https://bugs.webkit.org/show_bug.cgi?id=32517 7 8 * inspector/front-end/InjectedScript.js: 9 (InjectedScript.evaluateOnSelf): 10 * inspector/front-end/InjectedScriptAccess.js: 11 1 12 2009-12-14 Nayan Kumar K <nayankk@gmail.com> 2 13 -
trunk/WebCore/inspector/front-end/InjectedScript.js
r51601 r52108 1080 1080 } 1081 1081 1082 InjectedScript.evaluateOnSelf = function(funcBody) 1083 { 1084 return window.eval("(" + funcBody + ")();"); 1085 } 1086 1082 1087 InjectedScript.CallFrameProxy = function(id, callFrame) 1083 1088 { -
trunk/WebCore/inspector/front-end/InjectedScriptAccess.js
r51601 r52108 77 77 InjectedScriptAccess._installHandler("setStyleText"); 78 78 InjectedScriptAccess._installHandler("toggleStyleEnabled"); 79 InjectedScriptAccess._installHandler("evaluateOnSelf"); 79 80 80 81 // Some methods can't run synchronously even on the injected script side (such as DB transactions).
Note: See TracChangeset
for help on using the changeset viewer.