I was doing some tests in the devtools console and I noticed another "quite scaring" thing.
(Anyone who has stumbled upon my previous thread will perhaps begin to think that I possess a certain nefarious "gift".)
I was inspecting a page of my extension and in the console I wrote:
await chrome.alarms.getAll()
The result I got is rightly the array with all the alarms set in the past (in my case 3).
Then, by pure coincidence, I wrote:
chrome.alarms.create('foobar', {when: Date.now () - 120000})
Note the minus sign instead of the plus sign.
I immediately noticed the mistake and I thought: "Never mind, probably this alarm was not created". I wish it was like that!
I run chrome.alarms.getAll() againg and with disbelief I see that the 3 alarms created in the past no longer exist. empty array []
I tried version 105 and 109 (Canary) and the result is the same.
I don't know what to say, please tell me I need to take a vacation