-
-
Notifications
You must be signed in to change notification settings - Fork 290
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newer Google Chrome blocks synchronous XHR requests in main thread #2100
Comments
I've been able to select & add exactly the same test cases to the same test plan as shown in the images: What browser is this - name/version/OS ? Are you using any ad blocker plugins, popup blockers or maybe other plugins which will block communication between pages ? If you go to https://public.tenant.kiwitcms.org/plan/new/ and click on the |
Hi Atodorov, The browser is: Chrome/Version 87.0.4280.67 (Official Build) (x86_64). I don't use any ad blocker plugins. I cleared cookies/cached also. p/s: I tried with Safari, it works. |
I managed to reproduce this on MacOS Catalina 10.15.5 with Chrome Version 86.0.4240.198 (Official Build) (x86_64). It works just fine with Firefox 82.0.3. Haven't dug further into the network tab to see what requests are being made and what comes back from the back-end. For sure, when I select TCs on the TC page and click Select, the plan page gets refreshed, but the table stays empty. |
From what I could see the console quickly flashed a message about synchronous XHR requests in the main thread, which I suspect Chrome started blocking in their latest versions while other browsers still haven't. This is a bug which needs fixing but for now there is a workaround - use an older or different browser. |
Another workaround is: enable "Allows synchronous XHR requests in page dismissal" by goto chrome://flags/#allow-sync-xhr-in-page-dismissal and enabled it. |
From a user point of view very annoying issue - as selecting dozens of use cases to create a test plan is the easiest way to create or edit a plan. It initially felt like a bug. |
because they are deprecated in Chrome browser and lead to problems for users. Fixes #2100
because they are deprecated in Chrome browser and lead to problems for users. Fixes #2100
because they are deprecated in Chrome browser and lead to problems for users. Fixes kiwitcms#2100
Description of problem
From Test plan page, I can't add test case by using the search button
Version or commit hash (if applicable)
8.8 and public.tenant.kiwitcms.org
Steps to Reproduce
3.Select test case (s) from search page:
Actual results
It backs to Testplan page with info "No records found"
Expected results
It backs to Testplan page with the list of testcases have been selected in previous step.
Additional info (Python traceback, logs, etc.)
The text was updated successfully, but these errors were encountered: