dom-examples icon indicating copy to clipboard operation
dom-examples copied to clipboard

Code examples that accompany various MDN DOM and Web API documentation pages

Results 62 dom-examples issues
Sort by recently updated
recently updated
newest added

I clone this projects and try run _basic-fetch_ example, as my first test, Firefox returns "NetworkError when attempting to fetch resource." Similar error with Chromium : "Error: Failed to fetch"...

https://github.com/mdn/fetch-examples/blob/7a20c41cb1d65c5e8ae9eae3270caa2dadadf12e/fetch-with-init-then-request/index.html#L25-L36 That example is setting a `Content-Type` request header for a `GET` request, which serves no real purpose since the request has no request body/payload. I guess a simple fix...

needs triage
area: fetch

https://github.com/mdn/dom-examples/tree/master/media/web-dictaphone Example here was not working when click download recorded audio. My Browser : Chrome 103 OS: Mac OS 12.3.1 I guess the root cause is https://github.com/mdn/dom-examples/blob/master/media/web-dictaphone/scripts/app.js#L80 it specific type...

Example: [service-worker/simple-service-worker](https://github.com/mdn/dom-examples/tree/main/service-worker/simple-service-worker) I tried the demo and got the following error after couple of refreshes: The service worker navigation preload request was cancelled before 'preloadResponse' settled. If you intend to...

bug
help wanted
effort: small
area: service-worker

Is there a reason for having the project setup in such a way that starting a web server from the project root causes an error in registering the service worker?...

The font sizes are huge. It is not easy to understand what's going on especially on smart phones: https://user-images.githubusercontent.com/87750369/181191966-6767a74c-3d42-4f2e-8e02-20cafb145e30.mp4 The radio buttons are smaller. In first glance it's not recognizable...

bug
area: indexeddb-examples

It seems (never tried) possible to keep the commits according anwers in https://stackoverflow.com/questions/17371150/moving-git-repository-content-to-another-repository-preserving-history It only required to prepare https://github.com/mdn/web-speech-api moving the tree into a subdirectory `/web-speech-api` beforehand. Hope you can...

The `auxclick` example has the font size relative to the viewport but the viewport isn’t defined.

Multiple pages are missing `lang` attributes.

Hi, I am trying to use the web speech api on ios's safari. The issue is after the user done speaking and the api has successfully recognize the speech, the...