https://github.com/web-platform-tests/wpt
Revision 491a02ce6f091db542aed561e3d984b0a18f4188 authored by fergald on 04 April 2018, 22:12:43 UTC, committed by GitHub on 04 April 2018, 22:12:43 UTC
I don't know how I got into this situation (probably hit ctrl-C at the wrong time) but I did and it was unclear how to get out. It presents as a ValueError with no useful info.

Update the code to handle ValueError to log a warning and cause a full regen of the manifest.

Also reported in https://crbug.com/822041
1 parent 47d7cdf
Raw File
Tip revision: 491a02ce6f091db542aed561e3d984b0a18f4188 authored by fergald on 04 April 2018, 22:12:43 UTC
Handle the case when MANIFEST.json is empty
Tip revision: 491a02c
directory-manual.html
<!doctype html>
<html>
  <head>
    <title>directory</title>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/>
    <link rel="stylesheet" href="/resources/testharness.css">
    <link rel="stylesheet" href="/wai-aria/scripts/manual.css">
    <script src="/resources/testharness.js"></script>
    <script src="/resources/testharnessreport.js"></script>
    <script src="/wai-aria/scripts/ATTAcomm.js"></script>
    <script>
    setup({explicit_timeout: true, explicit_done: true });

    var theTest = new ATTAcomm(
    {
   "steps" : [
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_LIST"
               ]
            ],
            "AXAPI" : [
               [
                  "property",
                  "AXRole",
                  "is",
                  "AXList"
               ],
               [
                  "property",
                  "AXSubrole",
                  "is",
                  "AXContentList"
               ],
               [
                  "property",
                  "AXRoleDescription",
                  "is",
                  "content list"
               ]
            ],
            "MSAA" : [
               [
                  "property",
                  "role",
                  "is",
                  "ROLE_SYSTEM_LIST"
               ]
            ],
            "UIA" : [
               [
                  "property",
                  "ControlType",
                  "is",
                  "List"
               ]
            ]
         },
         "title" : "step 1",
         "type" : "test"
      }
   ],
   "title" : "directory"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for directory.</p>
    <div role='directory' id='test'>content</div>

  <div id="manualMode"></div>
  <div id="log"></div>
  <div id="ATTAmessages"></div>
  </body>
</html>
back to top