Changeset 84499 in webkit
- Timestamp:
- Apr 21, 2011 7:59:35 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r84496 r84499 1 2011-04-20 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Expose console API to the code evaluated by sidebar.setExpression() 6 7 Web Inspector: [Extensions API] console API is not exposed to code evaluated by sidebar.setExpression() 8 https://bugs.webkit.org/show_bug.cgi?id=59006 9 10 * inspector/extensions/extensions-expected.txt: 11 * inspector/extensions/extensions.html: 12 1 13 2011-04-21 Tony Gentilcore <tonyg@chromium.org> 2 14 -
trunk/LayoutTests/inspector/extensions/extensions-expected.txt
r82832 r84499 33 33 } 34 34 RUNNING TEST: extension_testSidebarWatchExpression 35 Sidebar content: titlef0: "expression"f1: undefinedf2: nullf3: Objectf4: Array[0]f5: Array[3]f6: Objectf7: 42f8: Locationf9: HTMLCollection[2]f10: function () {} __proto__: Object35 Sidebar content: titlef0: "expression"f1: undefinedf2: nullf3: Objectf4: Array[0]f5: Array[3]f6: Objectf7: 42f8: Locationf9: HTMLCollection[2]f10: function () {}f11: "foo"__proto__: Object 36 36 RUNNING TEST: extension_testSidebarWatchObject 37 37 Watch sidebar created, callback arguments dump follows: -
trunk/LayoutTests/inspector/extensions/extensions.html
r82814 r84499 61 61 function expression() 62 62 { 63 document.body.testProperty = 'foo'; 64 inspect(document.body); 63 65 return { 64 66 f0: 'expression', … … 72 74 f8: window.location, 73 75 f9: document.body.children, 74 f10: function() {} 76 f10: function() {}, 77 f11: $0.testProperty 75 78 }; 76 79 } -
trunk/Source/WebCore/ChangeLog
r84498 r84499 1 2011-04-20 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: [Extensions API] console API is not exposed to code evaluated by sidebar.setExpression() 6 https://bugs.webkit.org/show_bug.cgi?id=59006 7 8 * inspector/front-end/ExtensionPanel.js: 9 (WebInspector.ExtensionSidebarPane.prototype.setExpression): 10 1 11 2011-04-21 Nikolas Zimmermann <nzimmermann@rim.com> 2 12 -
trunk/Source/WebCore/inspector/front-end/ExtensionPanel.js
r82814 r84499 96 96 setExpression: function(expression, title) 97 97 { 98 RuntimeAgent.evaluate(expression, "extension-watch", false, this._onEvaluate.bind(this, title));98 RuntimeAgent.evaluate(expression, "extension-watch", true, this._onEvaluate.bind(this, title)); 99 99 }, 100 100
Note: See TracChangeset
for help on using the changeset viewer.