Closed
Bug 1336435
Opened 8 years ago
Closed 8 years ago
Responsive mode does not show JavaScript alert
Categories
(DevTools :: Responsive Design Mode, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1273997
People
(Reporter: KohlyKohl, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 Build ID: 20170203004018 Steps to reproduce: In responsive design mode, I expected an alert window to popup. Actual results: No error and no alert. Expected results: I expected a window to popup with an alert displaying my message. This same code works in Chrome device mode.
Component: Untriaged → Developer Tools: Responsive Design Mode
OS: Unspecified → Windows 7
Hardware: Unspecified → x86_64
Yes, you're correct, this is currently not working in RDM. So far, I've been hoping that `alert` is not critical for users of RDM and that `console.log` and similar are enough. If that turns out to be wrong, we can increase priority of resolving this.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Comment 2•7 years ago
|
||
alert() may not be important (although I wouldn't swear it), but confirm() and promp() are. They are great way to save time in MVP by avoiding the creating of manual confirmation and input modal screens. We usually only uses them in prototypes and early software versions, then later replace them with something better integrated. But right now we can't test them in Firefox responsive mode. Besides, even if alert() is not important, everybody will assume there is a bug in the code base, not that it doesn't work in Firefox. I spent 30 minutes trying to figure out what I did wrong, and even tested againts 2 real mobile phones before understanding the problem was on Mozillas's side.
Comment 3•7 years ago
|
||
(In reply to Kevin Samuel from comment #2) > alert() may not be important (although I wouldn't swear it), but confirm() > and promp() are. They are great way to save time in MVP by avoiding the > creating of manual confirmation and input modal screens. We usually only > uses them in prototypes and early software versions, then later replace them > with something better integrated. But right now we can't test them in > Firefox responsive mode. > > Besides, even if alert() is not important, everybody will assume there is a > bug in the code base, not that it doesn't work in Firefox. I spent 30 > minutes trying to figure out what I did wrong, and even tested againts 2 > real mobile phones before understanding the problem was on Mozillas's side. "even if alert() is not important, everybody will assume there is a bug in the code base, not that it doesn't work in Firefox. I spent 30 minutes trying to figure out what I did wrong." me too.
Updated•6 years ago
|
Product: Firefox → DevTools
Comment 4•6 years ago
|
||
Neither window.confirm is showing. I also spent several minutes until figure out that the problem wasn't at my code.
Comment 6•6 years ago
|
||
(In reply to sdk from comment #5)
Can confirm that this bug persists in v65.0 (64-bit) for Windows 10
Hi sdk, This was fixed in Bug 1273997, which will appear in Firefox 66. Please consider giving Firefox Developer Edition (https://www.mozilla.org/en-US/firefox/developer/) or Firefox Nightly (https://www.mozilla.org/en-CA/firefox/channel/desktop/) a try and you won't have the issues there.
(In reply to Gabriel [:gl] (ΦωΦ) from comment #6)
Great, thank you, Gabriel!
You need to log in
before you can comment on or make changes to this bug.
Description
•