Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Window object in dart:html has no prompt() method. #15170

Closed
DartBot opened this issue Nov 19, 2013 · 5 comments
Closed

The Window object in dart:html has no prompt() method. #15170

DartBot opened this issue Nov 19, 2013 · 5 comments
Labels
closed-as-intended Closed as the reported issue is expected behavior web-libraries Issues impacting dart:html, etc., libraries

Comments

@DartBot
Copy link

DartBot commented Nov 19, 2013

This issue was originally filed by greg...@gmail.com


The Window object in dart:html has no prompt() method.

http://stackoverflow.com/questions/20058426/how-to-make-window-prompt-in-dart/

http://api.dartlang.org/docs/channels/stable/latest/dart_html/Window.html

https://developer.mozilla.org/en-US/docs/Web/API/Window.prompt

@sethladd
Copy link
Contributor

Added Area-HTML, Triaged labels.

@blois
Copy link
Contributor

blois commented Nov 20, 2013

This was removed with bug 1366 because the synchronous behavior of prompt was considered harmful and to discourage bad UX practices.


Added AsDesigned label.

@DartBot
Copy link
Author

DartBot commented Nov 20, 2013

This comment was originally written by greg.lo...@gmail.com


Does the same argument apply to window.confirm()?

To be consistent this should also be removed.

http://api.dartlang.org/docs/channels/stable/latest/dart_html/Window.html#confirm

@DartBot
Copy link
Author

DartBot commented Nov 22, 2013

This comment was originally written by dvo...@gmail.com


That is a really good point greg.lowe. +1

@DartBot
Copy link
Author

DartBot commented Oct 23, 2014

This comment was originally written by aleskv...@mailinator.com


Finally I made a package with it. See https://pub.dartlang.org/packages/dialog for more details. P.S.: it is under development (not working yet)

@DartBot DartBot added Type-Defect web-libraries Issues impacting dart:html, etc., libraries closed-as-intended Closed as the reported issue is expected behavior labels Oct 23, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-as-intended Closed as the reported issue is expected behavior web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

4 participants