Cannot Create Classes

AFAIK, Firefox-based browsers treat the file:// URL scheme the same way as the http:// URL scheme. :fox_face:

Thus far I haven’t found any issues at all when running Processing sketches on Firefox under its file:// URL scheme. :partying_face:

Firefox-based browsers use the Gecko Spidermonkey JS engine. :spider:

But if we prefer/need to test JS on the Chrome’s Blink V8 engine instead, we can use the Vivaldi browser: :musical_score:

Similarly to Firefox, Vivaldi doesn’t restrict the file:// URL scheme either. :ok_hand:

However, anything that relies on the Fetch API fails on the V8 JS engine, b/c they’ve deliberately disallowed the file:// URL scheme on this particular API: :face_with_symbols_over_mouth:

Bugs.Chromium.org/p/chromium/issues/detail?id=810400