Skip to content
This repository was archived by the owner on Mar 29, 2026. It is now read-only.

fix: chrome.runtime.sendMessage now returns a Promise#1069

Open
sun-yryr wants to merge 1 commit intofwouts:masterfrom
sun-yryr:fix/catch-sendmessage-promise2
Open

fix: chrome.runtime.sendMessage now returns a Promise#1069
sun-yryr wants to merge 1 commit intofwouts:masterfrom
sun-yryr:fix/catch-sendmessage-promise2

Conversation

@sun-yryr
Copy link
Copy Markdown

@sun-yryr sun-yryr commented Dec 9, 2025

Fixes #1068

Summary

I added a .catch block because chrome.runtime.sendMessage now returns a Promise.

https://developer.mozilla.org/ja/docs/Mozilla/Add-ons/WebExtensions/API/runtime/sendMessage

@fwouts
Copy link
Copy Markdown
Owner

fwouts commented Mar 29, 2026

Hi @sun-yryr, sorry I no longer have the time to maintain this project. Please feel free to start maintaining a fork.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Current master branch throws Uncaught (in promise) Error

2 participants