Emulation
Types of Emulation
Section titled “Types of Emulation”Everything, which needs to be emulated includes: errors for all major browsers, Nested SWs, caching, and every security policy.
Error Emulation
Section titled “Error Emulation”The proxy can be revealed
Proxy Tags (Scramtags)
Section titled “Proxy Tags (Scramtags)”Security Policy Emulation
Section titled “Security Policy Emulation”Many security policy emulation types depend on each other
Nested SW -> CSP emulation TODO: …
-> - meaning depends on here
CORS Emulation
Section titled “CORS Emulation”Cache Emulation
Section titled “Cache Emulation”Nested SWs
Section titled “Nested SWs”This refers to an interception-focused method of emulation, where you:
- Create a fake API for the Navigator SW API
- Communicate with message listeners on the SW, which will bundle. By bundle I mean resolving the
importScripts
in classic scripts and ESM in module scripts. TODO: …