Converts the given caps into a representation that represents the
same set of formats, but in a simpler form. Component structures that are
identical are merged. Component structures that have values that can be
merged are also merged.
This function takes ownership of caps and will call Caps.makeWritable
on it if necessary, so you must not use caps afterwards unless you keep an
additional reference to it with Caps.ref.
This method does not preserve the original order of caps.
Converts the given caps into a representation that represents the same set of formats, but in a simpler form. Component structures that are identical are merged. Component structures that have values that can be merged are also merged.
This function takes ownership of caps and will call Caps.makeWritable on it if necessary, so you must not use caps afterwards unless you keep an additional reference to it with Caps.ref.
This method does not preserve the original order of caps.