You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var x$10 = (void 0);
$m_Lchrome_runtime_Runtime$();
var x$11 = (void 0);
$m_Lchrome_runtime_Runtime$();
var x$12 = (void 0);
$m_Lchrome_runtime_Runtime$().sendMessage__sjs_js_UndefOr__sjs_js_Any__sjs_js_UndefOr__sjs_js_UndefOr__V(x$10, "hi", x$11, x$12)
Which seemingly matches chrome.runtime.sendMessage(undefined, "hi", undefined, undefined") but I am getting this error:
Error in event handler for runtime.onMessage: Error: Invalid arguments to sendMessage.
at $c_Lchrome_runtime_Runtime$.sendMessage__sjs_js_UndefOr__sjs_js_Any__sjs_js_UndefOr__sjs_js_UndefOr__V
Edit: Running in a content script this does not work:
I'm trying to send a message with
This is how it looks in js:
Which seemingly matches chrome.runtime.sendMessage(undefined, "hi", undefined, undefined") but I am getting this error:
Edit: Running in a content script this does not work:
But this does:
The text was updated successfully, but these errors were encountered: