Skip to content
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

adding note about loadstart event firing async in Fx 79 onwards #6364

Merged
merged 4 commits into from
Jul 3, 2020
Merged

adding note about loadstart event firing async in Fx 79 onwards #6364

merged 4 commits into from
Jul 3, 2020

Conversation

chrisdavidmills
Copy link
Collaborator

@ghost ghost added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Jul 2, 2020
Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this PR, Chris.

Since the synchronous behavior is non-standard, I'd like to propose flipping this around a little. Something like:

  1. A plain "version_added": "79"
  2. A "version_added": true with "partial_implementation": true and a note saying that the event dispatched synchronously (perhaps describing it as non-standard or unlike other browsers).

What do you think?

@chrisdavidmills
Copy link
Collaborator Author

@ddbeck Yup, I agree with you; updated!

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, Chris. I skipped over some details in the first place. A few more suggestions for you

},
"firefox": [
{
"version_added": true,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ugh, sorry I forgot a couple things in my original comment. First, this is removed:

Suggested change
"version_added": true,
"version_removed": "79",

"notes": "<code>loadstart</code> event originally dispatched synchronously (should be asynchronously as per spec)."
},
{
"version_added": "79"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this entry should be before the other

{
"version_added": true,
"partial_implementation": true,
"notes": "<code>loadstart</code> event originally dispatched synchronously (should be asynchronously as per spec)."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor tense thing here

Suggested change
"notes": "<code>loadstart</code> event originally dispatched synchronously (should be asynchronously as per spec)."
"notes": "<code>loadstart</code> event dispatches synchronously (should be asynchronously as per spec)."

@chrisdavidmills
Copy link
Collaborator Author

@ddbeck How now brown cow? ;-)

Copy link
Collaborator

@ddbeck ddbeck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants