Re: [html-tests] Use iframe.srcdoc instead of src with data: URLs (#2429)

Using a blob here is fine, though please don't forget to revoke it if the test does lots of those loads all on one page, because otherwise you leak all those blob data bits for the lifetime of the page and likely run out of memory in some test setups.

As a separate gripe, the code in https://github.com/w3c/web-platform-tests/pull/2429#issuecomment-163930501 is so much more convoluted than the `data:` URI equivalent that it makes me sad every time I see it.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2429#issuecomment-163932095

Received on Friday, 11 December 2015 13:03:43 UTC