Title: [177108] trunk/Source/WebInspectorUI
- Revision
- 177108
- Author
- joep...@webkit.org
- Date
- 2014-12-10 15:31:09 -0800 (Wed, 10 Dec 2014)
Log Message
Web Inspector: Hide Compositing Borders Button if backend returns an error that it is unsupported
https://bugs.webkit.org/show_bug.cgi?id=139307
Reviewed by Darin Adler.
* UserInterface/Views/DOMTreeContentView.js:
(WebInspector.DOMTreeContentView.prototype._updateCompositingBordersButtonToMatchPageSettings):
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (177107 => 177108)
--- trunk/Source/WebInspectorUI/ChangeLog 2014-12-10 23:19:41 UTC (rev 177107)
+++ trunk/Source/WebInspectorUI/ChangeLog 2014-12-10 23:31:09 UTC (rev 177108)
@@ -1,3 +1,13 @@
+2014-12-08 Joseph Pecoraro <pecor...@apple.com>
+
+ Web Inspector: Hide Compositing Borders Button if backend returns an error that it is unsupported
+ https://bugs.webkit.org/show_bug.cgi?id=139307
+
+ Reviewed by Darin Adler.
+
+ * UserInterface/Views/DOMTreeContentView.js:
+ (WebInspector.DOMTreeContentView.prototype._updateCompositingBordersButtonToMatchPageSettings):
+
2014-12-05 Joseph Pecoraro <pecor...@apple.com>
Web Inspector: Uncaught Exceptions when attempting to show Content Flow
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js (177107 => 177108)
--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js 2014-12-10 23:19:41 UTC (rev 177107)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.js 2014-12-10 23:31:09 UTC (rev 177108)
@@ -446,6 +446,7 @@
// in a different way than just using the navigation bar button.
PageAgent.getCompositingBordersVisible(function(error, compositingBordersVisible) {
button.activated = error ? false : compositingBordersVisible;
+ button.enabled = error !== "unsupported";
});
},
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes