This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 28616 - Feature testing for <link rel>
Summary: Feature testing for <link rel>
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: This bug has no owner yet - up for the taking
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard: whatwg-resolved
Keywords:
Depends on:
Blocks: 28796
  Show dependency treegraph
 
Reported: 2015-05-07 05:45 UTC by Ilya Grigorik
Modified: 2016-04-27 20:54 UTC (History)
5 users (show)

See Also:


Attachments

Description Ilya Grigorik 2015-05-07 05:45:24 UTC
We need a way to test support for various <link rel> features - e.g. prerender, prefetch, preload, preconnect.

Related threads:
- https://github.com/w3c/preload/issues/7
- https://lists.w3.org/Archives/Public/public-whatwg-archive/2015Apr/0000.html

Simon's proposal from the mailing list:

> For <link rel>, we could solve the feature-testing problem by normalizing the case for supported keywords but not unsupported keywords, so you can check with .rel or .relList:
>
> function preloadSupported() {
>    var link = document.createElement('link');
>    link.rel = 'PRELOAD';
>   return link.rel == 'preload';
> }
Comment 1 Michael[tm] Smith 2015-06-17 03:52:29 UTC
To be clear, based on reading the threads linked to in the description for this bug, the bug is not about testing but is instead about the HTML spec defining a new feature for the platform that would facilitate this kind of testing.
Comment 2 Arron Eicholz 2016-04-27 20:54:04 UTC
HTML5.1 Bugzilla Bug Triage: Incubation needed

This bug constitutes a request for a new feature of HTML. The current guidelines [1], rather than track such requests as bugs or issues, please create a proposal outlining the desired behavior, or at least a sketch of what is wanted (much of which is probably contained in this bug), and start the discussion/proposal in the WICG [2]. As your idea gains interest and momentum, it may be brought back into HTML through the Intent to Migrate process [3].
[1] https://github.com/w3c/html#contributing-to-this-repository
[2] https://www.w3.org/community/wicg/
[3] https://wicg.github.io/admin/intent-to-migrate.html