-
Notifications
You must be signed in to change notification settings - Fork 23.1k
Open
Labels
Content:WebAPIWeb API docsWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/loseContext
What specific section or headline is this issue about?
No response
What information was incorrect, unhelpful, or incomplete?
The document talks about it being a debugging tool to simulate losing the context, however it can also be used for freeing graphics resources.
The specification mentions for loseContext():
Implementations should destroy the underlying graphics context and all graphics resources when this method is called. This is the recommended mechanism for applications to programmatically halt their use of the WebGL API.
This should probably be incorporated into the page.
What did you expect to see?
Mentioning that this is the recommended mechanism to programmatically drop graphics resources and stop using WebGL API.
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/webgl_lose_context/losecontext - MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/WEBGL_lose_context/loseContext
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/webgl_lose_context/losecontext/index.md
- Last commit: f71683f
- Document last modified: 2025-09-19T15:38:24.000Z
Metadata
Metadata
Assignees
Labels
Content:WebAPIWeb API docsWeb API docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.