summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/extensions/test/browser/browser_page_accessibility.js
blob: e049cbd61858255bf3bc3c8e0283b56dff767b27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* Any copyright is dedicated to the Public Domain.
   http://creativecommons.org/publicdomain/zero/1.0/ */

"use strict";

add_task(async function testPageTitle() {
  let win = await loadInitialView("extension");
  let title = win.document.querySelector("title");
  is(
    win.document.l10n.getAttributes(title).id,
    "addons-page-title",
    "The page title is set"
  );
  await closeView(win);
});