1514 relies on the fact that fetching a json file and performing an extension storage query will take longer than the browser fetching the main_world script file, as we need the latter to be performed first.
This performs a back-and-forth handshake to confirm that the main_world script file has been executed before proceeding with main install.
Random aside: to improve extension load speed slightly, one can do:
Description
1514 relies on the fact that fetching a json file and performing an extension storage query will take longer than the browser fetching the main_world script file, as we need the latter to be performed first.
This performs a back-and-forth handshake to confirm that the main_world script file has been executed before proceeding with main install.
Random aside: to improve extension load speed slightly, one can do:
but I can't figure out how to make the code not look stupid.
Testing steps
I have no tests for the bad case this prevents, as I can't for the life of me get it to happen.