bodhiproject / qrypto

Qtum light wallet and local transaction signing client
GNU General Public License v3.0
9 stars 12 forks source link

Store and utilize inpage tab making request #151

Closed soshochang closed 6 years ago

soshochang commented 6 years ago

-prevent potential bug with user switching tabs after triggering request and the response getting sent back to the wrong active tab

src/background/controllers/inpageAccountController.ts "I think in a separate PR we should keep track of which tab is sending requests to the inpage. Think we should save the tabID of the tab that is making the requests so we know who to send it back to. I see a possible bug here where active and currentWindow can change if the user fires off a request and changes the tab before it returns."

soshochang commented 6 years ago

PR154