Skip to content

Commit

Permalink
Chromium 122 stopped exposing {PaymentManager,PaymentRequestUpdateEve…
Browse files Browse the repository at this point in the history
…nt} in insecure context (#24812)

Fixes #24731, those interfaces expose to insecure-context for old versions in chromium
  • Loading branch information
skyclouds2001 authored Oct 25, 2024
1 parent 13604a5 commit d47726d
Show file tree
Hide file tree
Showing 2 changed files with 72 additions and 0 deletions.
36 changes: 36 additions & 0 deletions api/PaymentManager.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,42 @@
"deprecated": false
}
},
"secure_context_required": {
"__compat": {
"description": "Secure context required",
"support": {
"chrome": {
"version_added": "122"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"enableDelegations": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/PaymentManager/enableDelegations",
Expand Down
36 changes: 36 additions & 0 deletions api/PaymentRequestUpdateEvent.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,42 @@
}
}
},
"secure_context_required": {
"__compat": {
"description": "Secure context required",
"support": {
"chrome": {
"version_added": "122"
},
"chrome_android": "mirror",
"edge": "mirror",
"firefox": {
"version_added": false
},
"firefox_android": "mirror",
"ie": {
"version_added": false
},
"oculus": "mirror",
"opera": "mirror",
"opera_android": "mirror",
"safari": {
"version_added": false
},
"safari_ios": "mirror",
"samsunginternet_android": "mirror",
"webview_android": {
"version_added": false
},
"webview_ios": "mirror"
},
"status": {
"experimental": true,
"standard_track": true,
"deprecated": false
}
}
},
"updateWith": {
"__compat": {
"description": "<code>updateWith()</code>",
Expand Down

0 comments on commit d47726d

Please sign in to comment.