mirror of
https://github.com/openstf/stf
synced 2025-10-05 19:42:01 +02:00
URLs can now be opened.
This commit is contained in:
parent
71bf2fd131
commit
33d2862704
6 changed files with 77 additions and 44 deletions
|
@ -556,6 +556,16 @@ module.exports = function(options) {
|
|||
)
|
||||
])
|
||||
})
|
||||
.on('browser.open', function(channel, responseChannel, data) {
|
||||
joinChannel(responseChannel)
|
||||
push.send([
|
||||
channel
|
||||
, wireutil.transaction(
|
||||
responseChannel
|
||||
, new wire.BrowserOpenMessage(data)
|
||||
)
|
||||
])
|
||||
})
|
||||
})
|
||||
.finally(function() {
|
||||
// Clean up all listeners and subscriptions
|
||||
|
@ -582,8 +592,6 @@ module.exports = function(options) {
|
|||
socket.on('forward', function(data) {})
|
||||
socket.on('refresh', function(data) {})
|
||||
socket.on('internal.relaunch', function(data) {})
|
||||
socket.on('browser.open', function(data) {})
|
||||
socket.on('chrome.open', function(data) {})
|
||||
socket.on('browser.clear', function(data) {})
|
||||
socket.on('chrome.clear', function(data) {})
|
||||
socket.on('internal.clear', function(data) {})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue