Issue metadata
Sign in to add a comment
|
DevTools now appear to not recognise xhr.send as native code, causing UX issues with blackboxing
Reported by
sdodi...@ecomundo.eu,
Jul 18
|
||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36 Steps to reproduce the problem: 1. Create a new XMLHttpRequest(), call its send function 2. Go to the network tab of DevTools, notice the anonymous function 3. Examine the call stack of the XHR request, and notice that xhr.send is an anonymous function instead of built-in code What is the expected behavior? The XHR request's send function should show up as native code, so it does not appear as an anonymous, non-blackboxable function, in the call stack of network requests. What went wrong? It appears that XMLHttpRequest is no longer considered native code? Did this work before? Yes 66 Chrome version: 67.0.3396.87 Channel: stable OS Version: 4.17.3-1-ARCH x86_64 Flash Version: Nice bug report template.
,
Jul 19
sdodierl@ Thanks for the issue. Request you to provide a sample file where this issue can be reproduced, which will help in further triaging of the issue. Thanks..
,
Jul 19
Susan, My apologies, as I was making a test account for you to test directly on our server, I noticed that I could not reproduce the issue when in Private Mode. I nailed it down to the LastPass extension intercepting my XHR async=true requests, for some reason. So, the initial bug report is false. However, can it be a feature request to say that extensions should be blackboxable? Or is it considered a bug by Google that extensions' code appear in the call stack of the Network tab in DevTools? Thanks.
,
Jul 19
Thank you for providing more feedback. Adding the requester to the cc list. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 19
If you let an extension inject code into your page, it can do whatever it wants, including making debugging annoying. This is an unavoidable consequence of providing the functionality, and not something we could fix. |
|||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||
Comment 1 by viswa.karala@chromium.org
, Jul 18