tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

annotationMusts-manual.html (1682B)


      1 <!doctype html>
      2 <html>
      3 <head>
      4 <title>A single ANNOTATION has all required keys and all annotation keys used meet required value constraints</title>
      5 <script src="/resources/testharness.js"></script>
      6 <script src="/resources/testharnessreport.js"></script>
      7 <script src="/annotation-model/scripts/ajv.min.js"></script>
      8 <script src="/annotation-model/scripts/showdown.min.js"></script>
      9 <script src="/annotation-model/scripts/JSONtest.js"></script>
     10 <script>
     11 setup({explicit_timeout: true, explicit_done: true });
     12 
     13 var theDefinitions=[
     14  "definitions/choiceSet.json",
     15  "definitions/id.json",
     16  "definitions/bodyTarget.json",
     17  "definitions/annotations.json",
     18  "definitions/specificResource.json",
     19  "definitions/otherProperties.json",
     20  "definitions/collections.json"
     21 ];
     22 
     23 var theTestFile="annotationMusts.test";
     24 
     25 var runningTest = new JSONtest( {
     26    "testInput"   : "annotation-input",
     27    "runTest"     : "annotation-run",
     28    "closeWindow" : "annotation-close",
     29    "schemaDefs"  : theDefinitions,
     30    "testFile"    : theTestFile
     31 } ) ;
     32 
     33 </script>
     34 </head>
     35 <body>
     36 <p>Fill the textarea below with JSON output from your annotation client
     37 implementation that supports the following criteria:</p>
     38 <div id="testDescription"></div>
     39 <form name="annotation" id="annotation">
     40    <textarea name="annotation-input" id="annotation-input" style="width: 90%; height: 10em" ></textarea>
     41    <p><input type="button" id="annotation-run" name="Loading..." value="Loading...">
     42       <input style="display: none" type="button" id="annotation-close"
     43       name="Close" value="Close"></p>
     44 </form>
     45 <p>Specifically, the following assertions will be evaluated:</p>
     46 <div id="assertion"></div>
     47 </body>
     48 </html>