/** * Hachette message server * * Copyright (C) 2021 Wojtek Kosior * Redistribution terms are gathered in the `copyright' file. */ /* * IMPORTS_START * IMPORT browser * IMPORTS_END */ var listeners = {}; /* magic should be one of the constants from /common/connection_types.js */ function listen_for_connection(magic, cb) { listeners[magic] = cb; } function raw_listen(port) { if (listeners[port.name] === undefined) return; listeners[port.name](port); } browser.runtime.onConnect.addListener(raw_listen); /* * EXPORTS_START * EXPORT listen_for_connection * EXPORTS_END */ t type='hidden' name='id' value='c6c0d5a22c2ee3d7164dab0129b2e4852a4ae76c'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
path: root/tests/records.scm
AgeCommit message (Expand)Author
2020-01-16records: Improve reporting of "invalid field specifier" errors....Ludovic Courtès
2019-03-30records: Support custom 'this' identifiers....Ludovic Courtès
2019-03-25records: Allow thunked fields to refer to 'this-record'....Ludovic Courtès
2019-01-22records: Detect duplicate field initializers....Ludovic Courtès
2018-08-31records: Adjust to test changes in 'record-abi-mismatch-error'....Ludovic Courtès