<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">2017-08-02 21:11 GMT+02:00 Kris Maglione <span dir="ltr"><<a href="mailto:kmaglione@mozilla.com" target="_blank">kmaglione@mozilla.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Important caveats: *Please* be careful how you use this. And especially keep in mind that there may need to be a paint before your promise resolves and any dependent DOM updates happen. If you're not absolutely sure that that won't result in glitchy UI behavior, *please test carefully* to make sure that it doesn't.<br></blockquote><div><br></div><div>I'd like to stress this. This has been a problem here:<br></div><div><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1385729#c0">https://bugzilla.mozilla.org/show_bug.cgi?id=1385729#c0</a></div><div><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1358712#c5">https://bugzilla.mozilla.org/show_bug.cgi?id=1358712#c5</a><br></div></div></div><div class="gmail_extra"><br></div><div class="gmail_extra">And likely here:</div><div class="gmail_extra"><a href="https://bugzilla.mozilla.org/show_bug.cgi?id=1356532#c22">https://bugzilla.mozilla.org/show_bug.cgi?id=1356532#c22</a></div><div class="gmail_extra"><br></div><div class="gmail_extra">I'm afraid this API is a massive footgun. :/</div><div class="gmail_extra">Can we remove this from the "performance best practices" document for now?<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">dao<br></div></div>