From 287fae568f1f0410f5f4b37c8bfe1a31364951cb Mon Sep 17 00:00:00 2001 From: pandeymangg Date: Wed, 18 Mar 2026 18:49:32 +0530 Subject: [PATCH] removes unnecessary html --- test-sdk-race-condition.html | 189 ----------------------------------- 1 file changed, 189 deletions(-) delete mode 100644 test-sdk-race-condition.html diff --git a/test-sdk-race-condition.html b/test-sdk-race-condition.html deleted file mode 100644 index f83b6919d0..0000000000 --- a/test-sdk-race-condition.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - Formbricks SDK Race Condition Test - - - -

Formbricks SDK - Race Condition Reproduction

- -
- How to use:
- 1. Update APP_URL and ENVIRONMENT_ID below to point to your Formbricks instance.
- 2. Make sure you have at least one survey with a pageView trigger active in that environment.
- 3. Open this file in a browser (serve it via a local server, e.g. npx serve .).
- 4. Click the test buttons and observe the logs below.

- Test scenarios:
- - Normal: Standard setup + page view trigger. Should work fine.
- - Throttled Network: Open DevTools → Network → set to "Slow 3G", then click. Tests if polling waits for slow download.
- - Blocked Main Thread: Simulates a heavy app by blocking the main thread for 3 seconds right after setup. Tests if the fix handles main thread contention.

- What to verify:
- - Check the Network tab: surveys.umd.cjs should appear as a preloaded resource right after setup.
- - The survey should eventually render (or log a clean timeout error), never crash with "Cannot read properties of undefined". -
- - - - - -
- - - -