Skip to content

New Release v1.57.2 - #patch#1374

Merged
pakb merged 4 commits intomasterfrom
develop
Jul 7, 2025
Merged

New Release v1.57.2 - #patch#1374
pakb merged 4 commits intomasterfrom
develop

Conversation

@pakb
Copy link
Contributor

@pakb pakb commented Jul 7, 2025

pakb added 2 commits July 7, 2025 08:20
It looks like ServiceWorker/Workbox is providing the index HTML page when Firefox is attempting to download the PDF report from service-print3.
@github-actions github-actions bot changed the title #patch New Release v1.57.2 - #patch Jul 7, 2025
@pakb pakb requested review from ismailsunni and sommerfe July 7, 2025 07:05
Copy link
Contributor

@ismailsunni ismailsunni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

new NavigationRoute(createHandlerBoundToURL('index.html'), { allowlist }),
new NavigationRoute(createHandlerBoundToURL('index.html'), {
allowlist,
// exclude print explicitly as SW is sometimes messing with the download URL on Firefox
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not so obvious at my first read, here, SW means service workers, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes 😅

@cypress
Copy link

cypress bot commented Jul 7, 2025

web-mapviewer    Run #5500

Run Properties:  status check passed Passed #5500  •  git commit 7721b8fc0e: Merge pull request #1375 from geoadmin/fix-PB-1816-narrow-cache-definition
Project web-mapviewer
Branch Review develop
Run status status check passed Passed #5500
Run duration 06m 30s
Commit git commit 7721b8fc0e: Merge pull request #1375 from geoadmin/fix-PB-1816-narrow-cache-definition
Committer Pascal Barth
View all properties for this run ↗︎

Test results
Tests that failed  Failures 0
Tests that were flaky  Flaky 0
Tests that did not run due to a developer annotating a test with .skip  Pending 20
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 254
View all changes introduced in this branch ↗︎

pakb added 2 commits July 7, 2025 09:43
trying to stop ServiceWorker from filling up requests to service-print3 downladURL on Firefox.

also removing the setCacheNameDetails call, as it wasn't working properly (only prefixing one of the 3 cache storage). I've manually added the prefix instead
…ition

PB-1816: narrowing index.html cache definition to current origin only
@pakb pakb merged commit 65cbf21 into master Jul 7, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants