New issue
Advanced search Search tips

Issue 888339 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 884100
Owner: ----
Closed: Sep 24
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: ----



Sign in to add a comment

onJsPrompt message truncated to 10240 bytes

Reported by ian.h...@prismatik.com.au, Sep 23

Issue description

Device name: GalaxyS9

From "Settings > About Chrome"
Application version: 69.0.3497.100
Operating system: Android 8.0.0

Summary:
I am seeing an issue since about September 13, 2018. In a Cordova application using the inappbrowser plugin, the main app executes some javascript on the inappbrowser and expects to receive a lot of content back, however, the content is unable to be parsed as it is truncated to a maximum length of 10240 bytes in the onJsPrompt function.

Has there been a recent change to reduce the maximum of the message argument in onJsPrompt? 

URLs (if applicable):

Steps to reproduce:
(1) Create WebView and setWebChromeClient
(2) Execute javascript via prompt() call that is expected to return a large result ~ 35kb
(3) 

Expected result:

In onJsPrompt in WebChromeClient, message argument should be the full ~35kb string

Actual result:
In onJsPrompt in WebChromeClient, message argument is truncated to 10240 bytes.




 
Labels: Needs-triage-Mobile
Cc: chelamcherla@chromium.org
Components: Mobile>WebView
Labels: WV-Triaged Needs-Feedback
@ ian.howe: Could you please provide sample app to reproduce this issue from our end. Also please provide screencast on reproducing the issue. That would help in further triaging.

Thanks!
Mergedinto: 884100
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment