This content originally appeared on Mike Taylr Dot Com Web Log and was authored by Mike Taylor
I added a small feature to web-platform-tests that allows you to load a test automatically on the www
subdomain by using a .www
filename flag (here’s the original issue).
So like, if you ever need to load a page on a different subdomain to test some kind of origin-y or domainy-y thing, you can just name your test something amazing like origin-y-test.www.html
and it will open the test for you at www.web-platform.test
(rather than web-platform.test
, or similarly, however your system or server is configured).
Now you’ll never need to embed an <iframe>
or call window.open()
ever again (unless you actually need to do those things).
?
This content originally appeared on Mike Taylr Dot Com Web Log and was authored by Mike Taylor
Mike Taylor | Sciencx (2020-10-29T05:00:00+00:00) .www filename flags in web-platform-tests. Retrieved from https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.