GPUDevice: phương thức popErrorScope()

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is available in Web Workers.

Phương thức popErrorScope() của giao diện GPUDevice lấy một GPU error scope hiện có ra khỏi ngăn xếp error scope và trả về một Promise được giải quyết thành một đối tượng (GPUInternalError, GPUOutOfMemoryError, hoặc GPUValidationError) mô tả lỗi đầu tiên được bắt trong phạm vi đó, hoặc null nếu không có lỗi.