From 6c236a30290b66b54f0aad14fb09b051d57b6425 Mon Sep 17 00:00:00 2001 From: David Neto Date: Fri, 6 Sep 2024 18:52:45 -0400 Subject: [PATCH] Add Origin Trial token for Subgroups in localhost:8080 (#3939) * Add Origin Trial token for Subgroups in localhost:8080 Adds a localhost:8080 token to standalone/index.html for local testing. https://crbug.com/358117283 Followup to #3895 * Remove the OT token from dev_server.ts --- src/common/tools/dev_server.ts | 4 ---- standalone/index.html | 4 +++- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/common/tools/dev_server.ts b/src/common/tools/dev_server.ts index a14ccb54961f..8d78855974d6 100644 --- a/src/common/tools/dev_server.ts +++ b/src/common/tools/dev_server.ts @@ -106,10 +106,6 @@ const app = express(); // Send Chrome Origin Trial tokens app.use((_req, res, next) => { - res.header('Origin-Trial', [ - // "WebGPU Subgroups Feature" token for http://localhost:8080 - 'AkMLfHisU+Fsbpi9g6tfKSZF4ngpsmjW4Oai360fUvZE2rgSPZDWSWb8ryrliJX5HR/Rw0yig0ir9el2hrnODwcAAABaeyJvcmlnaW4iOiJodHRwOi8vbG9jYWxob3N0OjgwODAiLCJmZWF0dXJlIjoiV2ViR1BVU3ViZ3JvdXBzRmVhdHVyZXMiLCJleHBpcnkiOjE3Mzk5MjMxOTl9', - ]); next(); }); diff --git a/standalone/index.html b/standalone/index.html index eb58b6102404..5c1daa89fcf8 100644 --- a/standalone/index.html +++ b/standalone/index.html @@ -13,8 +13,10 @@ - + + +