Project

General

Profile

Feature #1

parallelize fetching of remote scripts

Added by koszko about 1 year ago. Updated 9 months ago.

Status:
Rejected
Priority:
Low
Assignee:
-
Start date:
07/01/2021
Due date:
% Done:

0%

Estimated time:

Description

Besides scripts keps in extension's storage, it is also possible to define an injectable script using URL from which it can be downloaded and an SHA256 hash to verify its integrity. Code that handles such downloads is kept in background/page_actions_server.js. As of now, downloads are performed sequentially. We can optimize them to happen in parallel instead.

Care must be taken to later inject the scripts in the right order and to avoid races or duplication of scripts (yes, repeats are possible). Also, this feature hasn't been tested anytime recently. Be ready to encounter bugs with current code.

History

#1

Updated by koszko 9 months ago

  • Status changed from New to Rejected

Once we implement the new scripts/bags/pages schema, it'll be more convenient (and more in line with Haketilo's general direction) to only support loading locally-stored scripts, which makes this issue irrelevant.

Closing

Also available in: Atom PDF