
Updates the UPF code to preserve trailing comments when narrowing a semi-stale expectation. This has been a long-standing bug with the UPF, but it has not been an issue previously due to very infrequent use of trailing comments in expectation files. Usage is expected to increase significantly with some upcoming WebGPU CTS roller changes, so this is a necessary CL before that work can start. Bug: 403257845 Change-Id: I0cc1259a6bb526bc860366e838c3bb2acb2e91d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6449432 Reviewed-by: Yuly Novikov <ynovikov@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@chromium.org> Cr-Commit-Position: refs/heads/main@{#1445844}