Changes between Initial Version and Version 1 of Ticket #7271


Ignore:
Timestamp:
02/11/2019 11:58:15 AM (9 months ago)
Author:
kzar
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7271 – Description

    initial v1  
    22For version 3 of Chrome's extension manifest format, one planned change is to switch from callbacks to Promises for the Chrome APIs. [https://docs.google.com/document/d/1nPu6Wy4LWR66EFLeYInl3NzzhHzc-qnk4w4PX-0XMw8/edit From the draft spec]: 
    33 
    4 {{{ 
    5 Extension APIs will be promise-based. The older callback version will continue to be supported... 
     4>Extension APIs will be promise-based. The older callback version will continue to be supported... 
     5> 
     6> In order to maintain backwards compatibility (and not force developers to rewrite their extension 
     7> more than they already have to), providing a callback to an API method will continue to work. If 
     8> a callback is provided, a promise will not be returned. 
    69 
    7 In order to maintain backwards compatibility (and not force developers to rewrite their extension 
    8 more than they already have to), providing a callback to an API method will continue to work. If 
    9 a callback is provided, a promise will not be returned. 
    10 ]}} 
    1110 
    1211=== What to change ===