Closed bgins closed 1 year ago
When more than one tab is open, the devtools will stop working in all but the last opened tab.
Developers can only use the devtools in one tab at a time.
Keep a map of ports from the background script to each devtools instance.
Filter messages in each devtools instance include only messages from its associated tab.
Summary
Problem
When more than one tab is open, the devtools will stop working in all but the last opened tab.
Impact
Developers can only use the devtools in one tab at a time.
Solution
Keep a map of ports from the background script to each devtools instance.
Filter messages in each devtools instance include only messages from its associated tab.