summaryrefslogtreecommitdiffstats
path: root/toolkit/components/prompts/test/chromeScript.js
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/components/prompts/test/chromeScript.js')
-rw-r--r--toolkit/components/prompts/test/chromeScript.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolkit/components/prompts/test/chromeScript.js b/toolkit/components/prompts/test/chromeScript.js
index f873c5d04b..cfcc2591c8 100644
--- a/toolkit/components/prompts/test/chromeScript.js
+++ b/toolkit/components/prompts/test/chromeScript.js
@@ -74,7 +74,7 @@ function getSelectState(ui) {
let listbox = ui.getElementById("list");
let state = {};
- state.msg = ui.getElementById("info.txt").value;
+ state.msg = ui.getElementById("info.txt").firstChild.textContent;
state.selectedIndex = listbox.selectedIndex;
state.items = [];