.www filename flags in web-platform-tests

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 k…


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


Print Share Comment Cite Upload Translate Updates
APA

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/

MLA
" » .www filename flags in web-platform-tests." Mike Taylor | Sciencx - Thursday October 29, 2020, https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/
HARVARD
Mike Taylor | Sciencx Thursday October 29, 2020 » .www filename flags in web-platform-tests., viewed ,<https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/>
VANCOUVER
Mike Taylor | Sciencx - » .www filename flags in web-platform-tests. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/
CHICAGO
" » .www filename flags in web-platform-tests." Mike Taylor | Sciencx - Accessed . https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/
IEEE
" » .www filename flags in web-platform-tests." Mike Taylor | Sciencx [Online]. Available: https://www.scien.cx/2020/10/29/www-filename-flags-in-web-platform-tests/. [Accessed: ]
rf:citation
» .www filename flags in web-platform-tests | Mike Taylor | Sciencx | 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.

You must be logged in to translate posts. Please log in or register.