watir/watirspec — comment on commit f6fa7803c63a847f466f101d397c85e26ee15167
File:  line 0
By jarib:

```window.showModalDialog``` is not IE-specific, so not sure it makes sense to guard this as such. There's a few other problems with the spec though:

* The HTML backing this spec is using ```document.all```, which doesn't work in Firefox. We should strive to write cross-browser compatible HTML for the specs (unless we're testing something very browser-specific).
* ```#hwnd``` is a Windows thing, and not something watir-webdriver will ever support. If you want this as part of the Watir gem's API, it should be in that implementation's own specs, not watirspec IMHO.

Is there a technical reason we don't just expose modal dialogs through the ```Browser#windows``` API? @jarmo added support for that to the Watir gem recently, and I think having just one API for all window handling would keep things a lot simpler from the user perspective.

I also don't quite get how ```browser.modal_dialog(:title, 'Modal Dialog')``` can work when the dialog in question has title "Forms with input elements".