Title: [181916] trunk/Source/WebInspectorUI
- Revision
- 181916
- Author
- [email protected]
- Date
- 2015-03-24 16:10:30 -0700 (Tue, 24 Mar 2015)
Log Message
Web Inspector: REGRESSION (r179286): ReferenceError: Can't find variable: selector
https://bugs.webkit.org/show_bug.cgi?id=143022
Patch by Tobias Reiss <[email protected]> on 2015-03-24
Reviewed by Timothy Hatcher.
Fix a regression where a missing variable statement causes a ReferenceError.
* UserInterface/Models/DOMNodeStyles.js:
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (181915 => 181916)
--- trunk/Source/WebInspectorUI/ChangeLog 2015-03-24 23:10:03 UTC (rev 181915)
+++ trunk/Source/WebInspectorUI/ChangeLog 2015-03-24 23:10:30 UTC (rev 181916)
@@ -1,5 +1,16 @@
2015-03-24 Tobias Reiss <[email protected]>
+ Web Inspector: REGRESSION (r179286): ReferenceError: Can't find variable: selector
+ https://bugs.webkit.org/show_bug.cgi?id=143022
+
+ Reviewed by Timothy Hatcher.
+
+ Fix a regression where a missing variable statement causes a ReferenceError.
+
+ * UserInterface/Models/DOMNodeStyles.js:
+
+2015-03-24 Tobias Reiss <[email protected]>
+
Web Inspector: Adopt ES6 Class Syntax for CSSStyleDeclarationTextEditor
https://bugs.webkit.org/show_bug.cgi?id=143019
Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js (181915 => 181916)
--- trunk/Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js 2015-03-24 23:10:03 UTC (rev 181915)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DOMNodeStyles.js 2015-03-24 23:10:30 UTC (rev 181916)
@@ -252,7 +252,7 @@
this.refresh();
}
- selector = this._node.appropriateSelectorFor(true);
+ var selector = this._node.appropriateSelectorFor(true);
CSSAgent.addRule.invoke({contextNodeId: this._node.id, selector}, addedRule.bind(this));
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes