Revert "Drop support for Safari 16 and Firefox 102"

This reverts commit e2a7740322.

structuredClone errors in these browsers were a symptom of inavertently
including Error objects in reporter events. In newer browsers,
structuredClone can copy those objects, but it's lossy: if an instance of
an Error subclass is cloned, the result is an instance of Error.

With that fixed, Jasmine is compatible with Safari 16 and FF 102. At least
for now. And keeping them around may provide a way to detect similar bugs.
This commit is contained in:
Steve Gravrock
2025-09-21 08:41:15 -07:00
parent 17c0567bae
commit 4a36ece65b
2 changed files with 5 additions and 3 deletions

View File

@@ -30,9 +30,9 @@ Microsoft Edge) as well as Node.
| Environment | Supported versions |
|-------------------|----------------------------------|
| Node | 20, 22, 24 |
| Safari | 17* |
| Safari | 16*, 17* |
| Chrome | Evergreen |
| Firefox | Evergreen, 115*, 128*, 140 |
| Firefox | Evergreen, 102*, 115*, 128*, 140 |
| Edge | Evergreen |
For evergreen browsers, each version of Jasmine is tested against the version of the browser that is available to us

View File

@@ -35,10 +35,12 @@ if [ "$1" = "--not-actually-all" ]; then
else
run_browser firefox 140
run_browser firefox 128
fi
run_browser firefox 115
fi
run_browser firefox 102
run_browser safari 17
run_browser safari 16
run_browser MicrosoftEdge latest