WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
66367
Web Inspector: Would be great to have a possibility to suspend XHR requests
https://bugs.webkit.org/show_bug.cgi?id=66367
Summary
Web Inspector: Would be great to have a possibility to suspend XHR requests
Kirill Maximov
Reported
2011-08-17 04:04:32 PDT
When I'm trying to inspect page elements, I don't want it to be updated due to some XHR requests in background. When the page fragment is refreshed due to AJAX update, the selection jumps to the closest non-modified element of DOM. And this is really inconvenient. The request is to add a kind of "Suspend XHR requests until page reload" button somewhere on the Network panel.
Attachments
Add attachment
proposed patch, testcase, etc.
Pavel Feldman
Comment 1
2011-08-17 05:36:28 PDT
XHRs are initiated by the page itself, so it is strange that you want to suspend them. There are several workarounds for the scenario you are describing: 1. If you can author the page, remove XHR calls, otherwise 2. re-define XHR's send/open methods or XHR class as a whole in console or 3. live edit to mute / comment call sites or 4. Add an XHR breakpoint with the .* mask Feel free to reopen if I missed the purpose of this request.
Kirill Maximov
Comment 2
2011-08-17 07:12:11 PDT
XHR breakpoint does the trick, thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug