Closed Bug 629911 Opened 14 years ago Closed 11 years ago

Tab modal prompts executed from address bar can make impossible to go back

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: jk1700, Assigned: enndeakin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [qa-])

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b11pre) Gecko/20110129 Firefox/4.0b11pre Build Identifier: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b11pre) Gecko/20110129 Firefox/4.0b11pre Clicking "back" button makes Firefox stay on the page with javascript prompt instead of going back Reproducible: Always Steps to Reproduce: 1. Open any page in new tab 2. Enter javascript:prompt('test') and press OK 3. Enter javascript:confirm('test') and press OK 4. Try to go back to the first page using the "back" button Actual Results: It's possible to go back to the prompt page but not to the first page Expected Results: It should be possible to go back to the first page If in p. 3 you execute alert('test') instead of confirm('test') then you will be able to go back
Blocks: 59314
Version: unspecified → Trunk
Blocks: 616843
No longer blocks: 59314
Whiteboard: p=0
Assignee: nobody → neil
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Whiteboard: p=0 → p=5 s=it-30c-29a-28b.2
Assignee: neil → enndeakin
We don't even allow calling alert or prompt any more from javascript urls (see bug 656433) so I'm just going to close this bug.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → INVALID
Whiteboard: p=5 s=it-30c-29a-28b.2 → p=5 s=it-30c-29a-28b.2 [qa-]
No longer blocks: fxdesktopbacklog
Whiteboard: p=5 s=it-30c-29a-28b.2 [qa-]
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.