()
| 50845 | if (A5.origin === B3.origin && A5.origin === "null") { |
| 50846 | return true; |
| 50847 | } |
| 50848 | if (A5.protocol === B3.protocol && A5.hostname === B3.hostname && A5.port === B3.port) { |
| 50849 | return true; |
| 50850 | } |
| 50851 | return false; |
| 50852 | } |
| 50853 | function createDeferredPromise() { |
| 50854 | let res; |
| 50855 | let rej; |
| 50856 | const promise = new Promise((resolve, reject) => { |
| 50857 | res = resolve; |
| 50858 | rej = reject; |