Safari Error when dynamic src ends up being null
Opened this issue · 3 comments
hereiam133 commented
Seems safari blows up when the src for the iron-image is null.
patrinhani-ciandt commented
👍
Legioth commented
With src
being null
or undefined
, <iron-image>
behaves as though the src
would be "null"
or "undefined"
respectively, thus causing a request to an URL that most likely doesn't return an image. This happens in all browsers.
davidmaxwaterman commented
Is there a workaround for this? I keep seeing references to '/undefined' in devtools network panel, and while it doesn't seem to cause any problems, it does ring alarm bells when I see it...and it makes it look like there's an error in my code, when it's actually iron-image. I tried setting src to '#', but then it simply references 'localhost' (since I'm running on localhost using polymer serve).