BrowserVersionOwn?TypeAs String
AppleWebit537.36.0???
BingPreview1.0.0???
Chrome41.0.2226???
CriOS107.0.0???
Edge84.0.522???
Firefox68.0.0???
FxiOS36.0.0???
Googlebot2.1.0???
IE11.0.0???
Mobile15.0.0???
render2.0.0???
Safari4.0.0???
Safari15.4.0ownfunction(...args) => { const me = globalThis[bindingName]; if (needsHandle && args.slice(1).some(arg => arg !== undefined)) throw new Error(`exposeBindingHandle supports a single argument, ${args.length} received`); let callbacks = me['callbacks']; if (!callbacks) { callbacks = new Map(); me['callbacks'] = callbacks; } const seq = (me['lastSeq'] || 0) + 1; me['lastSeq'] = seq; let handles = me['handles']; if (!handles) { handles = new Map(); me['handles'] = handles; } const promise = new Promise((resolve, reject) => callbacks.set(seq, { resolve, reject })); if (needsHandle) { handles.set(seq, args[0]); binding(JSON.stringify({ name: bindingName, seq })); } else { binding(JSON.stringify({ name: bindingName, seq, args })); } return promise; }
Safari15.5.0???
SamsungBrowser17.0.0???
YandexBot3.0.0???

PropertiesAppleWebitBingPreviewChromeCriOSEdgeFirefoxFxiOSGooglebotIEMobilerenderSafariSamsungBrowserYandexBot
callbacks??????????? 15.4.0??
handles??????????? 15.4.0??
lastSeq??????????? 15.4.0??
length??????????? 15.4.0??
__installed??????????? 15.4.0??