That deprecation is not for JS api, it was for Swift/Obj-C api. The whole api set is deprecated, not just the single one. Apple Developer Documentation
The JS dom api still has ownerDocument in Safari v16.
That deprecation is not for JS api, it was for Swift/Obj-C api. The whole api set is deprecated, not just the single one. Apple Developer Documentation
The JS dom api still has ownerDocument in Safari v16.