Skip to content

fix: endless opening of tabs with update information [#1548]

Marwan Zibaoui requested to merge 1548-checkTabExists into next

Related to #1548 (closed)


Some users have been reporting that the new tab that opens with update informations opens an ungodly amount of times. We cannot reproduce this bug, but this is an attempt at fixing it.


  • Created a function that checks if a tab is already open in the browser and unit test it
  • Use this function in the openNotificationInNewTab function. This is the one responsible for opening new tabs for update new tab notifications
  • Extract the code that applies templating to URLs in the extension and unit test it

Dear QA friend

I don't know how to trigger an "update new tab notification" on the extension 😞 While we can't reproduce the bug, we must make sure that this change does not break it.

Edited by Marwan Zibaoui

Merge request reports