Do more on the web, with a fast and secure browser!

Download Opera browser with:

  • built-in ad blocker
  • battery saver
  • free VPN
Download Opera
  • 11.05.2016

    User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.75 Safari/537.36 OPR/36.0.2130.32

    Steps to reproduce:
    <form id="form1" action="" method="POST" accept-charset="utf-8" enctype="multipart/form-data">
    {# data-maxwidth,data-maxheight -> X,Y size of the resized imagges #}
    < input id="fileinput" data-maxwidth="800" data-maxheight="600" type="file" name="fileinput" multiple>
    < /form >
    <input id="upload" type="button" value="Upload" onclick="upload();">
    <div id="preview"></div>
    <script src="/static/preprocess.js" type="text/javascript" charset="utf-8"></script>

    preprocess.js :
    // My start point is:    
    // Great thanks Josef !    
    var form = document.getElementById('form1');    
    var fileinput = document.getElementById('fileinput');    
    var fdata = dataURLtoBlob(blob);    
    var fd = new FormData(form);      
    fd.set(, fdata, fname); 

    work in Firefox. Not work in Opera

    Actual results:

    FormData.set() not defined

    After update java, Firefox, Opera

    Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 OPR/37.0.2178.43

    work in Firefox. And work in Opera.

    Windows 7 SP1 max, Windows 8.1 pro, Windows XP pro, fc16-23

    FormData.append() work fine always.

    As I see, FormData::set() used FormData::append() in source code, bath not work from instalation.msi in some compilation.

    Opera for Linux (Fedora, Gnome3, vlc[rpmfusion], nvidia[nvidia]) ofen unstable on Pentium-4. Without Opera all right.

  • This post is deleted!