Open Bug 851014 Opened 8 years ago Updated 7 months ago

DevTools feature request: HTTP requests auto-responder

Categories

(DevTools :: Netmonitor, enhancement, P3)

x86
macOS
enhancement

Tracking

(Not tracked)

People

(Reporter: patrickbrosset, Unassigned)

References

(Blocks 1 open bug)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_5) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22

Steps to reproduce:

This is a feature request, posted in the wiki feature inbox at : https://wiki.mozilla.org/DevTools_auto-responder

However, after asking in #introduction, I got told that features were tracked via bugzilla, so here it is



Expected results:

1. Feature overview

As a web developer, I often find myself wanting to inject a new version of a JS or CSS file into a remote web site I'm currently debugging. The auto-responder (or request filter) would play the role of intercepting requests matching some regexp and redirecting to a configured file on disk.

2. Users & use cases

Users of this feature are web developers working on web sites/apps. The main use case is that of debugging an issue in production for example, or more specifically, testing a fix directly in the environment where it was found. Indeed, finding the cause of the bug, then working out a fix and then testing it locally may sometimes not be enough, actually testing in target environment can help.

I actually use Fiddler a lot and I'm a fan of their auto-responder feature and custom rules, but it would make my life easier if I could directly, say, right click on a request URL (from the console, or from the net tab, when there'll be one), and choose from the menu "respond with ..." and then browse to a file.
Severity: normal → enhancement
Component: Untriaged → Developer Tools
Another tool that can do this to some extent is BrowserSync (especially as of version 2.4).
See: https://github.com/BrowserSync/browser-sync/issues/514
Product: Firefox → DevTools
Status: UNCONFIRMED → NEW
Component: General → Netmonitor
Ever confirmed: true
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.