Skip to content

[SaferCPP] Fix smart pointer fails in WKInspector.cpp #47083

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

Conversation

zakariaridouh
Copy link
Contributor

@zakariaridouh zakariaridouh commented Jun 23, 2025

f05f1d3

[SaferCPP] Fix smart pointer fails in WKInspector.cpp
https://bugs.webkit.org/show_bug.cgi?id=294866
rdar://154133153

Reviewed by Chris Dumez.

Fix `UncountedCallArgsCheckerExpectations` fails in `WKInspector.cpp`

* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/UIProcess/API/C/WKInspector.cpp:
(WKInspectorIsConnected):
(WKInspectorIsVisible):
(WKInspectorIsFront):
(WKInspectorConnect):
(WKInspectorShow):
(WKInspectorHide):
(WKInspectorClose):
(WKInspectorShowConsole):
(WKInspectorShowResources):
(WKInspectorShowMainResourceForFrame):
(WKInspectorIsAttached):
(WKInspectorDetach):
(WKInspectorIsProfilingPage):
(WKInspectorTogglePageProfiling):
(WKInspectorIsElementSelectionActive):
(WKInspectorToggleElementSelection):

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

e2dee89

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
✅ 🧪 style ✅ 🛠 ios ✅ 🛠 mac ✅ 🛠 wpe ✅ 🛠 win
✅ 🛠 ios-sim ✅ 🛠 mac-AS-debug ✅ 🧪 wpe-wk2 ⏳ 🧪 win-tests
✅ 🧪 webkitperl ✅ 🧪 ios-wk2 ✅ 🧪 api-mac ✅ 🧪 api-wpe
⏳ 🧪 ios-wk2-wpt ✅ 🛠 wpe-cairo
⏳ 🧪 api-ios ✅ 🧪 mac-wk2 ✅ 🛠 gtk
✅ 🛠 vision ✅ 🧪 mac-AS-debug-wk2 ✅ 🧪 gtk-wk2
✅ 🛠 vision-sim ✅ 🧪 mac-wk2-stress ✅ 🧪 api-gtk
✅ 🛠 🧪 merge ✅ 🧪 vision-wk2 ✅ 🧪 mac-intel-wk2 ✅ 🛠 playstation
✅ 🛠 tv ✅ 🛠 mac-safer-cpp
✅ 🛠 tv-sim
✅ 🛠 watch
✅ 🛠 watch-sim

@zakariaridouh zakariaridouh requested a review from cdumez as a code owner June 23, 2025 22:42
@zakariaridouh zakariaridouh self-assigned this Jun 23, 2025
@zakariaridouh zakariaridouh added the New Bugs Unclassified bugs are placed in this component until the correct component can be determined. label Jun 23, 2025
@zakariaridouh zakariaridouh force-pushed the eng/SaferCPP-Fix-smart-pointer-fails-in-WKInspector-cpp branch from 00435cf to e2dee89 Compare June 23, 2025 22:43
@zakariaridouh zakariaridouh added the merge-queue Applied to send a pull request to merge-queue label Jun 24, 2025
https://bugs.webkit.org/show_bug.cgi?id=294866
rdar://154133153

Reviewed by Chris Dumez.

Fix `UncountedCallArgsCheckerExpectations` fails in `WKInspector.cpp`

* Source/WebKit/SaferCPPExpectations/UncountedCallArgsCheckerExpectations:
* Source/WebKit/UIProcess/API/C/WKInspector.cpp:
(WKInspectorIsConnected):
(WKInspectorIsVisible):
(WKInspectorIsFront):
(WKInspectorConnect):
(WKInspectorShow):
(WKInspectorHide):
(WKInspectorClose):
(WKInspectorShowConsole):
(WKInspectorShowResources):
(WKInspectorShowMainResourceForFrame):
(WKInspectorIsAttached):
(WKInspectorDetach):
(WKInspectorIsProfilingPage):
(WKInspectorTogglePageProfiling):
(WKInspectorIsElementSelectionActive):
(WKInspectorToggleElementSelection):

Canonical link: https://commits.webkit.org/296548@main
@webkit-commit-queue webkit-commit-queue force-pushed the eng/SaferCPP-Fix-smart-pointer-fails-in-WKInspector-cpp branch from e2dee89 to f05f1d3 Compare June 24, 2025 03:49
@webkit-commit-queue
Copy link
Collaborator

Committed 296548@main (f05f1d3): https://commits.webkit.org/296548@main

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

@webkit-commit-queue webkit-commit-queue merged commit f05f1d3 into WebKit:main Jun 24, 2025
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Bugs Unclassified bugs are placed in this component until the correct component can be determined.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants