Remove all WTR output before Content-Type:text/plain for WebRTC tests in case of known excessive logging
Created attachment 435681 [details] Patch
Comment on attachment 435681 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435681&action=review > Tools/Scripts/webkitpy/port/mac.py:-299 > - Why are you deleting these?
Comment on attachment 435681 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=435681&action=review >> Tools/Scripts/webkitpy/port/mac.py:-299 >> - > > Why are you deleting these? They should be covered by Negotiation String and LRP which signal encoder is doing some logging. These additional lines were attempts to cover the fact encoder logging is being wrapped in multiple lines, but as we see, it does not work well.
Committed r281297 (240721@main): <https://commits.webkit.org/240721@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435681 [details].
<rdar://problem/82160516>
*** Bug 225525 has been marked as a duplicate of this bug. ***
As can be seen in https://build.webkit.org/results/Apple-BigSur-Release-WK2-Tests/r280628%20(4289)/webrtc/video-setDirection-pretty-diff.html, this is not covering all cases: the underlying codec related logging is sometimes half captured.
One possibility would be to remove all logging before Content-Type:text/plain in all webrtc tests.
*** Bug 225523 has been marked as a duplicate of this bug. ***