Changes between Version 1 and Version 2 of Ticket #6956


Ignore:
Timestamp:
09/16/2018 04:29:20 PM (2 years ago)
Author:
mjethani
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6956 – Description

    v1 v2  
    11=== Background === 
    22The extension generates the style sheet to be injected into each frame on its own, but this is the kind of logic that would ideally belong in core (similar to how [https://github.com/adblockplus/adblockpluscore/blob/ee3158dca717452047320cb69a80a59513997c71/lib/snippets.js#L181 code generation for snippets] is done by core). Keeping this logic in the extension keeps us from doing certain optimizations. Mainly, after #6955, we should be able to maintain only one copy of the generic style sheet that is injected into every frame, thus saving a significant amount of memory in the extension. 
     3 
     4See also #6957. 
    35 
    46=== What to change ===