New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 636542 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
User never visited
Closed: Aug 22
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug-Regression



Sign in to add a comment

The unload confirmation prompt should say "leave this page", not "site"; and "reload" when it is the same page

Reported by teo8...@gmail.com, Aug 10 2016

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.82 Safari/537.36

Steps to reproduce the problem:
1. visit http://output.jsbin.com/badageb
2. Click on the link that reads "link to self"

This is a simplification. This could be a page in a website with a link to another page belonging to the same website

What is the expected behavior?
Since (despite the specs) you don't allow to set the prompt message for questionable "security" reasons, you should make sure that the message is correct.

1) When you are actually navigating to a different url or closing the tab/window, it should read "Do you want to leave this PAGE", not "site", because you are not necessarily leaving the site. The concept of "site" is not well defined, so we can't expect the browser to distinguish the case where you are leaving the site from the case where you are navigating to a page belonging to the same site. But we do can expect it to use a proper language and ask a question that always makes sense: whether you want to leave the PAGE

2) When you click a link to the same url of the current document, or when you focus the address bar and hit Enter (or re-type the full url of the current page, for that matter), the prompt should be the same that is used when you hit the Reload button: "Do you want to reload this page" (again, it should read "page", not "site").

What went wrong?
1) It says "site"

2) When you click a link to the same page itself, or  when you focus the address bar and hit Enter (or re-type the full url of the current page, for that matter), it still says "do you want to leave this site". Regardless of the site/page terminology, here the issue is that you are not leaving the page, you are reloading it, and it's trivial to detect it.

Did this work before? N/A 

Chrome version: 52.0.2743.82  Channel: n/a
OS Version: 
Flash Version: Shockwave Flash 22.0 r0
 
Cc: msrchandra@chromium.org
Labels: -Type-Bug M-54 OS-Mac OS-Windows Type-Bug-Regression
Able to reproduce the issue on Chrome Stable# 52.0.2743.116 on Windows, Mac and Linux.
Below are the CL details,

Chrome Good Build -- 51.0.2674.0
Chrome Bad  Build -- 51.0.2675.0

CHANGELOG URL:
  https://chromium.googlesource.com/chromium/src/+log/2afd50f7c9cabd070622946a06ac31e00eebe763..e03eeda3dc9260571b9f12681834f6835e6c81d0

Thank You.
Cc: -msrchandra@chromium.org gov...@chromium.org
Owner: tinazh@chromium.org
Status: Assigned (was: Unconfirmed)
I'm not sure who works on copy. Assigning to a TPM.  

Comment 3 by gov...@chromium.org, Aug 19 2016

Cc: ligim...@chromium.org
Status: Archived (was: Assigned)
Archiving old bugs that haven't been modified in over two years. 

If you feel this issue should still be addressed, feel free to reopen it or to file a new issue. Thanks!

Sign in to add a comment