-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: use the browser networks stack as fallback when direct load fails
Chrome recently(ish) added a `Network.loadNetworkResource` request which allows us to ask the browser to load a resource, and get the response. Instead of our previous hacky method of asking and then applying cookies manually, which only worked for some scenarios, use this method as a fallback if manually requesting the resource fails. Do some rearranging since previously the SourceMapFactory was global which prevented it from using session-specific data. Fixes #1766 Fixes #425 (3 years later!)
- Loading branch information
1 parent
670bb82
commit 7bba7e2
Showing
5 changed files
with
155 additions
and
125 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.