-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test that DOMExceptions from WebGPU always have stacks #3105
Conversation
77fa81a
to
6bf4ed6
Compare
Previews, as seen when this build job started (6bf4ed6): |
6bf4ed6
to
8500b12
Compare
Previews, as seen when this build job started (8500b12): |
Switching how we construct DOMExceptions also conveniently prevents us from accidentally creating DOMExceptions with no message string. For GPUPipelineError, see WebTransportError as reference (the one other custom exception that extends DOMException). Also, early-out as necessary before attempting to resolve or reject a promise from a callback. Test: gpuweb/cts#3105 Fixed: 1496120 Bug: 1496117 Change-Id: I183f85195be6be004d344d660e02e5df6fbf5d5b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4978198 Commit-Queue: Kai Ninomiya <[email protected]> Reviewed-by: Kenneth Russell <[email protected]> Cr-Commit-Position: refs/heads/main@{#1217376}
Previews, as seen when this build job started (2db3e5c): |
Previews, as seen when this build job started (8356a0d): |
Previews, as seen when this build job started (eda0820): |
Previews, as seen when this build job started (89c2d8d): |
Complete list of 150 tests that break in Chromium with this change (and are fixed by the Chromium fix):
In doing this I found some missing tests, but I didn't add TODOs for them because they weren't in tests I'm modifying here. Filing separate issues for them.
Fixes #3103
Remaining issues are #3109 #3110
Requirements for PR author:
.unimplemented()
./** documented */
and new helper files are found inhelper_index.txt
.Requirements for reviewer sign-off:
When landing this PR, be sure to make any necessary issue status updates.