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

Issue 666146 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Autotest code to enable ARC leaves chrome://settings tab open

Project Member Reported by derat@chromium.org, Nov 17 2016

Issue description

When I pass arc_mode='enabled' to autotest's Chrome class's c'tor, it leaves a chrome://settings tab open.

I think that this is coming from enable_arc_setting() in client/common_lib/cros/arc_util.py -- it navigates the first tab to chrome://settings, but doesn't appear to do anything with it after it's done.

I'd like to look into making this code open a new tab instead and then close it when it's done.
 
Cc: uekawa@chromium.org cywang@chromium.org

Comment 2 by derat@chromium.org, Nov 17 2016

Status: Started (was: Assigned)
https://chromium-review.googlesource.com/#/c/412286/
Project Member

Comment 3 by bugdroid1@chromium.org, Nov 19 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/third_party/autotest/+/be39cd54afe24d6cc346689ab81c03147e7290ef

commit be39cd54afe24d6cc346689ab81c03147e7290ef
Author: Daniel Erat <derat@chromium.org>
Date: Thu Nov 17 23:45:26 2016

autotest: Use new tab for ARC setting and close afterward.

Make arc_util's enable_arc_setting() function create a new
tab for loading chrome://settings and close it when done. It
previously just navigated the first tab (assuming there'd
be one, I think) and left it open.

Also inline some JavaScript code that was wrapped due to
being stored in one-off local variables.

BUG= chromium:666146 
TEST=manually checked that new tab is opened for settings
     and closed when done

Change-Id: Idac7966c4fbd8670a41107220572a5c7b895a49a
Reviewed-on: https://chromium-review.googlesource.com/412286
Commit-Ready: Dan Erat <derat@chromium.org>
Tested-by: Dan Erat <derat@chromium.org>
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Chung-yih Wang <cywang@google.com>

[modify] https://crrev.com/be39cd54afe24d6cc346689ab81c03147e7290ef/client/common_lib/cros/arc_util.py

Comment 4 by derat@chromium.org, Nov 19 2016

Status: Fixed (was: Started)

Comment 5 by uekawa@chromium.org, Nov 21 2016

Cc: victorhsieh@chromium.org levarum@chromium.org derat@chromium.org lpique@chromium.org dspaid@chromium.org lhchavez@chromium.org domlasko...@chromium.org
 Issue 666871  has been merged into this issue.

Comment 6 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 7 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

Comment 8 by dchan@google.com, May 30 2017

Labels: VerifyIn-60

Comment 9 by dchan@chromium.org, Aug 1 2017

Labels: VerifyIn-61

Comment 10 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)

Sign in to add a comment