Files
shaka-player/build/types/polyfill
T
Andy(김규회) 05b09728c7 perf: Use Map.getOrInsert/getOrInsertComputed native methods (#9546)
Added polyfills for `Map.getOrInsert()` and
`Map.getOrInsertComputed()` from the TC39 upsert proposal and refactor
the codebase to use them.
These methods replace the common "check if key exists, then set default"
pattern with a single atomic operation. This improves code readability
and eliminates redundant map lookups throughout the player.

---------

Co-authored-by: Álvaro Velad Galván <ladvan91@hotmail.com>
2026-01-13 10:57:25 +01:00

18 lines
671 B
Plaintext

# Polyfills used to emulate missing browsers features.
+../../lib/polyfill/eme_encryption_scheme.js
+../../lib/polyfill/encryption_scheme_media_key_system_access.js
+../../lib/polyfill/encryption_scheme_utils.js
+../../lib/polyfill/map.js
+../../lib/polyfill/mcap_encryption_scheme.js
+../../lib/polyfill/mediasource.js
+../../lib/polyfill/media_capabilities.js
+../../lib/polyfill/patchedmediakeys_cert.js
+../../lib/polyfill/patchedmediakeys_webkit.js
+../../lib/polyfill/random_uuid.js
+../../lib/polyfill/symbol.js
+../../lib/polyfill/typed_array.js
+../../lib/polyfill/video_play_promise.js
+../../lib/polyfill/videoplaybackquality.js
+../../lib/polyfill/vttcue.js