Open
Description
Actual Behaviour
Reference examples are not loading in offline reference
Errors in Edge 91.0.864.48 (64-bit) DevTools:
Uncaught ReferenceError: langs is not defined at window.onload init.js:53
Not allowed to load local resource: blob:null/de33675c-0930-4938-8c37-1d3dce8f93fc index.html#/p5.Color/toString:1
Uncaught (in promise) DOMException: The user aborted a request.
Similar errors in Chrome 91.0.4472.101 (64-bit).
Firefox 89.0(64-bit) shows the langs not defined error, but still loads the page
Expected Behaviour
The examples in offline reference pages should load
Steps to reproduce it
download and unzip the offline reference
open index.html
select a reference link
Screenshots of the issue
Would you like to work on the issue?
This is multiple issues:
- langs is not defined by the time init.js runs
- local resources aren't allowed to be loaded in a local webpage
text/plain: Restrictions on File Urls
This should be assigned to someone with a deeper understanding of the rendering process for the offline reference.