You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebIDL impl: remove unsafe JSObject from return value of Document::NamedGetter #30890
changed the title [-]WebIDL impl: replace use of NonNull<JSObject> with[/-][+]WebIDL impl: remove unsafe JSObject from return value of Document::NamedGetter[/+]on Dec 19, 2023
I am sorry for the delay, I was trying to understand how WebIDL worked so I took other projects related to codegen first. Hopefully the pr does the necessary modifications, but I would appreciate any corrections since this is my first time modifying WebIDL.
Activity
[-]WebIDL impl: replace use of NonNull<JSObject> with[/-][+]WebIDL impl: remove unsafe JSObject from return value of Document::NamedGetter[/+]eerii commentedon Mar 12, 2024
I'd like to try to tackle this if that's ok!
gterzian commentedon Mar 12, 2024
Great! There have been quite a few related PR's merged in recently, and they can server as a guide(although this one is a bit different). See https://github.com/servo/servo/pulls?q=is%3Apr+is%3Aclosed+WebIDL
Let me know if you have other questions.
For how to create an enum-like structure, see for example
servo/components/script/dom/webidls/BluetoothUUID.webidl
Line 19 in 5febb30
eerii commentedon Mar 13, 2024
Thank you so much for the references! I'll get to it
eerii commentedon Mar 23, 2024
I am sorry for the delay, I was trying to understand how WebIDL worked so I took other projects related to codegen first. Hopefully the pr does the necessary modifications, but I would appreciate any corrections since this is my first time modifying WebIDL.