WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
213117
Change FileReader.error to DOMException from obsoleted FileError
https://bugs.webkit.org/show_bug.cgi?id=213117
Summary
Change FileReader.error to DOMException from obsoleted FileError
Tetsuharu Ohzeki [UTC+9]
Reported
2020-06-12 02:25:10 PDT
By the spec
https://w3c.github.io/FileAPI/
, FileReader.error should be DOMException now.
Attachments
Patch
(21.87 KB, patch)
2020-06-12 02:36 PDT
,
Tetsuharu Ohzeki [UTC+9]
no flags
Details
Formatted Diff
Diff
Patch
(22.21 KB, patch)
2020-06-12 04:08 PDT
,
Tetsuharu Ohzeki [UTC+9]
no flags
Details
Formatted Diff
Diff
Patch
(27.07 KB, patch)
2020-06-12 06:59 PDT
,
Tetsuharu Ohzeki [UTC+9]
no flags
Details
Formatted Diff
Diff
Patch
(26.96 KB, patch)
2020-06-12 08:37 PDT
,
Tetsuharu Ohzeki [UTC+9]
no flags
Details
Formatted Diff
Diff
Show Obsolete
(3)
View All
Add attachment
proposed patch, testcase, etc.
Tetsuharu Ohzeki [UTC+9]
Comment 1
2020-06-12 02:36:22 PDT
Created
attachment 401714
[details]
Patch
Tetsuharu Ohzeki [UTC+9]
Comment 2
2020-06-12 04:08:40 PDT
Created
attachment 401719
[details]
Patch
Tetsuharu Ohzeki [UTC+9]
Comment 3
2020-06-12 06:59:40 PDT
Created
attachment 401726
[details]
Patch fix test expectations for wk1
Chris Dumez
Comment 4
2020-06-12 08:09:00 PDT
Comment on
attachment 401726
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=401726&action=review
r=me with changes.
> Source/WebCore/fileapi/FileReader.cpp:226 > + RefPtr<DOMException> exception = DOMException::create(e.exception());
We don't need this local variable. This can be: m_error = DOMException::create(e.exception());
> Source/WebCore/fileapi/FileReader.h:73 > + RefPtr<DOMException> error() { return m_error; }
This should return a DOMException*, not need to ref: DOMException* error() const { return m_error.get(); }
> Source/WebCore/fileapi/FileReader.idl:55 > + readonly attribute DOMException error;
This should be: readonly attribute DOMException? error; As per spec, since it can return null.
Tetsuharu Ohzeki [UTC+9]
Comment 5
2020-06-12 08:37:20 PDT
Created
attachment 401731
[details]
Patch Thank you, Chris. I addressed your review in this patch. (I don't have a committer grant so I need to request the review to you again)
EWS
Comment 6
2020-06-12 09:14:48 PDT
Committed
r262953
: <
https://trac.webkit.org/changeset/262953
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 401731
[details]
.
Radar WebKit Bug Importer
Comment 7
2020-06-12 09:15:17 PDT
<
rdar://problem/64299522
>
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