enhancementgood first issuehelp wanted
Repository metrics
- Stars
- (50 stars)
- PR merge metrics
- (No merged PRs in 30d)
Description
function backgroundStuff() {
expectBackground();
// -> Error: Expected background context, found content script
chrome.alarms.set(…);
}
I'm not sure about the API because this would only accept one type at a time and no negatives, e.g. "expect not background"