this Standard Depends on FaviDiD partially.
Feature Testing is the practice of discovering which features a Planet supports. This specification intentionally keeps feature discovery simple.
this document written on is Semantic version 0.0.1. this document is self-published independently.
planet.json is a file in your /Favicond_/ folder. which states some information of the planet. A valid
planet.json file follows all these requirements
compat with as value an object,
this object is called the compat object.
/^[A-Za-z0-9\-_]+$/. slugs are
case-sensitive.
extends
Favicond_.
https://antrequest.nl/standard/PlanetSpec/0.0.1/
and the Feature-Slug main MUST be listed as supported.
extends key where the Feature-Slugs MUST link to a specification linked in the compat object
or be Omitted entirely.
A Feature-Slug is a string set forth by a Specification Linked to by the url which is the parent object's key.
{
"compat": {
"https://antrequest.nl/standard/PlanetSpec/0.0.1/": {
"main": true
},
"https://antrequest.nl/standard/FaviDiD/0.0.1/": {
"keygen": true,
"auth": true,
"newProto": false
},
"https://antrequest.nl/standard/FaviDiD/0.1.1/": {
"extends": "https://antrequest.nl/standard/FaviDiD/0.0.1/",
"newProto": true
}
}
}
Edges SHOULD attempt to do the following when parsing:
extends URL is HTTP, not HTTPS.
extends Feature-Slug (key) is a boolean.
extends Feature-Slug (key) points not to a standard listed in the compat object.
extends) is not a boolean.
planet.json isnt valid json or it wasnt served with 200
{"compat":{}} instead, basically nothing is supported
if a standard is forked (like i encourage mine to be) you might inherit features from them. which is where the
extends comes in. it if a feature doesnt exist in this feature object the Edge MUST go
to the extends object and look there.
to determine whether a feature is supported follow these steps given a compat object (compat), a Specification URL (url), a Feature-Slug (slug), and an array (seen) SHOULD be Empty if it isnt a Recursive Call.
compat[url] in ECMAScript)
false.
extends of
$SlugObject
false.
please tell me how i did. it was my first time writing something like this. this is self-published independently.