broulik planned changes to this revision.
broulik added a comment.

  Ok, I have an idea.
  `browser.runtime.sendMessage` (Firefox) returns a promise that is fulfilled 
when a reply is sent. Chrome instead uses a callback function in 
`chrome.runtime.sendMessage`
  I'm gonna rework the `sendMessage()` to always return a Promise (makes for 
nicer code) by either forwarding the promise from Firefox or creating one 
forwarding the callback in Chrome

REPOSITORY
  R856 Plasma Browser Integration

REVISION DETAIL
  https://phabricator.kde.org/D21112

To: broulik, #plasma, fvogt
Cc: plasma-devel, LeGast00n, ericadams, jraleigh, GB_2, ragreen, Pitel, 
ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
apol, mart

Reply via email to