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

api.XMLHttpRequest.load_event - <SUMMARIZE THE PROBLEM> #20905

Closed
accountnujen opened this issue Oct 5, 2023 · 2 comments
Closed

api.XMLHttpRequest.load_event - <SUMMARIZE THE PROBLEM> #20905

accountnujen opened this issue Oct 5, 2023 · 2 comments
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API

Comments

@accountnujen
Copy link

accountnujen commented Oct 5, 2023

What information was incorrect, unhelpful, or incomplete?

Firefox browser does not have full support for xhr.progress

What browsers does this problem apply to, if applicable?

Firefox

What did you expect to see?

The xhr.progress event.load should have returned bytes:

function handleEvent(e) {
  log.textContent = `${log.textContent}${e.type}: ${e.loaded} bytes transferred\n`;
}

Did you test this? If so, how?

ran the example from the article https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/load_event

Can you link to any release notes, bugs, pull requests, or MDN pages related to this?

No response

Do you have anything more you want to share?

[Offensive content removed]

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/load_event

MDN metadata

MDN page report details
  • Query: api.XMLHttpRequest.load_event
  • Report started: 2023-10-05T10:46:27.143Z
@accountnujen
Copy link
Author

https://developer.mozilla.org/en-US/play?id=JJqFkr%2B1BeUp2pN8v3uab8Pnc7lwpPeXJG9%2BDq64Fo9iijBFyJ0Aulv9KqdFLZznzx5DnyjZo4S7M9MD

In chrome I get - load: 1377809 bytes transferred
In firefox I get - load: 108780 bytes transferred

@mdn mdn locked as too heated and limited conversation to collaborators Oct 5, 2023
@queengooborg
Copy link
Contributor

Using the base example rather than the modified version you have shared, I see that the results are identical in both Chrome and Firefox. It is probable that the issue you are experiencing is related to the resource you are trying to load rather than an issue with the browser.

By the way, please be respectful and refrain from using offensive language when writing issues or replies, as per the Mozilla Community Participation Guidelines. Repeat offenses of these guidelines will result in exclusion from MDN projects.

@queengooborg queengooborg closed this as not planned Won't fix, can't repro, duplicate, stale Oct 5, 2023
@queengooborg queengooborg added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API and removed needs triage 🔎 labels Oct 5, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

No branches or pull requests

2 participants