Skip to content
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

[WebGPU] Metal compiler error message can expose privacy sensitive information #29942

Conversation

mwyrzykowski
Copy link
Contributor

@mwyrzykowski mwyrzykowski commented Jun 18, 2024

95f9534

[WebGPU] Metal compiler error message can expose privacy sensitive information
https://bugs.webkit.org/show_bug.cgi?id=275624
<radar://130065215>

Reviewed by Dan Glastonbury.

Metal compilation error message was leaking privacy sensitive information.

* LayoutTests/TestExpectations:
Skip for debug as we print privacy sensitive information in debug.

* LayoutTests/fast/webgpu/regression/repro_275624-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_275624.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::ShaderModule::createLibrary):

Canonical link: https://commits.webkit.org/280202@main

758ab02

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug βœ… πŸ§ͺ wpe-wk2 βœ… πŸ§ͺ wincairo-tests
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
βœ… πŸ§ͺ ios-wk2-wpt βœ… πŸ§ͺ mac-wk1 βœ… πŸ›  wpe-cairo
βœ… πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ›  gtk
⏳ πŸ›  vision βœ… πŸ§ͺ mac-AS-debug-wk2 βœ… πŸ§ͺ gtk-wk2
⏳ πŸ›  vision-sim βœ… πŸ§ͺ mac-wk2-stress βœ… πŸ§ͺ api-gtk
βœ… πŸ›  πŸ§ͺ merge ⏳ πŸ§ͺ vision-wk2
βœ… πŸ›  tv
βœ… πŸ›  tv-sim
βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@mwyrzykowski mwyrzykowski self-assigned this Jun 18, 2024
@mwyrzykowski mwyrzykowski added the WebGPU For bugs in WebGPU label Jun 18, 2024
@mwyrzykowski mwyrzykowski requested a review from djg June 18, 2024 18:29
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label Jun 18, 2024
@mwyrzykowski mwyrzykowski removed the merging-blocked Applied to prevent a change from being merged label Jun 18, 2024
@mwyrzykowski mwyrzykowski force-pushed the eng/WebGPU-Metal-compiler-error-message-can-expose-privacy-sensitive-information branch from 940219a to 758ab02 Compare June 18, 2024 23:12
Copy link
Contributor

@djg djg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@mwyrzykowski mwyrzykowski added the merge-queue Applied to send a pull request to merge-queue label Jun 20, 2024
…formation

https://bugs.webkit.org/show_bug.cgi?id=275624
<radar://130065215>

Reviewed by Dan Glastonbury.

Metal compilation error message was leaking privacy sensitive information.

* LayoutTests/TestExpectations:
Skip for debug as we print privacy sensitive information in debug.

* LayoutTests/fast/webgpu/regression/repro_275624-expected.txt: Added.
* LayoutTests/fast/webgpu/regression/repro_275624.html: Added.
Add regression test.

* Source/WebGPU/WebGPU/ShaderModule.mm:
(WebGPU::ShaderModule::createLibrary):

Canonical link: https://commits.webkit.org/280202@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/WebGPU-Metal-compiler-error-message-can-expose-privacy-sensitive-information branch from 758ab02 to 95f9534 Compare June 20, 2024 16:05
@webkit-commit-queue
Copy link
Collaborator

Committed 280202@main (95f9534): https://commits.webkit.org/280202@main

Reviewed commits have been landed. Closing PR #29942 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit 95f9534 into WebKit:main Jun 20, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WebGPU For bugs in WebGPU
Projects
None yet
5 participants