Change base directory for CTS runner, part 1

Changes the test page to expect files to be served from BUILD_DIR
to BUILD_DIR/gen/third_party/dawn. Serving only the subdirectory
shaves multiple seconds off of harness startup in local builds.

Bug: chromium:1338672
Change-Id: I29927e8d0928874fe780f9b15910b0d2eed97833
Kokoro: Kokoro <>
Reviewed-by: Kai Ninomiya <>
Commit-Queue: Austin Eng <>
Reviewed-by: Brian Sheedy <>
diff --git a/webgpu-cts/test_page.html b/webgpu-cts/test_page.html
index 89ef8086..6b68101 100644
--- a/webgpu-cts/test_page.html
+++ b/webgpu-cts/test_page.html
@@ -17,6 +17,11 @@
 <meta charset=utf-8>
 <link rel=help href=''>
+<!-- Temporarily try to |setBaseResourcePath| from two paths as we migrate the base static server dir -->
+<script type=module>
+    import { setBaseResourcePath } from '/third_party/webgpu-cts/src/common/framework/resources.js';
+    setBaseResourcePath('/third_party/webgpu-cts/resources');
 <script type=module>
     import { setBaseResourcePath } from '/gen/third_party/dawn/third_party/webgpu-cts/src/common/framework/resources.js';