]> git.evergreen-ils.org Git - working/Hatch.git/commit
LP1954301 Extension differentiates tabs with same ID user/berick/lp1954301-ext-tab-message-order-v2
authorBill Erickson <berickxx@gmail.com>
Thu, 9 Dec 2021 16:20:37 +0000 (11:20 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 10 Dec 2021 18:09:07 +0000 (13:09 -0500)
commit07502718637de79d27f87da52014dbf9d6c3de35
tree79ee3210dbf2287a80440c3c605234a4a9657b06
parent0f1952612d5ad23dc66e30bbbca3f702058f5b23
LP1954301 Extension differentiates tabs with same ID

Apply a unique name to each browser tab port on connect.  This resolves
a scenario where Chrome would send a tab connect message followed
immediately by a tab disconnect message using the same tab ID, causing
the newly connected tab to be discarded.  With a unique name, each
connection is handled differently.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
extension/app/extension.js