Closed marcoscaceres closed 3 years ago
@cdumez, I've changed the IDL to match what Gecko has (which, IIUC, should match the desired behavior). However, you might need to update WebKit to default errorCallback = null
.
https://github.com/WebKit/WebKit/blob/main/Source/WebCore/Modules/geolocation/Geolocation.idl
Thanks for the review, @reillyeon!
Just noting that WebKit's IDL parser doesn't support = null
or = {}
yet.
Just noting that WebKit's IDL parser doesn't support
= null
or= {}
yet.
Does it really matter? Our behavior is correct here. Our idl generator assumes null is the default value for optional nullable parameters.
Does it really matter? Our behavior is correct here. Our idl generator assumes null is the default value for optional nullable parameters.
No, it doesn't matter :) Just wanted a record of it in case anyone goes looking as to why the IDL in WebKit doesn't exactly match the spec is all (or tries to compile with the updated IDL, as I did).
Closes #61
The following tasks have been completed:
Implementation commitment:
Preview | Diff