-
Notifications
You must be signed in to change notification settings - Fork 47
Restore name of second argument to FileReader.readAsText #105
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
Comments
So +1 for |
@inexorabletash This is my first "contribution" to a W3C project so I'm not sure how you prefer to do this. Can I just submit a PR to change the parameter name and we let its eventual merge/close serve as the vote? |
That should work fine. This change technically changes conformance and is therefore substantive, but if the only thing that actually changes is a label then it's fine from an IPR perspective and we don't need any more commitment. (If you propose some substantive thing we ask that you make a licensing commitment not to put patented stuff in the spec, unless you grant a royalty-free license to it...) |
It's not substantive to change the name of a parameter. It doesn't affect conformance or implementations. |
Thanks. And sorry for the newbie question but I couldn't find this in I've got the change ready to push for all three files ( |
It's probably easiest to just touch Maybe we can rope @rtoy into setting up automatic bikeshedding for this spec too now that he's an expert? |
Sure, I can do this. But not for a week or two. Or you can do this for yourself by copying .travis.yml, compile.sh and deploy.sh from https://github.com/wicg/cookie-store. I think the only thing needed is to use your admin powers and create a new deploy key (with write access otherwise it won't work), update .travis.yml appropriately. |
Auto-deploy workflow set by f32361a. @blixt @saschanaz could you rebase your pull request to the |
@siusin I've rebased and changed the target branch of the PR to |
In eaf8fd9 ("Cleaned up wrong TOC"), arangana made a change from
readAsText(blob[, encoding])
toreadAsText(blob[, label])
but I have not been able to find a motivation.I'm proposing that the name
encoding
is brought back in order to clarify what the parameter does, without having to read the surrounding text in the spec.My main motivation for filing this issue is that some documentation generators depend on the wording in this spec, which trickles down an arguably poor parameter name choice to all developers using the DOM APIs. (See microsoft/TypeScript-DOM-lib-generator#536).
The reasoning for
encoding
specifically is:"UTF-8"
)Here is what today's documentation looks like in Visual Studio Code (TypeScript) due to the name choice in this repository:
The text was updated successfully, but these errors were encountered: