Skip to content

[pull] main from mdn:main#268

Merged
pull[bot] merged 9 commits intoryrodriguez25:mainfrom
mdn:main
Aug 19, 2025
Merged

[pull] main from mdn:main#268
pull[bot] merged 9 commits intoryrodriguez25:mainfrom
mdn:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Aug 19, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.3)

Can you help keep this open source service alive? 💖 Please sponsor : )

Shrinivassab and others added 9 commits August 19, 2025 10:00
…40099)

* docs: Add missing duplex property to RequestInit and update fetch() exceptions

* Update files/en-us/web/api/requestinit/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* Update files/en-us/web/api/window/fetch/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* Update files/en-us/web/api/window/fetch/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* docs(Request): Add duplex property documentation

* Update files/en-us/web/api/request/duplex/index.md

* Update files/en-us/web/api/request/duplex/index.md

* docs: Add missing duplex property to RequestInit and update fetch() exceptions

* Update files/en-us/web/api/requestinit/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* Update files/en-us/web/api/window/fetch/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* Update files/en-us/web/api/window/fetch/index.md

Accepted PR commented...

Co-authored-by: wbamberg <will@bootbonnet.ca>

* docs(Request): Add duplex property documentation

* Update files/en-us/web/api/request/duplex/index.md

* Update files/en-us/web/api/request/duplex/index.md

* Removed undefined and added warning note

* Update files/en-us/web/api/window/fetch/index.md

---------

Co-authored-by: wbamberg <will@bootbonnet.ca>
Co-authored-by: Claas Augner <495429+caugner@users.noreply.github.com>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* Suggest Web Workers as an alternative

I'm going to be honest, I only knew about service workers up until today and did _not_ know at all about other "types" of workers.

I always thought that Firefox didn't support ES modules in SWs for _localhost origins only_, but realized today that it just does not work, regardless of the origin.

Thus, I looked for sources on how work on implementation was going for firefox... only to stumble upon a similar implementation bug... for _web_ workers. I searched for "service worker vs web workers"... and turns out I was trying to move heavy computation (notably local neural network inference) off of the UI thread by putting them in a _service worker_, where a web worker is much more appropriate (notably, ONNX Runtime Web uses `import.meta` in its code, which means that any service worker importing ONNX will not work on Firefox...)

I think that putting a note here about the differences about the two may steer people towards the right direction. Even if web workers seem older than SWs (judging by initial browser support dates), I only knew about SWs, thru the PWA movement. (I even ended up making a RPC library for SWs, swarpc... i need to rename it now 💀)

im not sure about the exact phrasing used here but I think that some kind of note/warning that highlights how Web Workers are more appropriate for moving things off the UI thread is beneficial to devs dabbling into that field

* Trim whitespace

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update files/en-us/web/api/service_worker_api/index.md

Co-authored-by: wbamberg <will@bootbonnet.ca>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wbamberg <will@bootbonnet.ca>
Update index.md

- Minor copy-edit
- Format “Note: …” as admonition
* ImageData constructor changes

* Fix

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* Clarify example in Callback function

* Update index.md

* Update index.md

---------

Co-authored-by: Alexandro castro <alexandrocastro@mac.home>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* docs: Create QuotaExceededError page per #40244

* docs(QuotaExceededError): Add storage quotas, requested

* More fixes

* One fix

* Touchups

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* Document <input type=color> serialization w/ colorspace & alpha

* Apply suggestions from code review

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* more tweaks

* Update files/en-us/web/api/htmlinputelement/colorspace/index.md

Co-authored-by: wbamberg <will@bootbonnet.ca>

* Minor fixes

* Add experimental

---------

Co-authored-by: Estelle Weyl <estelle@openwebdocs.org>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: wbamberg <will@bootbonnet.ca>
Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
* docs(html): Clarify header element semantics

* docs(html): Clarify header element semantics - part 2 with accessibility

* reverted to old wordings

* Reset back to original content

* Update index.md

* Update files/en-us/web/html/reference/elements/header/index.md

* Update files/en-us/web/html/reference/elements/header/index.md

---------

Co-authored-by: Joshua Chen <sidachen2003@gmail.com>
@pull pull bot locked and limited conversation to collaborators Aug 19, 2025
@pull pull bot added the ⤵️ pull label Aug 19, 2025
@pull pull bot merged commit 74c54f7 into ryrodriguez25:main Aug 19, 2025
8 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants