Skip to content

Conversation

@vmpstr
Copy link
Owner

@vmpstr vmpstr commented Sep 15, 2021

No description provided.


Note that since the extension of the filename can be determined automatically
by the User Agent, we feel that the choice should not be in the developer's
options to avoid security problems (e.g. developer picking `.exe` as an

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As well as the security issue, the image may be one of multiple formats depending on client side configuration (<picture>) or content negotiation on the server.


## Summary

The IMG `basename` attribute is an attribute specified on the IMG element. It

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any thoughts about making this work on <canvas>, <video> and <audio> too?

Copy link

@jakearchibald jakearchibald left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple of notes, but LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants