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

Issue 843098 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 699067
Owner: ----
Closed: Jun 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Copying large amount of HTML to the clipboard using clipboardData.setData('text/html', ...) fails

Reported by sjom...@gmail.com, May 15 2018

Issue description

Steps to reproduce the problem:
Steps to reproduce the problem:
1. Navigate to https://jsfiddle.net/SamMiller/vb7yzwy7/ on Chrome in Android.
2. Tap on the copy button which should copy a large amount of html to the clipboard.
3. An android native message bubble will appear at the bottom of the screen saying "Failed to copy to the clipboard".

What is the expected behavior?
The large amount of HTML should be copied to the clipboard.

What went wrong?
Nothing is copied to the clipboard and a native message bubble appears at the bottom of the screen saying "Failed to copy to the clipboard".

Did this work before? N/A 

Does this work in other browsers? N/A

Chrome version: 66.0.3359.158  Channel: stable
OS Version: 8.1.0
Flash Version: 

This bug is related to https://bugs.chromium.org/p/chromium/issues/detail?id=699067, but I've raised a separate one here on the grounds that copying HTML to the clipboard should work.
 
Labels: Needs-triage-Mobile
Cc: sandeepkumars@chromium.org
Labels: FoundIn-66 M-68 FoundIn-67 Triaged-Mobile FoundIn-68
Status: Untriaged (was: Unconfirmed)
Tested the issue using #66.0.3359.156 on Pixel 2; 8.1.0 and could observe Failed to copy to the clipboard as per the steps mentioned below.

Steps:
1. Launched Browser
2. Navigate to https://jsfiddle.net/SamMiller/vb7yzwy7/ on Chrome in Android.
3. Tap on the copy button which should copy a large amount of html to the clipboard.
3. An android native message bubble is observed at the bottom of the screen saying "Failed to copy to the clipboard".

Observing the same behavior since M60. Untriaged for further inputs

Please navigate to below link for log's and screen cast and screenshot of the error --
go/chrome-androidlogs/843098 

Issue is seen in M68 as well

Thanks!!

Comment 3 by pwnall@chromium.org, Jun 18 2018

Cc: pwnall@chromium.org
Labels: -Pri-2 Pri-3
Mergedinto: 699067
Status: Duplicate (was: Untriaged)
Sorry, I really don't understand what's different from Issue 699067. This issues seems to cover the same code and the same error.

Sign in to add a comment