Skip to content

Instantly share code, notes, and snippets.

@grahamperrin
Last active February 25, 2021 19:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grahamperrin/d0eddafbbd838d60dad3d44ae4ab3a0a to your computer and use it in GitHub Desktop.
Save grahamperrin/d0eddafbbd838d60dad3d44ae4ab3a0a to your computer and use it in GitHub Desktop.
Mozilla bug 1694699: steps to reproduce, then end, an extensions conflict between Refined GitHub and Simple Tab Groups

Steps to reproduce, then end, a conflict: draft 01

  1. In a new (or refreshed) Firefox profile, have just one window and load this page
  2. https://addons.mozilla.org/addon/refined-github-/ add the extension
  3. https://addons.mozilla.org/en-US/firefox/addon/duplicate-tabs-closer/ add the extension
  4. https://addons.mozilla.org/addon/simple-tab-groups/ add the extension
  5. about:preferences
  6. ☑ Restore previous session
  7. about:addons
  8. Extensions
  9. disable Refined GitHub
  10. preferences for Duplicate Tabs Closer
  11. scope: all windows
  12. in the toolbar, click the Simple Tab Groups button to reveal its menu
  13. manage groups
  14. create two groups, A and B
  15. close all tabs except the tab for this page
  16. open https://bokut.in/freebsd-patch-level-table/#stable/12 in a new tab, then view the tab
  17. open seven of the linked pages into new tabs
  18. move tabs 5–9 into group B
  19. move tabs 2–4 into group A – leaving this GitHub Gist page alone visible (the other eight tabs hidden) in an isolated, non-grouped tab
  20. open a new window (window 2)
  21. load group A
  22. open a new window (window 3)
  23. load group B
  24. close windows 2 and 3
  25. enable Refined GitHub
  26. open a new window (window 2)
  27. load group A
  28. observe the red alert from Duplicate Tabs Closer, but make no attempt to de-duplicate
  29. observe, but do not click on, the titles of all four tabs
  30. close window 2
  31. load group A
  32. observe the losses from group A – where previously all tabs were apparently titled, now some are New Tab with no content
  33. about:addons
  34. disable Refined GitHub
  35. open a new window (window 2)
  36. load group B
  37. close window 2
  38. load group B
  39. free from loss – each of the four tabs is titled and its content can be loaded.

Essentially

The bug begins to bite in window 2 at step 27, however an end user is unlikely to realise the problem because all tabs appear to be titled.

After closing a bugged window, non-loaded tabs that were previously titled are lost – each New Tab has no content.

With any two or more conflicting extensions enabled: it's possible to avoid loss by reloading all visible tabs within the bugged window – before the bugged window is closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment