https://github.com/web-platform-tests/wpt
Revision 992147614f6cdd4fcb8b03e19c9af25cacacd192 authored by Marijn Kruisselbrink on 03 April 2018, 22:03:09 UTC, committed by Blink WPT Bot on 03 April 2018, 22:15:44 UTC
This makes sure that no race conditions exist between navigating to a
blob URL and revoking it. Currently only implemented for the network
service code path.

Also add one more navigation-then-revoke WPT test, as the existing tests
didn't cover the NavigationScheduler code-path.

Design doc: https://docs.google.com/document/d/1DqVcTWE9Qb_3KpIRH2bFV-6hWEr8S92c4ppY67YL1KI/edit#heading=h.n4fzuc6mgziv

Further navigation cases are handled in https://chromium-review.googlesource.com/c/chromium/src/+/899508.

Bug: 800901
Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo
Change-Id: Icf9a4725526b4329a2841626977292802ad2fa7a
Reviewed-on: https://chromium-review.googlesource.com/898009
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Nasko Oskov <nasko@chromium.org>
Commit-Queue: Marijn Kruisselbrink <mek@chromium.org>
Cr-Commit-Position: refs/heads/master@{#547842}
1 parent 81e900a
Raw File
Tip revision: 992147614f6cdd4fcb8b03e19c9af25cacacd192 authored by Marijn Kruisselbrink on 03 April 2018, 22:03:09 UTC
[Mojo Blob URLs] Resolve navigation blob URLs in blink.
Tip revision: 9921476
aria-expanded_value_changes-manual.html
<!doctype html>
<html>
  <head>
    <title>aria-expanded value changes</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" : [
      {
         "attribute" : "aria-expanded",
         "element" : "test",
         "title" : "step 1",
         "type" : "attribute",
         "value" : "true"
      },
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "event",
                  "type",
                  "is",
                  "object:state-changed:expanded"
               ],
               [
                  "event",
                  "detail1",
                  "is",
                  "1"
               ]
            ],
            "AXAPI" : [
               [
                  "event",
                  "type",
                  "is",
                  "AXRowExpanded"
               ],
               [
                  "event",
                  "type",
                  "is",
                  "AXRowCountChanged"
               ]
            ],
            "MSAA" : [
               [
                  "event",
                  "type",
                  "is",
                  "EVENT_OBJECT_STATECHANGE"
               ]
            ],
            "UIA" : [
               [
                  "event",
                  "type",
                  "is",
                  "ExpandCollapsePattern.ExpandCollapseStateProperty"
               ]
            ]
         },
         "title" : "step 2",
         "type" : "test"
      },
      {
         "attribute" : "aria-expanded",
         "element" : "test",
         "title" : "step 3",
         "type" : "attribute",
         "value" : "false"
      },
      {
         "element" : "test",
         "test" : {
            "ATK" : [
               [
                  "event",
                  "type",
                  "is",
                  "object:state-changed:expanded"
               ],
               [
                  "event",
                  "detail1",
                  "is",
                  "0"
               ]
            ],
            "AXAPI" : [
               [
                  "event",
                  "type",
                  "is",
                  "AXRowCollapsed"
               ],
               [
                  "event",
                  "type",
                  "is",
                  "AXRowCountChanged"
               ]
            ],
            "MSAA" : [
               [
                  "event",
                  "type",
                  "is",
                  "EVENT_OBJECT_STATECHANGE"
               ]
            ],
            "UIA" : [
               [
                  "event",
                  "type",
                  "is",
                  "ExpandCollapsePattern.ExpandCollapseStateProperty"
               ]
            ]
         },
         "title" : "step 4",
         "type" : "test"
      }
   ],
   "title" : "aria-expanded value changes"
}

    ) ;
    </script>
  </head>
  <body>
  <p>This test examines the ARIA properties for aria-expanded value changes.</p>
    <div role='menu' id='test'>
    <div role='menuitem'>content</div>
  </div>then emit the platform accessibility events for changes to the value of aria-expanded.

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