Issue metadata
Sign in to add a comment
|
Very long data URL support in fetch()
Reported by
woxxom@gmail.com,
Oct 14 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.0 Safari/537.36 Steps to reproduce the problem: 1. open the attached test.html What is the expected behavior? All tests are OK meaning fetch() can handle 20 MB long data URLs What went wrong? FAILURE for 2MB and bigger Did this work before? Yes 63.0.3232.0 Chrome version: 63.0.3239.0 Channel: n/a OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: * Firefox passes all tests and does it 2-3 times faster than Chrome * r506552 imposed a 2MB limit on URLs thus breaking fetch() used to convert long data URLs to blob or whatever. I'm not sure this limit should be applied to temporary data URLs used by a site/app/extension internally e.g. to provide a download link for some data. * The available workaround for the blob conversion case is to use blob constructor directly: new Blob([plainString], {type: 'text/plain'})
,
Oct 16 2017
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dcheng@chromium.org
, Oct 14 2017Components: -Blink Blink>Network>FetchAPI
Labels: OS-Android OS-Chrome OS-Fuchsia OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)