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

Issue 820633 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

ui/file_manager/file_manager/test/scripts/create_test_main.py

Project Member Reported by sashab@chromium.org, Mar 9 2018

Issue description

What steps will reproduce the problem?
(1) ui/file_manager/file_manager/test/scripts/create_test_main.py
(2) out/Default/chrome --user-data-dir=out/Default/user-data-dir --disable-web-security ui/file_manager/file_manager/test/main.html

What is the expected result?

Can run the files app in a browser window.

What happens instead?

The error 'Access to this file was denied' appears.

Joel -- could the problem be that I'm running it in ChromeOS? Maybe this should launch a non-ChromeOS version of the tests.
 
Screenshot from 2018-03-10 10-10-44.png
69.9 KB View Download
Status: WontFix (was: Assigned)
Using the |target_os='chromeos'| version of chrome doesn't work.  Besides the ERR_ACCESS_DENIED, which I'm not really sure about, I think that the path you have given the browser will not resolve under chromeos env.  You could probably get this to work by coping all the required files in Downloads or something.

But don't bother.  I have used the linux and mac builds successfully.  I mostly use dev channel chrome on linux

/opt/google/chrome-unstable/chrome --user-data-dir=/tmp/chrome-user-data-dir --disable-web-security ui/file_manager/file_manager/test/main.html

Comment 2 by sashab@chromium.org, Mar 11 2018

Sgtm. Thanks Joel!

Sign in to add a comment