Skip to content

Commit 4841826

Browse files
committed
strip _webgpu for servo
1 parent c20202b commit 4841826

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

moz-webgpu-cts/src/shared.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,8 +351,13 @@ impl<'a> TestPath<'a> {
351351
.map(|stripped| (TestScope::FirefoxPrivate, stripped))
352352
.or_else(|| {
353353
test_url_path
354-
.strip_prefix('/')
354+
.strip_prefix("/_webgpu/")
355355
.map(|stripped| (TestScope::Public, stripped))
356+
.or_else(|| {
357+
test_url_path
358+
.strip_prefix('/')
359+
.map(|stripped| (TestScope::Public, stripped))
360+
})
356361
})
357362
else {
358363
return Err(err());

0 commit comments

Comments
 (0)