Index: LayoutTests/fast/beacon/beacon-basic-expected.txt |
diff --git a/LayoutTests/fast/beacon/beacon-basic-expected.txt b/LayoutTests/fast/beacon/beacon-basic-expected.txt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..ccac9527f1c2a2d147eebde4e611a54a6ac599f5 |
--- /dev/null |
+++ b/LayoutTests/fast/beacon/beacon-basic-expected.txt |
@@ -0,0 +1,14 @@ |
+Exercising the Beacon API |
+ |
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". |
+ |
+ |
+PASS Object.getPrototypeOf(navigator).hasOwnProperty('sendBeacon') is true |
+PASS typeof navigator.sendBeacon is "function" |
+PASS navigator.sendBeacon() threw exception TypeError: Failed to execute 'sendBeacon' on 'Navigator': 1 argument required, but only 0 present.. |
+PASS navigator.sendBeacon('http:') threw exception SyntaxError: Failed to execute 'sendBeacon' on 'Navigator': The URL argument is ill-formed or unsupported.. |
+PASS navigator.sendBeacon('javascript:alert(1);') threw exception SyntaxError: Failed to execute 'sendBeacon' on 'Navigator': Beacons are only supported over HTTP(S).. |
+PASS successfullyParsed is true |
+ |
+TEST COMPLETE |
+ |