Please attach a testcase or provide a public URL that exhibits the issue
Version: unspecified → 4.0 Branch
Reporter -> Are you still experiencing this issue? Please attach a testcase of provide a URL that shows the issue
Created attachment 537966 [details] An example of promp. Alert shows the value You may also see how it works here: http://livescript.ucoz.ru/prompt.html
Attachment #537966 - Attachment mime type: text/plain → text/html
WFM on Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110607 Firefox/7.0a1 ID:20110607030744 If I enter any text in the alert dialog it is shown on the next alert - tried 10x in a row. What are you seeing happen?
(In reply to comment #4) > WFM on Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110607 Firefox/7.0a1 > ID:20110607030744 > > If I enter any text in the alert dialog it is shown on the next alert - > tried 10x in a row. What are you seeing happen? When you click 'prompt' for the first time, everything is correct. The next window shows you the value returned by function prompt. But if you click 'prompt' for the second time (or more) and choose 'cancel' or just close prompt window, you will see 'works' instead of 'null' (you may compare the result in Chrome, for example)
WFM on Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110607 Firefox/7.0a1 ID:20110607030744 I can enter text and click OK and I see the text. If I click on cancel the next dialog returns null. Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic+Troubleshooting#Make_a_new_profile
(In reply to comment #6) Thanks a lot! I tested Firefox in Safe Mode and the problem didn't appear. I found that the reason was the AlertStopper extension. And yes, the second window returned the right value, but when I continued clicking 'prompt' it caused this mistake.
Please report to the add-on developer and point them to this bug report.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Component: General → Extension Compatibility
QA Contact: general → extension.compatibility
Resolution: --- → INVALID
Whiteboard: [Caused by AlertStopper]
You need to log in before you can comment on or make changes to this bug.