WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
47454
FileWriter sends write event instead of progress event
https://bugs.webkit.org/show_bug.cgi?id=47454
Summary
FileWriter sends write event instead of progress event
Eric U.
Reported
2010-10-09 10:53:40 PDT
The FileWriter is currently sending the write event where it should be sending a progress event. Write happens only at the end of a successful truncate or write, whereas progress happens throughout an ongoing write.
Attachments
Patch
(1.28 KB, patch)
2010-10-09 17:21 PDT
,
Eric U.
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric U.
Comment 1
2010-10-09 17:21:45 PDT
Created
attachment 70381
[details]
Patch
Andreas Kling
Comment 2
2010-10-09 18:55:51 PDT
Comment on
attachment 70381
[details]
Patch According to the spec, readyState should be DONE when the "write" event fires:
http://www.w3.org/TR/file-writer-api/#widl-FileWriter-write
(steps 6, 7 and 8.)
Andreas Kling
Comment 3
2010-10-09 18:59:18 PDT
Comment on
attachment 70381
[details]
Patch D'oh, that's my bad. I was looking at an outdated version of the spec. Here's the relevant one:
http://dev.w3.org/2009/dap/file-system/file-writer.html#widl-FileWriter-write
r=me
WebKit Commit Bot
Comment 4
2010-10-09 19:16:11 PDT
Comment on
attachment 70381
[details]
Patch Clearing flags on attachment: 70381 Committed
r69463
: <
http://trac.webkit.org/changeset/69463
>
WebKit Commit Bot
Comment 5
2010-10-09 19:16:16 PDT
All reviewed patches have been landed. Closing bug.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug