Ajax onprogress dont work

Sorry for my bad English. I need help, this is my code. I have 2 files: 1.htm, 1.php

1.htm call 1.php in ajax:


<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<div id='cont1'></div>
<script type="text/javascript">
        var last_r_len = false;
        $.ajax('1.php', {
            xhrFields: {
                onprogress: function(e)
                    var this_r, r = e.currentTarget.response;
                    if(last_r_len === false)
                        this_r = r;
                        last_r_len = r.length;
                        this_r = r.substring(last_r_len);
                        last_r_len = r.length;
            console.log('Complete r = ' + data);
            console.log('Error: ', data);



while ($i <= 25) {
    echo $i++; 

The program output every second “streaming” 1 2 3 …etc. Is a test for a program more complex.
This code work in all browsers, chrome, firefox, etc. In ExeOutput i check “developer tools” in components, rendering engine for investigated this but i need help. Thank you

The problem is due to flush(). ExeOutput CEF implementation doesn’t support flush(). It will wait for all data.

Any chance flush() is gonna be implemented any soon? Doesn’t work as of Exeoutput4PHP 2018.2

Right now, no. Maybe in the future.