[MediaCapabilities] Change WebRTC WPT tests to .any
The WPT tests for MediaCapabilities with type webrtc
have not been run on worker threads.
- Change name of test files to .any.js.
- Replace RTCRtpReceiver and RTCRtpSender with hardcoded
values if run on worker.
Bug: None
Change-Id: Id0254b7f0eb23f35e5304c1c5a9e9b22332c10bc
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5979516
Commit-Queue: Johannes Kron kron@chromium.org
Reviewed-by: Evan Shrubsole eshr@google.com
Cr-Commit-Position: refs/heads/main@{#1376827}