content icon indicating copy to clipboard operation
content copied to clipboard

Second paragraph seems like from a different page

Open patrickjh opened this issue 1 year ago • 4 comments

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor

What specific section or headline is this issue about?

The second paragraph

What information was incorrect, unhelpful, or incomplete?

It says "To determine if the add operation has completed successfully, listen for the results's success event." but this page is about the openCursor() method not the add() method

What did you expect to see?

Something about the openCursor() method

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/idbobjectstore/opencursor
  • MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/openCursor
  • GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/idbobjectstore/opencursor/index.md
  • Last commit: https://github.com/mdn/content/commit/ebaebbbbfe525fb69ed8d4f5b0d8f82da922cf5e
  • Document last modified: 2024-06-28T03:15:05.000Z

patrickjh avatar Apr 05 '25 09:04 patrickjh

We should simply remove this paragraph

Josh-Cena avatar Apr 05 '25 15:04 Josh-Cena

Sounds fine to me

patrickjh avatar Apr 06 '25 01:04 patrickjh

@Josh-Cena I can work on this issue, can you please assign me this issue?

pulkitgxrg avatar Apr 06 '25 07:04 pulkitgxrg

Hi! I’ve submitted PR #38998 to fix this issue by removing the unrelated paragraph referencing the add() method from the openCursor() documentation.

All lint and formatting checks have passed, and the change is scoped only to the incorrect sentence.

Let me know if anything else is needed — happy to make adjustments if required. Thanks!

omlahore avatar Apr 06 '25 11:04 omlahore