Скачет прогресс аплоада сэмпла
Created by: ZzDmitry
Аплоадим сэмпл, смотрим на экшны FILE_UPLOAD_CHANGE_PROGRESS
. Наблюдаем:
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 0, progressStatus: "ajax", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 100, progressStatus: "ajax", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: undefined, progressStatus: "ajax", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 7, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 70, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 75, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 7, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 81, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 88, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 91, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 91, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 89, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 100, progressStatus: "task_running", id: 2}
action Object {type: "FILE_UPLOAD_CHANGE_PROGRESS", progressValue: 100, progressStatus: "ready", id: 2}
Три странности progressValue
: undefined
и 7
между 75
и 81
и 89
между 91
и 100
.