WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
299682
Replace overload based resolution of the canvas inspector argument tracer with resolution using explicit IDLType specialization
https://bugs.webkit.org/show_bug.cgi?id=299682
Summary
Replace overload based resolution of the canvas inspector argument tracer wit...
Sam Weinig
Reported
2025-09-27 18:52:01 PDT
The overload based resolution for the of the canvas inspector argument tracing code driven by the big macro in InspectorCanvasCallTracer.h is pretty easy to break due to its use of overloading to differentiate argument types. The most common issue is accidentally making types get treated as `bool`. We can do better using templates!
Attachments
Add attachment
proposed patch, testcase, etc.
Sam Weinig
Comment 1
2025-09-27 19:22:50 PDT
Pull request:
https://github.com/WebKit/WebKit/pull/51458
EWS
Comment 2
2025-09-28 11:24:22 PDT
Committed
300666@main
(37ee1bd3a1c7): <
https://commits.webkit.org/300666@main
> Reviewed commits have been landed. Closing PR #51458 and removing active labels.
Radar WebKit Bug Importer
Comment 3
2025-09-28 11:25:12 PDT
<
rdar://problem/161522149
>
Radar WebKit Bug Importer
Comment 4
2025-09-28 11:25:12 PDT
<
rdar://problem/161522120
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug