Changes between Version 4 and Version 8 of Ticket #4552


Ignore:
Timestamp:
11/30/2016 04:24:17 PM (4 years ago)
Author:
kzar
Comment:

(Sorry I should have created a separate issue for the dependency update. It's kind of messy having a platform milestone set to a buildtools issue.)

Adding you as Cc Robert+Ross+Scott as a heads up, this one needs a lot of testing. I've been personally running with the change for the last week or so without problems but it could have caused subtle regressions pretty much anywhere...

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4552

    • Property Status changed from reviewing to closed
    • Property Cc Ross scheer rraceanu added
    • Property Resolution changed from to fixed
    • Property Milestone changed from to Adblock-Plus-for-Chrome-Opera-next
    • Property Blocking changed from to 4678
  • Ticket #4552 – Description

    v4 v8  
    33 
    44=== What to change === 
     5Buildtools: 
     6 
    57Remove JSHydra dependency from buildtools. `packagerChrome.convertJS()` should stay but merely as a way to combine modules into a single file. We don't need an external tool for that, this can be done from Python. While at it, we can choose a format that will only execute modules when they are required for the first time, along these lines (inspired by webpack): 
    68 
     
    3436}}} 
    3537 
    36 Our Safari branch should then add a direct dependency on JSHydra and monkey-patch `packagerChrome.convertJS` in order to transpile the code (probably best to do that after the merging code has executed and remove merging functionality from JSHydra). 
     38adblockpluschrome: 
     39 
     40- Update the buildtools dependency in adblockpluschrome to `d8b095c772cb` which will also include two unrelated changes. 
     41- Adjust `require` implementation in lib/compat.js. 
     42- Ensure everything works. 
     43 
     44=== Hints for testers === 
     45As far as possible test all Adblock Plus functionality in an old (41) and modern (>=54) version of Chrome. Bugs could have appeared basically anywhere since this is a fairly large change which could have changed any of the code subtlety at build time. 
     46 
     47Ensure that everything works correctly. (Make sure to check that filter + preference saving and loading works correctly since we made a small change there.)