Fetch.continueRequest returning code: -32602 msg: Invalid InterceptionId. under certain circumstances

521 views
Skip to first unread message

Isaac Dawson

unread,
Aug 20, 2021, 12:39:22 AM8/20/21
to chrome-debugging-protocol
Hey everyone,
Is it known behavior that the InterceptorJob is removed from the Fetch interceptor map if the mimetype/resource type doesn't match what is expected?

I hate a pretty broken application that has the following (broken) html:
<img src={{$root.user.avatar}}> 

It's a single page app that fails to replace that string so the browser ends up requesting: 
/%7B%7B$root.user.avatar%7D%7D for the image.

The response ends up returning the 'SPA' html file instead of a proper image. Obviously <img> should not be returning a Content-Type: text/html, but here we are.

However, I did not expect continueRequest to return code: -32602 msg: Invalid InterceptionId. Is this expected?




Reply all
Reply to author
Forward
0 new messages