jeromekjerome
jeromekjerome

Reputation: 501

google chrome extension messaging how many variables can be passed in a message?

I am writing a Google Chrome extension. The following request message works:

chrome.extension.sendRequest({cmd: "examineDetails", urlList: profileLink, photoList: photoType});

This request doesn't work:

chrome.extension.sendRequest({cmd: "openMessage", url: messageLink, keyWordList: keyWord, bGreeted: bAlreadyGreeted});  

Is there a limit to the number of variables I can pass in a message or am I formatting this wrong?

Upvotes: 0

Views: 73

Answers (1)

Dmitrii Sorin
Dmitrii Sorin

Reputation: 4016

It should work. Check your code and request listeners and try again.

Upvotes: 1

Related Questions