showModalDialog (removed)

The global showModalDialog() method displays a modal dialog box containing a specified HTML document. This feature has an incredibly high cost in terms of code complexity since it requires us to run an event loop on top of an arbitrary JavaScript stack. It also complicates the web platform by making task dispatch reentrant and hard to reason about. In Chrome 37 it was disabled and in Chrome 43 it is removed.


Lots of discussion on Intent to Remove thread:!topic/blink-dev/xh9fPX0ijqk


Status in Chromium


Removed in:

  • Chrome for desktop release 42
  • Chrome for Android release 42
  • Android WebView release 42
  • Opera release 29
  • Opera for Android release 29

Consensus & Standardization


Last updated on 2017-06-14