summaryrefslogtreecommitdiff
path: root/ext/mixed/js/comm.js
Commit message (Collapse)AuthorAge
* Fix cross frame comm issues (#765)toasted-nutbread2020-09-04
| | | | | | | * Send ack before sending error response * Fix error response not being JSON'ified * Use _sendResult
* Force targetTabId to be null if not a number (#678)toasted-nutbread2020-07-19
|
* Port name details (#667)toasted-nutbread2020-07-18
| | | | | | | | | * Use a stringified JSON details object for extension port names * Fix incorrect frame ID check * Add support for connecting to different tabs * Add function for invoking on a different tab
* Message handler refactor (#660)toasted-nutbread2020-07-11
| | | | | | | | | | | * Refactor searchQueryUpdate action * Use standard message handler style * Use name "promiseOrResult" for consistency * Use standard message handler convention for Yomichan message handlers * Use common message handler invoker
* Popup crossFrame communication (#658)toasted-nutbread2020-07-10
| | | | | | | | | * Add support for dynamic message handlers * Pass messages using crossFrame.invoke instead of contentWindow.postMessage * Set up async handlers * Simplify configure call and response
* Extension unload detection (#647)toasted-nutbread2020-07-03
| | | | | | | * Update how extension unload is detected * Remove event handlers and use yomichan.isExtensionUnloaded instead * Update terminology
* Cross frame communication (#531)toasted-nutbread2020-05-23
* Set up new cross-frame port connector * Create classes for cross-frame API invocation with replies * Remove event listeners on disconnect