New issue
Advanced search Search tips

Issue 708516 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 587940
Owner:
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

onbeforeunload is not working

Reported by mailsumi...@gmail.com, Apr 5 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.110 Safari/537.36

Steps to reproduce the problem:
1. creating onbeforeunload method in script
2. Want to leave the Page 
3. The alert message shows

What is the expected behavior?
Want to customize the alert and message. 

What went wrong?
Not able to change the alert type and message for chrome.

Did this work before? N/A 

Chrome version: 57.0.2987.110  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version:
 
Components: -Blink UI>Browser>Navigation
Labels: Needs-Feedback
We require an example for reproduction. Please provide a link or a test case.

Comment 2 by woxxom@gmail.com, Apr 5 2017

>Not able to change the alert type and message for chrome.

This is the intended behavior in modern browsers, including Chrome, see  issue 587940 .

Comment 3 by creis@chromium.org, Apr 5 2017

Owner: a...@chromium.org
Status: WontFix (was: Unconfirmed)
Correct.  Thanks for chiming in!

Comment 4 by creis@chromium.org, Apr 6 2017

Mergedinto: 587940
Status: Duplicate (was: WontFix)

Sign in to add a comment