OLD | NEW |
1 Exercising the Beacon API | 1 Exercising the Beacon API |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS Object.getPrototypeOf(navigator).hasOwnProperty('sendBeacon') is true | 6 PASS Object.getPrototypeOf(navigator).hasOwnProperty('sendBeacon') is true |
7 PASS typeof navigator.sendBeacon is "function" | 7 PASS typeof navigator.sendBeacon is "function" |
8 PASS navigator.sendBeacon() threw exception TypeError: Failed to execute 'sendBe
acon' on 'Navigator': 1 argument required, but only 0 present.. | 8 PASS navigator.sendBeacon() threw exception TypeError: Failed to execute 'sendBe
acon' on 'Navigator': 1 argument required, but only 0 present.. |
9 PASS navigator.sendBeacon('http:') threw exception TypeError: Failed to execute
'sendBeacon' on 'Navigator': The URL argument is ill-formed or unsupported.. | 9 PASS navigator.sendBeacon('http:') threw exception TypeError: Failed to execute
'sendBeacon' on 'Navigator': The URL argument is ill-formed or unsupported.. |
10 PASS navigator.sendBeacon('javascript:alert(1);') threw exception TypeError: Fai
led to execute 'sendBeacon' on 'Navigator': Beacons are only supported over HTTP
(S).. | 10 PASS navigator.sendBeacon('javascript:alert(1);') threw exception TypeError: Fai
led to execute 'sendBeacon' on 'Navigator': Beacons are only supported over HTTP
(S).. |
| 11 PASS navigator.sendBeacon('https:', new Uint8Array(new SharedArrayBuffer(10))) t
hrew exception TypeError: Failed to execute 'sendBeacon' on 'Navigator': The pro
vided ArrayBufferView value must not be shared.. |
11 PASS successfullyParsed is true | 12 PASS successfullyParsed is true |
12 | 13 |
13 TEST COMPLETE | 14 TEST COMPLETE |
14 | 15 |
OLD | NEW |