Bug 1386807 - Part 4: Add hidden WebExtension window to a11y tests to make them pass r=eeejay
☠☠ backed out by 411dfa0e714a ☠ ☠
authorDennis Schubert <dschubert@mozilla.com>
Wed, 25 Apr 2018 16:47:30 +0200
changeset 469252 669b85a6cab8c99a0bd0afe53a02149a2da77577
parent 469251 8da96d4d931a55739e0514a3276ee854cf361ea7
child 469253 ac0b202721dcfa1e57be7e004565996d47348cfa
push id9165
push userasasaki@mozilla.com
push dateThu, 26 Apr 2018 21:04:54 +0000
treeherdermozilla-beta@064c3804de2e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerseeejay
bugs1386807, 1440106
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1386807 - Part 4: Add hidden WebExtension window to a11y tests to make them pass r=eeejay This is actually a workaround for the test not ignoring hidden windows. There is ongoing work in bug 1440106 that will get rid of this issue altogether, but for now, we need to add hidden windows ourselves. MozReview-Commit-ID: 2rQoz4KLHv3
accessible/tests/mochitest/events/docload/test_docload_root.html
accessible/tests/mochitest/events/docload/test_docload_shutdown.html
--- a/accessible/tests/mochitest/events/docload/test_docload_root.html
+++ b/accessible/tests/mochitest/events/docload/test_docload_root.html
@@ -70,16 +70,19 @@
             {
               role: ROLE_CHROME_WINDOW
             },
             {
               role: ROLE_CHROME_WINDOW
             },
             {
               role: ROLE_CHROME_WINDOW
+            },
+            {
+              role: ROLE_CHROME_WINDOW
             }
           ]
         };
 
         testAccessibleTree(gRootAcc, accTree);
 
         gDialogDoc = gDialog.document;
         ok(isAccessibleInCache(gDialogDoc),
--- a/accessible/tests/mochitest/events/docload/test_docload_shutdown.html
+++ b/accessible/tests/mochitest/events/docload/test_docload_shutdown.html
@@ -86,16 +86,19 @@
             {
               role: ROLE_CHROME_WINDOW
             },
             {
               role: ROLE_CHROME_WINDOW
             },
             {
               role: ROLE_CHROME_WINDOW
+            },
+            {
+              role: ROLE_CHROME_WINDOW
             }
           ]
         };
 
         testAccessibleTree(gRootAcc, accTree);
         // After timeout after event hide for iframe was handled the document
         // accessible for iframe's document should no longer be in cache.
         ok(!isAccessibleInCache(gIframeDoc),