Title: [220232] trunk/Source/WebInspectorUI
- Revision
- 220232
- Author
- [email protected]
- Date
- 2017-08-03 15:18:11 -0700 (Thu, 03 Aug 2017)
Log Message
JSContext Inspector: Recording tab should not be available in New Tab picker
https://bugs.webkit.org/show_bug.cgi?id=175155
Patch by Joseph Pecoraro <[email protected]> on 2017-08-03
Reviewed by Brian Burg.
* UserInterface/Views/RecordingTabContentView.js:
(WI.RecordingTabContentView.isTabAllowed):
Only allow the Recording Tab if we have a CanvasAgent.
Modified Paths
Diff
Modified: trunk/Source/WebInspectorUI/ChangeLog (220231 => 220232)
--- trunk/Source/WebInspectorUI/ChangeLog 2017-08-03 20:28:00 UTC (rev 220231)
+++ trunk/Source/WebInspectorUI/ChangeLog 2017-08-03 22:18:11 UTC (rev 220232)
@@ -1,3 +1,14 @@
+2017-08-03 Joseph Pecoraro <[email protected]>
+
+ JSContext Inspector: Recording tab should not be available in New Tab picker
+ https://bugs.webkit.org/show_bug.cgi?id=175155
+
+ Reviewed by Brian Burg.
+
+ * UserInterface/Views/RecordingTabContentView.js:
+ (WI.RecordingTabContentView.isTabAllowed):
+ Only allow the Recording Tab if we have a CanvasAgent.
+
2017-08-02 Devin Rousso <[email protected]>
Web Inspector: add stack trace information for each RecordingAction
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RecordingTabContentView.js (220231 => 220232)
--- trunk/Source/WebInspectorUI/UserInterface/Views/RecordingTabContentView.js 2017-08-03 20:28:00 UTC (rev 220231)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RecordingTabContentView.js 2017-08-03 22:18:11 UTC (rev 220232)
@@ -59,6 +59,11 @@
};
}
+ static isTabAllowed()
+ {
+ return !!window.CanvasAgent;
+ }
+
// Public
get type()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes