| Summary: | -Wunused-result in WebCoreSupport/WebContextMenuClient.cpp | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Michael Catanzaro <mcatanzaro> |
| Component: | WebKit2 | Assignee: | Michael Catanzaro <mcatanzaro> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, kkinnunen, mcatanzaro, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=240078 | ||
|
Description
Michael Catanzaro
2022-05-12 17:39:43 PDT
It's guarded by a #if !PLATFORM(COCOA) condition, which is why Chris didn't notice when cooking the original change. For GTK/WPE there is no way to ever access this code as we don't expose that context menu item. It looks like we only have context menu tests for macOS and GTK, so I won't attempt to write a test. Nice :) Pull request: https://github.com/WebKit/WebKit/pull/606 Committed r294137 (250507@main): <https://commits.webkit.org/250507@main> Reviewed commits have been landed. Closing PR #606 and removing active labels. |