Changes between Version 17 and Version 19 of Ticket #1434


Ignore:
Timestamp:
12/16/2015 12:16:57 PM (4 years ago)
Author:
sebastian
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1434

    • Property Blocked By changed from 3418, 3421 to 3260, 3418, 3421
  • Ticket #1434 – Description

    v17 v19  
    11=== Background === 
    2 We already removed non-standard JavaScript code from the `adblockplus` repository (#312), from `prefs.js` (#3418), and partly from `keySelector.js` (#3421), but there is still some non-standard code left in the `buildtools` repository which is bundled with Firefox extensions. 
     2We already removed non-standard JavaScript code from the `adblockplus` repository (#312), from `prefs.js` (#3418), and partly from `keySelector.js` (#3421) and `bootstrap.js.tmpl` (#3260). But there is still some non-standard code left in the `buildtools` repository which is bundled with Firefox extensions. 
    33 
    44=== What to change === 
    55* Replace `{__proto__: null}` with `Object.create(null)` in `bootstrap.js.tmpl` and `lib/keySelector.js`. 
    6 * Replace non-standard function expressions with arrow functions in `bootstrap.js.tmpl`. 
    76* Replace `__defineGetter__()` and `__defineSetter__()` with `Object.defineProperty()` in `lib/hooks.js`. 
    87* Replace `__lookupGetter__()` and `__lookupSetter__()` with `Object.getOwnPropertyDescriptor()` in `lib/hooks.js`.