From cf1f64e73fd775d8b8e465edcf7c33dfb34e5b8e Mon Sep 17 00:00:00 2001 From: shanehandley Date: Fri, 5 Sep 2025 23:36:16 +1000 Subject: [PATCH] script: remove wpt test added in #39079 (#39164) Removes a test related to autoplay and sandboxing which will always fail. In https://github.com/servo/servo/pull/39079 I introduced a wpt to test autoplay functionality, but the test was flawed in its approach - shortly after merge, myself and @TimvdLippe found that this test would simulataneously require scripts to be enabled, as well as disabled for the test to pass. This slipped past me becuase we hadn't correctly implemented whether scripting was enabled yet in Servo. Testing: Removes a single WPT - this test has not been merged upstream. Signed-off-by: Shane Handley --- tests/wpt/meta/MANIFEST.json | 11 -------- .../sandbox/autoplay-disabled-by-csp.html | 25 ------------------- .../autoplay-disabled-by-csp.html.headers | 1 - 3 files changed, 37 deletions(-) delete mode 100644 tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html delete mode 100644 tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html.headers diff --git a/tests/wpt/meta/MANIFEST.json b/tests/wpt/meta/MANIFEST.json index 7d53f98916a..08490dc7f0a 100644 --- a/tests/wpt/meta/MANIFEST.json +++ b/tests/wpt/meta/MANIFEST.json @@ -403717,10 +403717,6 @@ ] }, "sandbox": { - "autoplay-disabled-by-csp.html.headers": [ - "32518e57d4584de71845a9260b093c3535fc3074", - [] - ], "form-submission-blocked-by-sandboxing.html.headers": [ "1efcf8c226fac074c98d0a5a747856f532e5d84e", [] @@ -581705,13 +581701,6 @@ ] }, "sandbox": { - "autoplay-disabled-by-csp.html": [ - "d7bd453a34c0e75c98c837f853c0cf492359625a", - [ - null, - {} - ] - ], "form-submission-blocked-by-sandboxing.html": [ "4c717a18fd8bfa9d5cb4bc5449b0f25498ccb754", [ diff --git a/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html b/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html deleted file mode 100644 index d7bd453a34c..00000000000 --- a/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Test that autoplay is blocked by a document's active sandboxing flags - - - - - - - - - diff --git a/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html.headers b/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html.headers deleted file mode 100644 index 32518e57d45..00000000000 --- a/tests/wpt/tests/content-security-policy/sandbox/autoplay-disabled-by-csp.html.headers +++ /dev/null @@ -1 +0,0 @@ -Content-Security-Policy: sandbox allow-forms