From 57102eb3cc62b20dbfa3215577d210c088a58da9 Mon Sep 17 00:00:00 2001 From: Eitan Isaacson Date: Mon, 18 Sep 2017 14:02:00 -0400 Subject: [PATCH] Bug 1400628 - Add test for non existing ID in select[aria-owns]. r=surkov --- accessible/tests/browser/tree/browser_aria_owns.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/accessible/tests/browser/tree/browser_aria_owns.js b/accessible/tests/browser/tree/browser_aria_owns.js index 95a471fc6f26..edcc9917d7dd 100644 --- a/accessible/tests/browser/tree/browser_aria_owns.js +++ b/accessible/tests/browser/tree/browser_aria_owns.js @@ -158,6 +158,14 @@ addAccessibleTask(` } ); +// Don't crash if ID in aria-owns does not exist +addAccessibleTask(` + `, + async function(browser, accDoc) { + ok(true, "Did not crash"); + } +); + addAccessibleTask(`