How is defined `resourceType` value provided by the DevTool protocol?
问题 While using Puppeteer or Chrome DevTools APIs, you can get a value for resourceType (on Request object in Puppeteer and on Page object in Chrome DevTools). How does this value is establish by the "rendering engine" (as called in the documentation)? Possible values being: Document , Stylesheet , Image , Media , Font , Script , TextTrack , XHR , Fetch , EventSource , WebSocket , Manifest , Other API documentation: Puppeteer API and Chrome DevTools API Similar question on stackoverflow: Is There