ChromeDevTools / EmulatedDeviceLab

An experimental prototype exploring simultaneous emulation of devices via Chrome DevTools

Home Page:https://chrome.google.com/webstore/detail/oaonfodocibcdobdeelbbfggjombamff/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EDL main window should be a popup instead of a tab

kdzwinel opened this issue · comments

EDL complements your primary dev window
so it probably should be a popup instead of a tab

@paulirish Unfortunately:

https://developer.chrome.com/extensions/tabCapture#method-capture

Capture is maintained across page navigations within the tab, and stops when the tab is closed, or the media stream is closed by the extension.

As soon as popup gets closed Chrome kills the stream and you have to re-request it via "Stream to EDL" 😢

That's also why after reloading EDL tab all streams are lost.

Hmm.. but when clicking the EDL icon, why not launch a new popup for EDL instead of a new tab. I dont see why it'd matter to the capture api

Are we thinking about the same popup? Something like this:

screen shot 2015-11-15 at 01 38 48

Right? This popup closes as soon as you focus on another window/tab. When it closes all requested streams get invalidated and can't be used again. User has to manually reenable them via "Stream to EDL".

no like a popup window. window.open() style :)

Something like this?

edl