# Identifying Who is Responsible for Issue on Chrome ![chrome logo](https://upload.wikimedia.org/wikipedia/commons/thumb/e/e1/Google_Chrome_icon_%28February_2022%29.svg/640px-Google_Chrome_icon_%28February_2022%29.svg.png =100x) ## Reason If your co-worker or client encounters weird behavior on production website in chrome that is misidentified as a bug, do **NOT** try to fix it but to ask more detail for his/her chrome settings first to recognize whether it's a user problem or not. ## Steps 1. Reproduce the issue by steps on chrome with normal mode. 2. Reproduce the issue by steps on different browsers by reproducing steps. ![截圖 2024-07-31 中午12.59.04](https://hackmd.io/_uploads/BJdcVSwYA.png) 4. Reproduce the issue on chrome with incognito mode. 5. **(IMPORTANT)** Reproduce the issue on chrome with normal mode and without chrome extensions. (Always remember that some extensions are suck to break your website without any sign and notification.) ![截圖 2024-07-31 中午12.55.16](https://hackmd.io/_uploads/HJO6XHPF0.png) 6. Reproduce the issue on chrome with incognito mode and without chrome extensions. 7. Update chrome version and re-run 1~5. 8. Reinstall chrome and re-run 1~5. 9. Update OS version and re-run 1~5. 10. If all steps fail, start surverying the root cause and fix it. ## Advices - (Optional) Log info message in logging system such as amazon opensearch if your web application is very complex. - ![截圖 2024-07-31 中午12.25.09](https://hackmd.io/_uploads/r1wTnVPFR.png) - (Optional) Migrate with sentry to capture exception automatically. - ![截圖 2024-07-31 中午12.53.57](https://hackmd.io/_uploads/Sk3d7rDt0.png) - If the reproducing steps cross multiple pages, remember to check preserve log in network tab. - ![截圖 2024-07-31 中午12.22.32](https://hackmd.io/_uploads/rkeVnEPK0.png) - Request headers and response headers section in network tab are very helpful for authentication checks. Especially `Cookie` and `Set-Cookie`. - ![截圖 2024-07-31 中午12.29.15](https://hackmd.io/_uploads/Hy9lAVwKC.png) - ![截圖 2024-07-31 中午12.29.30](https://hackmd.io/_uploads/HJJG0NDtC.png) - Application tab is also helpful to trace authentication and storage in time. Be careful on cookie which has `httpOnly` attribute because it can't be accessed by JavaScript so it can't be overwritten in client side. - ![截圖 2024-07-31 中午12.43.22](https://hackmd.io/_uploads/BJ2m-SwKA.png) ###### tags: `Work` `Chrome`