(event)
| 204 | let num_blurs = 0; |
| 205 | const pop_promise = new Promise((resolve, reject) => { |
| 206 | function onpopstate(event) { |
| 207 | // debug_log('pop came'); |
| 208 | if (num_blurs === 0) { |
| 209 | const r = reject; |
| 210 | r(new DieError(`pop came before blur. blurs: ${num_blurs}`)); |
| 211 | } |
| 212 | pop = event; |
| 213 | resolve(); |
| 214 | } |
| 215 | addEventListener('popstate', onpopstate, { once: true }); |
| 216 | }); |
| 217 |
nothing calls this directly
no outgoing calls
no test coverage detected