Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
/* Any copyright is dedicated to the Public Domain.
"use strict";
add_task(async function test_accept_smartwindow_tou() {
const notified = TestUtils.topicObserved("smartwindow-tou-accepted");
await SMATestUtils.executeAndValidateAction({
type: "ACCEPT_SMARTWINDOW_TOU",
});
await notified;
Assert.ok(true, "smartwindow-tou-accepted is notified");
});