[ServiceWorker] DOMParser within ServiceWorkers (#846)

I'm trying to figure out the best way to parse HTML in response to a `fetch` request. In my case, I'm attempting to figure out any dependencies the HTML might have so I can also cache those assets as well

Is the only way todo this currently to use a horrendously complicated regex or am I missing something obvious?

Or put it another way what would be the downside of exposing the `DOMParser` to the `ServiceWorker` scope.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/846

Received on Tuesday, 15 March 2016 19:58:06 UTC