| 08:41 | <howdoi> | new to service workers, is there a way to cache the url that we fetch? |
| 08:42 | <howdoi> | Say, on click of a button I fetch and img, is there a way to inform SW to cache whatever is fetched ? |
| 08:42 | <howdoi> | dynamic caching |
| 10:41 | <zcorpan> | MikeSmit1: there's no need to --amend "PR xyz" on our own branches, i believe |
| 10:41 | <zcorpan> | MikeSmit1: just others' forks that we fixup |
| 10:51 | <Ms2ger> | zcorpan, I guess it's not strictly necessary if you push to the feature branch before master |
| 10:52 | <Ms2ger> | zcorpan, still, it's kinda nice to have that data locally |
| 11:29 | <rits> | annevk: in this https://github.com/whatwg/html/issues/388 , fully active needs to be conditional on a document when it has no browsing context, i think |
| 15:10 | <ondras> | so |
| 15:10 | <ondras> | decodeAudioData |
| 15:10 | <ondras> | is this supposed to destroy the arrayBuffer passed to it? |
| 15:11 | <ondras> | because in Firefox, I do "console.log(buffer); ctx.decodeAudioData(buffer, cb); console.log(buffer)" |
| 15:11 | <ondras> | and the first log shows ArrayBuffer { byteLength: 3152545 } |
| 15:11 | <ondras> | second log shows ArrayBuffer { byteLength: 0 } |
| 15:16 | <Ms2ger> | > Neuter the audioData ArrayBuffer |
| 15:16 | <Ms2ger> | Spec says yes |
| 15:18 | <ondras> | Ms2ger: thanks. can I somehow clone the arraybuffer then, so I can use its contents for other purposes as well? |
| 15:19 | <Ms2ger> | I dunno |
| 15:19 | <ondras> | :/ |
| 15:19 | <ondras> | ok |
| 15:19 | <ondras> | for now, I can simply use the buffer and feed it to web audio after I am done, reversing the current operation order |
| 15:20 | Ms2ger | has avoided both audio and typed arrays so far |
| 15:22 | <ondras> | ah |
| 15:22 | <ondras> | well my app kinda plays music and displays its metadata |
| 15:22 | <ondras> | so both web audio and typed arrays are a must |
| 15:27 | <annevk> | rits: cannot really investigate, no laptop, but I think when we want fully active we also want a browsing context |
| 16:21 | <rits> | annevk: oh ok, sorry for disturbing you in vacations was just wondering that the changes needs to be done https://html.spec.whatwg.org/#fully-active here only |
| 17:38 | <caitp> | i'm sorry I cannot help you, my private island in the carribean sea deflects all signals from web standards organizations and implementations, and also has a great pool-side bar |
| 20:13 | <roc> | ondras: sure, you can easily clone the ArrayBuffer |
| 20:16 | <ondras> | roc: via slice()? Was not sure if that actually copies any data or creates a "view" buffer |
| 20:16 | <roc> | I think slice() copies |
| 20:16 | <roc> | it's obviously more memory-efficient to get the data you need out of it first, then pass it to the decoder |