Changes between Version 14 and Version 15 of Ticket #7338


Ignore:
Timestamp:
03/26/2019 03:50:52 PM (17 months ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7338 – Description

    v14 v15  
    1010- In `lib/compat.js` we configure `XMLHttpRequest`, for later use in the core code. We plan to switch to the `fetch` API in the core code with #7381, then we won't need to configure `XMLHttpRequest` any more. 
    1111- In `lib/utils.js` we use `document.addEventListener`, `document.removeEventListener` and `document.readyState` in order to provide `Utils.runAsync` which is used by the core code. Once we stop using `runAsync` with #7406, we can remove this code. 
     12- In `lib/notificationHelper.js` we use `window.confirm` as a fall back for question notifications, where the `browser.notifications` API is faulty/unavailable. We plan to remove this fallback with #7408. 
    1213 
    1314- In `lib/icon.js` we use `Image` to load the icon images, then `document.createElement` to create a `canvas` with their contents as an optimisation (#7253). We'll need to pass the image paths to the `browserAction` APIs instead. 
    1415- In `lib/filterValidation.js` we use `document.createElement`, `document.documentElement.appendChild`, `document.documentElement.removeChild` and `document.querySelector` to create a `style` element which we use to test if a given CSS selector is valid. No plan so far. 
    15 - In `lib/notificationHelper.js` we use `window.confirm` as a fall back for question notifications, where the `browser.notifications` API is faulty/unavailable. We plan to remove this fallback with #7408. 
    1616 
    1717=== Notes ===