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

Issue 704561 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

NOTREACHED(). The context menu is still there after a navigation and the user can click on "forward".

Project Member Reported by arthurso...@chromium.org, Mar 23 2017

Issue description

Chromium: 59.0.3050.0 (Developer Build) (64-bit)
Revision: 857be195275fb6546a034c1e18ea3b54fe741c82
OS: Linux

When a navigation occurs and the user opens the context menu, the context menu is still there after the navigation. The user can click on "forward", even if it isn't possible to move forward in the history.

What steps will reproduce the problem?
(1) Go to to the page A with a link to B and C
(2) Navigate to B
(3) GoBack to A
(4) Navigate to C and open the context menu before the navigation occurs.
(5) You should be on page C, but the "forward" entry in the context menu should still be available. Click on it.

What is the expected result?
The user shouldn't be able to click on forward.

What happens instead?
In NavigationControllerImpl::GoToIndex(int index): NOTREACHED()
```
  if (index < 0 || index >= static_cast<int>(entries_.size())) {
    NOTREACHED();
    return;
  }
```

Please use labels and text to provide additional information.

[147872:147872:0323/151654.106828:FATAL:navigation_controller_impl.cc(602)] Check failed: false. 
#0 0x2b5b3155acab base::debug::StackTrace::StackTrace()
#1 0x2b5b3155933c base::debug::StackTrace::StackTrace()
#2 0x2b5b315c724f logging::LogMessage::~LogMessage()
#3 0x2b5b36477b4a content::NavigationControllerImpl::GoToIndex()
#4 0x2b5b36477978 content::NavigationControllerImpl::GoForward()
#5 0x2b5b2e6c6781 RenderViewContextMenu::ExecuteCommand()
#6 0x2b5b2d518ea9 RenderViewContextMenuViews::ExecuteCommand()
#7 0x2b5b3471e58d ui::SimpleMenuModel::ActivatedAt()
#8 0x2b5b3ce79965 views::MenuModelAdapter::ExecuteCommand()
#9 0x2b5b3ce7d84d views::internal::MenuRunnerImpl::MenuDone()
#10 0x2b5b3ce7d9a9 views::internal::MenuRunnerImpl::OnMenuClosed()
#11 0x2b5b3ce5dce6 views::MenuController::ExitAsyncRun()
#12 0x2b5b3ce60b3f views::MenuController::Accept()
#13 0x2b5b3ce60680 views::MenuController::OnMouseReleased()
#14 0x2b5b3ce71eaa views::MenuHostRootView::OnMouseReleased()
#15 0x2b5b3cf4de2c views::Widget::OnMouseEvent()
#16 0x2b5b3cf99e89 views::DesktopNativeWidgetAura::OnMouseEvent()

 
out-9.ogv
1.6 MB View Download

Comment 1 by nasko@chromium.org, Mar 27 2017

Cc: creis@chromium.org nasko@chromium.org

Sign in to add a comment