Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Unified Diff: LayoutTests/http/tests/navigation/beacon-detached-no-crash-expected.txt

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Revert CSP checking on redirects Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/navigation/beacon-detached-no-crash-expected.txt
diff --git a/LayoutTests/http/tests/navigation/beacon-detached-no-crash-expected.txt b/LayoutTests/http/tests/navigation/beacon-detached-no-crash-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..12d34e3e505a04b3a190c38d5fbd7049e1ca7723
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/beacon-detached-no-crash-expected.txt
@@ -0,0 +1,12 @@
+main frame - has 1 onunload handler(s)
+Accessing Navigator sendBeacon methods on a closed window.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS w.navigator.sendBeacon() threw exception TypeError: Failed to execute 'sendBeacon' on 'Navigator': 1 argument required, but only 0 present..
+PASS w.navigator.sendBeacon('resources/blank.txt', 'detached-should-return false') is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698