Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Pocket: Closing currentTab crashes Brave #4699

Closed
jonathansampson opened this issue Oct 12, 2016 · 0 comments
Closed

Pocket: Closing currentTab crashes Brave #4699

jonathansampson opened this issue Oct 12, 2016 · 0 comments

Comments

@jonathansampson
Copy link
Collaborator

jonathansampson commented Oct 12, 2016

Describe the issue you encountered:
If you attempt to close the current tab with chrome.tabs.remove, you may cause Brave to crash.

Expected behavior:
Closing the current tab with chrome.tabs.remove results in another tab taking focus.

Platform: Windows 10

Brave Version: 0.12.4

Steps to reproduce:

  1. Navigate to about:extensions
  2. Right-click page, select Inspect Element, open Console
  3. Run chrome.tabs.getCurrent(tab=>chrome.tabs.remove([tab.id]))
  4. Observe crash

I'm currently working around this by creating a new active tab, and removing the target tab after 500ms.

  • Any related issues:
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants