We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70f493b commit d969324Copy full SHA for d969324
packages/selenium-ide/src/plugin/communication.js
@@ -22,7 +22,7 @@ import Manager from './manager'
22
23
export function sendMessage(id, payload) {
24
return browser.runtime
25
- .sendMessage(id, payload)
+ .sendMessage(id, JSON.parse(JSON.stringify(payload)))
26
.then(response => {
27
if (response === undefined || response === null) {
28
return Promise.reject(
packages/selenium-ide/src/plugin/manager.js
@@ -114,7 +114,7 @@ class PluginManager {
114
entity: 'project',
115
project,
116
})
117
- .catch(() => false)
+ .catch(() => ({ canEmit: false }))
118
.then(({ canEmit }) => {
119
plugin.canEmit = canEmit
120
return plugin
0 commit comments