From bc999e3e4fab461680839c1b1abac156a009941d Mon Sep 17 00:00:00 2001 From: Dale Curtis Date: Wed, 27 Sep 2023 12:17:12 +0000 Subject: [PATCH] Bug 1854761 [wpt PR 42106] - Fix version of the media-src-7_2_2.sub.html test., a=testonly Automatic update from web-platform-tests Fix version of the media-src-7_2_2.sub.html test. elements can't be changed retroactively like the test was doing. The media element would sometimes start the load and fail since the source had no content. Instead add the node in one go. Fixed: 1484341 Change-Id: I0e2c53fedcee121d59563d140d4d82793fcba5d4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4883970 Reviewed-by: Jonathan Hao Commit-Queue: Dale Curtis Cr-Commit-Position: refs/heads/main@{#1200339} -- wpt-commits: f3b2a3dbd7052b19a8bed15eea85e4b768364cee wpt-pr: 42106 --- .../media-src/media-src-7_2_2.sub.html | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/testing/web-platform/tests/content-security-policy/media-src/media-src-7_2_2.sub.html b/testing/web-platform/tests/content-security-policy/media-src/media-src-7_2_2.sub.html index e1626eec5aa0..ce6b8add3c83 100644 --- a/testing/web-platform/tests/content-security-policy/media-src/media-src-7_2_2.sub.html +++ b/testing/web-platform/tests/content-security-policy/media-src/media-src-7_2_2.sub.html @@ -40,16 +40,17 @@