blob: 74c0852adc322a7194ab0bc3aca83a358572d462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// META: script=./resources/pending_beacon-helper.js
'use strict';
for (const beaconType of BeaconTypes) {
test(() => {
const beacon = new beaconType.type('https://www.google.com');
assert_true(beacon.pending);
beacon.deactivate();
assert_false(beacon.pending);
}, `${beaconType.name}: deactivate() changes 'pending' state.`);
}
|