I hope they start to provide, when appropriate, non-JavaScript APIs for some of these things. Full screen is one that could be useful.
<some-new-form>
<input type="hidden" value="fullscreen" />
<input type="submit" value="Go fullscreen" />
</some-new-form>Web components. At least their usage is plain HTML and could do what you want internally with the JS API.