Skip to content

Commit

Permalink
Merge pull request #359 from ulixee/support-file-resources
Browse files Browse the repository at this point in the history
fix(agent): resource loading for file urls
  • Loading branch information
blakebyrnes authored Feb 11, 2025
2 parents 4c86a18 + 36988a0 commit ceab17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agent/main/lib/FramesManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -651,7 +651,7 @@ export default class FramesManager extends TypedEventEmitter<IFrameManagerEvents
if (
!isKnownResource &&
(resource.browserServedFromCache ||
resource.url?.protocol === 'blob:' ||
['blob:', 'file:'].includes(resource.url?.protocol ?? '') ||
!this.resources.hasRegisteredMitm)
) {
this.resources
Expand Down

0 comments on commit ceab17e

Please sign in to comment.