content icon indicating copy to clipboard operation
content copied to clipboard

“Using the Web Storage API” has deprecated “DOMException.code” in example

Open Lovor01 opened this issue 3 years ago • 0 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API

What specific section or headline is this issue about?

Testing for availability

What information was incorrect, unhelpful, or incomplete?

Using DOMException.code in javascript example for testing of storage availability is deprecated

What did you expect to see?

I expect up-to-date code

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
  • Folder: en-us/web/api/web_storage_api/using_the_web_storage_api
  • MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/Web_Storage_API/Using_the_Web_Storage_API
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/web_storage_api/using_the_web_storage_api/index.md
  • Last commit: https://github.com/mdn/content/commit/c17005028352d193561ac44b0bdb09792773a687
  • Document last modified: 2022-10-25T03:13:58.000Z

Lovor01 avatar Oct 28 '22 12:10 Lovor01