-
Notifications
You must be signed in to change notification settings - Fork 456
Migrate file system to KDL #2234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Thanks for the PR! This section of the codebase is owned by @saschanaz - if they write a comment saying "LGTM" then it will be merged. |
inputfiles/patches/file-system.kdl
Outdated
| property kind readonly=#true overrideType="\"directory\"" | ||
| } | ||
|
|
||
| interface FileReader { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FileReader is part of the more traditional File API, not the new File System. Let's put it in a separate file.
inputfiles/patches/file-system.kdl
Outdated
| event error type=ProgressEvent | ||
| event loadend type=ProgressEvent | ||
|
|
||
| property readyState overrideType="typeof FileReader.EMPTY | typeof FileReader.LOADING | typeof FileReader.DONE" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we make this 0 | 1 | 2 while we are at it?
|
I have updated it @saschanaz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| event load type=ProgressEvent | ||
| event abort type=ProgressEvent | ||
| event error type=ProgressEvent | ||
| event loadend type=ProgressEvent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a mixed feeling of event types not being in events.kdl, but I guess this is fine.
|
LGTM |
|
Merging because @saschanaz is a code-owner of all the changes - thanks! |
#2053