aFarkas/lazysizes

lazySizes Object undefined in latest Safari

TunaFFish opened this issue · 1 comments

Describe the bug
lazySizes Object is undefined in Safari

To Reproduce
http://afarkas.github.io/lazysizes/#examples

Steps to reproduce the behavior:

Inject Javascript:
var lz_Obj = window.lazySizes; console.log('window.lazySizes TYPE: ' + typeof lz_Obj, lz_Obj);

What is the expected behavior:
console output: window.lazySizes TYPE: object

What happened instead:
console output: window.lazySizes TYPE: undefined

In what environment (browser/device etc.) does this bug happen/not happen:
undefined in Safari 16.2
object in Firefox 108

Keywords help others to find this issue:
object, undefined, safari

Was something changed? It appears that in Safari 16.3 I can not reproduce the bug anymore.
typeof window.lazySizes returns as object