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
window.postMessage('', {delegate: 'doesnotexist'}) allows to detect whether delegation is supported at all (it throws in a browser that supports it, it doesn't otherwise)
window.postMessage('', {delegate: 'payment'}) allows to detect whether delegation for payment specifically is supported at all (it doesn't throw in a browser that supports it)
The text was updated successfully, but these errors were encountered:
https://wicg.github.io/capability-delegation/spec.html adds a new
delegate
parameter to the options argument ofpostMessage
, taking for value a string matching a feature policy.window.postMessage('', {delegate: 'doesnotexist'})
allows to detect whether delegation is supported at all (it throws in a browser that supports it, it doesn't otherwise)window.postMessage('', {delegate: 'payment'})
allows to detect whether delegation forpayment
specifically is supported at all (it doesn't throw in a browser that supports it)The text was updated successfully, but these errors were encountered: