Alert prompt closes immediately after opening when called from geolocation callback invoked from certain button handlers

RESOLVED INVALID

Status

()

RESOLVED INVALID
8 years ago
8 years ago

People

(Reporter: jdm, Unassigned)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Created attachment 513519 [details]
Testcase

STR:
1. open the testcase
2. share geolocation from the popup
3. click each button

Expected:
Three tab-modal prompts that say "woo!"

Actual:
from the first button (onclick), a prompt appears and then closes immediately
from the second (onmousedown), a prompt appears normally
from the third (onmouseup), a prompt appears and then closes immediately
(Reporter)

Comment 1

8 years ago
Never mind, I wasn't preventing the default button action which was navigating away from the current page and aborting the alert dialogs.
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.