On Thu, Dec 22, 2016, at 05:41 AM, Joe Hildebrand wrote: > > On Dec 20, 2016, at 6:25 PM, Xidorn Quan <m...@upsuper.org> wrote: > > > >> So dialog.showModal() does not need to block script like other > >> modal APIs? > > > > > > Definitely not. I think this is designed to replace those blocking API. > > Why doesn't showModal() return a Promise?
This is a question for the spec. I guess it theoretically can return a Promise, though I suspect that there might be some weird corner cases which is hard to handle. Anyway, I don't think dev-platform is the right place for this kind of spec issues. You can raise an issue to HTML spec to start the discussion there. - Xidorn _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform