Repository navigation
web/polyfill: polyfill customElements.getName for Safari < 17.4 (cherry-pick #22940 to version-2026.5) - #22963
Merged
PeshekDotDev merged 2 commits intoJun 10, 2026
Conversation
* web/polyfill: polyfill customElements.getName for Safari < 17.4 The flow renderer started calling window.customElements.getName in 2026.5, which crashes on iOS 16 Safari and any WebKit WebView before 17.4. Reporters saw "getName is not a function" at the first stage render and the page never recovered. The polyfill wraps define() to record each tag and constructor pair, then resolves getName(ctor) from that map. It only installs when the registry is missing the method, so modern browsers keep their native implementation. The polyfill bundle is loaded from base/skeleton.html ahead of every interface entry point, so the wrap is in place before any customElements.define call runs. Fixes #22611 Co-Authored-By: Agent (authentik-i22611-committed-cooperative-orchid) <[email protected]> * Refine. --------- Co-authored-by: Agent (authentik-i22611-committed-cooperative-orchid) <[email protected]> Co-authored-by: Connor Peshek <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## version-2026.5 #22963 +/- ##
==================================================
- Coverage 93.26% 93.24% -0.02%
==================================================
Files 1033 1033
Lines 60181 60181
Branches 400 400
==================================================
- Hits 56126 56115 -11
- Misses 4055 4066 +11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
GirlBossRush
approved these changes
Jun 9, 2026
✅ Deploy Preview for authentik-integrations ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Contributor
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-e2bd80418beef8823950da9f9f70a05612f37db4
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-e2bd80418beef8823950da9f9f70a05612f37db4Afterwards, run the upgrade commands from the latest release notes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Cherry-pick of #22940 to
version-2026.5branch.Original PR: #22940
Original Author: @GirlBossRush
Cherry-picked commit: b456e4a