Bug 187986 - [Curl] Add test for the read/write buffer works well by changing its size.
Summary: [Curl] Add test for the read/write buffer works well by changing its size.
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-24 19:57 PDT by Basuke Suzuki
Modified: 2020-04-07 18:30 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Basuke Suzuki 2018-07-24 19:57:55 PDT
It is no practical reason for small size of buffer, but it simulates the situation when bigger size of data is going to be out. It must be the test case for the buffering system using background thread.
Comment 1 Basuke Suzuki 2018-07-24 20:02:04 PDT
Dydz said in IRC:
 <https://trac.webkit.org/wiki/Exposing%20WebKit%20internals%20for%20Layout%20Tests>

The wiki is outdated and more of a story :/ You can can access any WebCore setting (defined in <https://trac.webkit.org/browser/trunk/Source/WebCore/page/Settings.yaml?rev=234091#L7>) in a layout tests using syntax of the form window.internals.settings.setMinimumFontSize(5)

You can also expose WebCore functionality by adding a new function to the window.internals object by adding the functionl to the IDL at <https://trac.webkit.org/browser/trunk/Source/WebCore/testing/Internals.idl?rev=234091#L123> and then implementing the function in WebCore/testing/Internals.{h, cpp}

window.internals is only available when running WebKitTestRunner and DumpRenderTree