79467982

Date: 2025-02-25 22:03:50
Score: 1.5
Natty:
Report link

Found the solution myself:

It was a browser issue all along. Karma/Jasmine are behaving just fine, and open links in a new window/tab as my tests intend.

Instead, the browser's popup blocker was at fault. I had thought that I had ruled out popup blockers before posting here, because I did not see any notifications about blocked windows. Turns out that Chromium (which I used for testing) does not show such notifications, but Firefox does. At least in my respective configurations.

Setting up exception rules has resolved the issue for both browsers.

My bad.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: meeque