Changeset 84510 in webkit
- Timestamp:
- Apr 21, 2011 9:40:56 AM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/inspector/extensions/extensions.html
r84499 r84510 62 62 { 63 63 document.body.testProperty = 'foo'; 64 inspect(document.body);65 64 return { 66 65 f0: 'expression', … … 78 77 }; 79 78 } 80 sidebar.setExpression("(" + expression.toString() + ")();", "title"); 79 // Do an extra round-trip to the inspected page to assure inspect()'s round-trip to 80 // front-end is complete and $0 is properly updated with currently inspected node. 81 webInspector.inspectedWindow.eval("", function() { 82 sidebar.setExpression("(" + expression.toString() + ")();", "title"); 83 }); 81 84 } 82 webInspector.panels.elements.createSidebarPane("Watch Test: Expression", onSidebarCreated); 85 webInspector.inspectedWindow.eval("inspect(document.body)", function() { 86 webInspector.panels.elements.createSidebarPane("Watch Test: Expression", onSidebarCreated); 87 }); 83 88 } 84 89 -
trunk/Source/WebCore/ChangeLog
r84506 r84510 1 2011-04-21 Andrey Kosyakov <caseq@chromium.org> 2 3 Reviewed by Pavel Feldman. 4 5 Web Inspector: fix calls to WebInspector.ObjectPropertiesSection constructor 6 https://bugs.webkit.org/show_bug.cgi?id=59105 7 8 * inspector/front-end/ConsoleView.js: 9 (WebInspector.ConsoleView.prototype._formatobject): 10 * inspector/front-end/ExtensionPanel.js: 11 (WebInspector.ExtensionSidebarPane.prototype._setObject): 12 * inspector/front-end/ResourceJSONView.js: 13 (WebInspector.ResourceJSONView.parseJSON.WebInspector.ResourceJSONView.prototype._initialize): 14 * inspector/front-end/SourceFrame.js: 15 (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup): 16 (WebInspector.SourceFrame.prototype._showPopup): 17 1 18 2011-04-21 Adam Barth <abarth@webkit.org> 2 19 -
trunk/Source/WebCore/inspector/front-end/ConsoleView.js
r83575 r84510 598 598 _formatobject: function(obj, elem) 599 599 { 600 elem.appendChild(new WebInspector.ObjectPropertiesSection(obj, obj.description , null, true).element);600 elem.appendChild(new WebInspector.ObjectPropertiesSection(obj, obj.description).element); 601 601 }, 602 602 -
trunk/Source/WebCore/inspector/front-end/ExtensionPanel.js
r84499 r84510 116 116 { 117 117 this.bodyElement.removeChildren(); 118 var section = new WebInspector.ObjectPropertiesSection(object, title , null, true);118 var section = new WebInspector.ObjectPropertiesSection(object, title); 119 119 if (!title) 120 120 section.headerElement.addStyleClass("hidden"); -
trunk/Source/WebCore/inspector/front-end/ResourceJSONView.js
r81878 r84510 69 69 70 70 var obj = WebInspector.RemoteObject.fromLocalObject(this._parsedJSON); 71 this.element.appendChild(new WebInspector.ObjectPropertiesSection(obj, obj.description , null, true).element);71 this.element.appendChild(new WebInspector.ObjectPropertiesSection(obj, obj.description).element); 72 72 } 73 73 } -
trunk/Source/WebCore/inspector/front-end/SourceFrame.js
r84494 r84510 825 825 popupContentElement.appendChild(titleElement); 826 826 827 var section = new WebInspector.ObjectPropertiesSection(result , "", null, false);827 var section = new WebInspector.ObjectPropertiesSection(result); 828 828 section.expanded = true; 829 829 section.element.addStyleClass("source-frame-popover-tree");
Note: See TracChangeset
for help on using the changeset viewer.