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

Issue 608060 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

copyTo/moveTo give EncodingError when trying to move/copy file within isolated file system root

Project Member Reported by jsb...@chromium.org, Apr 29 2016

Issue description

Repro:

* Author an HTML page with a drop handler, handle item.kind==='file' by calling webkitGetAsEntry, and for file entries (isFile), call getParent(), then try to moveTo() or copyTo() the item to a new name - see attached sample.
* Drag a single file in

Expected:

* SecurityError

Actual:

* EncodingError: "A URI supplied to the API was malformed, or the resulting Data URL has exceeded the URL length limitations for Data URLs."

If you drag a directory containing a single file a SecurityError is raised, which makes more sense.

 
encoding-error.html
1.6 KB View Download
Labels: EntriesAPI

Comment 2 by jsb...@chromium.org, May 16 2017

Description: Show this description
Project Member

Comment 3 by sheriffbot@chromium.org, May 17 2018

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Status: Available (was: Untriaged)
Cc: kinuko@chromium.org
 Issue 639176  has been merged into this issue.
Labels: Hotlist-GoodFirstBug
Duplicated bug ( issue 639176 ) has a separate repro (file:// pages) for the same root cause.

I'll proceed with this issue.

Sign in to add a comment