Closed Bug 1567729 Opened 6 years ago Closed 6 years ago

Confirm dialog result inverted on first use for page

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: oran, Unassigned)

Details

Attachments

(1 file)

327 bytes, text/html
Details
Attached file test.html

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0

Steps to reproduce:

Create the attached HTML file on a web server. Load the page and click Delete, then and OK or Cancel in the confirm dialog. Close the following alert (if any). Then repeat multiple time from clicking Delete.

Then repeat the whole process multiple times from loading the page.

Actual results:

The first time clicking OK or Cancel for each page load, the alert appears if Cancel was clicked and does not appear if OK was clicked. From the second time clicking OK or Cancel for the page load, the alert appears if OK was clicked and does not appear if Cancel was clicked.

Expected results:

Under all conditions, the alert should appear if OK was clicked and should not appear if Cancel was clicked.

Version number does not show up within FF, but play store says last updated 11 Jun 2019 and no updates available today (21 Jul 2019)

I am using Firefox Focus on Android 8.1.0, Model 5059T, Security patch level 5 May 2019, Kernel Version 4.4.95, Build number 09020.

This behavior reproduces on Desktop Firefox.

Group: mobile-core-security
Component: General → DOM: Core & HTML
OS: Unspecified → All
Product: Firefox for Android → Core
Hardware: Unspecified → All

I can't reproduce this (using Nightly/Linux). What are the exact steps to reproduce.

The alert should be shown if the OK was clicked, and shouldn't be if Cancel was click, and that is the behavior I get.

Kevin, on which desktop platform did you see this?

Flags: needinfo?(kbrosnan)

I can't reproduce this on Windows 10 using nightly 71, either.
Going to close as WORKSFORME.

Kevin, please feel free to reopen when you have a chance to get back here with comment 4 and if it's still valid

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → WORKSFORME
Flags: needinfo?(kbrosnan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: