Skip to content

fix(geolocation): always invoke callback / signal on JS-bridge failure#24260

Merged
Artur- merged 1 commit intomainfrom
geo-always-response
May 5, 2026
Merged

fix(geolocation): always invoke callback / signal on JS-bridge failure#24260
Artur- merged 1 commit intomainfrom
geo-always-response

Conversation

@Artur-
Copy link
Copy Markdown
Member

@Artur- Artur- commented May 5, 2026

Geolocation.get() and the watch path silently dropped the request when the JS bridge rejected (module not loaded, executeJs error, serialization mismatch). The application saw nothing — only a DEBUG log line. Now both paths surface the failure as a GeolocationError carrying the UNKNOWN error code, so apps see a consistent outcome via their existing callback or valueSignal.

Geolocation.get() and the watch path silently dropped the request when
the JS bridge rejected (module not loaded, executeJs error, serialization
mismatch). The application saw nothing — only a DEBUG log line. Now both
paths surface the failure as a GeolocationError carrying the UNKNOWN
error code, so apps see a consistent outcome via their existing callback
or valueSignal.
@github-actions github-actions Bot added the +1.0.0 label May 5, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 5, 2026

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

Test Results

 1 396 files  ±0   1 396 suites  ±0   1h 17m 35s ⏱️ +59s
10 090 tests +2  10 020 ✅ +2  70 💤 ±0  0 ❌ ±0 
10 565 runs  +2  10 486 ✅ +2  79 💤 ±0  0 ❌ ±0 

Results for commit 012497b. ± Comparison against base commit 9ac549e.

@Artur- Artur- added this pull request to the merge queue May 5, 2026
Merged via the queue into main with commit 81e9281 May 5, 2026
31 checks passed
@Artur- Artur- deleted the geo-always-response branch May 5, 2026 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants