mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 17:55:50 +00:00
Bug 1581472 - ES lint fix CLOSED TREE
This commit is contained in:
parent
1c65af06ec
commit
2c99088968
@ -11,10 +11,6 @@ const TEST_URI = `data:text/html,<!doctype html><link rel="stylesheet" href="${C
|
||||
add_task(async function() {
|
||||
const hud = await openNewTabAndConsole(TEST_URI);
|
||||
const MSG = `The stylesheet ${CSS_URI} was not loaded because its MIME type, “text/bogus”, is not “text/css”`;
|
||||
await waitFor(
|
||||
() => findMessage(hud, MSG, ".message.error"),
|
||||
"",
|
||||
100
|
||||
);
|
||||
await waitFor(() => findMessage(hud, MSG, ".message.error"), "", 100);
|
||||
ok(true, "MIME type error displayed");
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user