Descriptiondevtools: avoid relying on the internal variables for browser
When the devtools are undocked, they live in their own browser. The
devtools could be moved to a different browser through the chrome.tabs
extension. This makes variables of the DevtoolsWindows out of sync
with the actual browser containing the devtools.
This CL removes the internal Browser* pointer and introduce methods to
retrieve the information from the browser list.
BUG=394341, 427226
Patch Set 1 #Patch Set 2 : Add DetachFromBrowser() #
Messages
Total messages: 9 (2 generated)
|