Wrap devtools window for access from JS
Merge pull request #1315 from kingFighter/tests

[test] Update test case for snapshot
Audio gets choppy when the device list is duplicated

Fix #1270
use media_id when doing screen capture

Fix #1309
[test] add a test case to test document.cookies for 'http', 'file' and 'app' protocol. See issue #1130