Title: [245744] trunk/Tools
- Revision
- 245744
- Author
- [email protected]
- Date
- 2019-05-24 00:54:16 -0700 (Fri, 24 May 2019)
Log Message
Make display-profiler-output work with newer HighLine
https://bugs.webkit.org/show_bug.cgi?id=198205
Reviewed by Saam Barati.
Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine.
* Scripts/display-profiler-output:
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (245743 => 245744)
--- trunk/Tools/ChangeLog 2019-05-24 05:27:33 UTC (rev 245743)
+++ trunk/Tools/ChangeLog 2019-05-24 07:54:16 UTC (rev 245744)
@@ -1,3 +1,14 @@
+2019-05-24 Yusuke Suzuki <[email protected]>
+
+ Make display-profiler-output work with newer HighLine
+ https://bugs.webkit.org/show_bug.cgi?id=198205
+
+ Reviewed by Saam Barati.
+
+ Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine.
+
+ * Scripts/display-profiler-output:
+
2019-05-23 Fujii Hironori <[email protected]>
run-webkit-tests: Remove feature detection support
Modified: trunk/Tools/Scripts/display-profiler-output (245743 => 245744)
--- trunk/Tools/Scripts/display-profiler-output 2019-05-24 05:27:33 UTC (rev 245743)
+++ trunk/Tools/Scripts/display-profiler-output 2019-05-24 07:54:16 UTC (rev 245744)
@@ -539,7 +539,11 @@
def screenWidth
if $stdin.tty?
- HighLine::SystemExtensions.terminal_size[0] - 3
+ begin
+ HighLine::SystemExtensions.terminal_size[0] - 3
+ rescue
+ HighLine::default_instance.terminal.terminal_size[0] - 3
+ end
else
200
end
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes