WebKit Bugzilla
Attachment 370540 Details for
Bug 198205
: Make display-profiler-output work with newer HighLine
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
bug-198205-20190523183621.patch (text/plain), 1.30 KB, created by
Yusuke Suzuki
on 2019-05-23 18:36:22 PDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Yusuke Suzuki
Created:
2019-05-23 18:36:22 PDT
Size:
1.30 KB
patch
obsolete
>Subversion Revision: 245700 >diff --git a/Tools/ChangeLog b/Tools/ChangeLog >index 38384fccdb715a669d516917cbe16be01b32ab1f..2659da4f571558c61866f3ec250e08d0b99dee67 100644 >--- a/Tools/ChangeLog >+++ b/Tools/ChangeLog >@@ -1,3 +1,14 @@ >+2019-05-23 Yusuke Suzuki <ysuzuki@apple.com> >+ >+ Make display-profiler-output work with newer HighLine >+ https://bugs.webkit.org/show_bug.cgi?id=198205 >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Newer HighLine does not have SystemExtensions. Access @terminal member in default instance of HighLine. >+ >+ * Scripts/display-profiler-output: >+ > 2019-05-23 Youenn Fablet <youenn@apple.com> > > Set default WebsiteDataStore storage quota based on StorageQuotaManager >diff --git a/Tools/Scripts/display-profiler-output b/Tools/Scripts/display-profiler-output >index 35e1c0e5f949232dd609a953bebab76745a36b79..100544dcf7f26d61ca33e818fe6d5202b8efda5e 100755 >--- a/Tools/Scripts/display-profiler-output >+++ b/Tools/Scripts/display-profiler-output >@@ -539,7 +539,11 @@ end > > 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 198205
: 370540