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

Side by Side Diff: LayoutTests/fast/beacon/beacon-basic-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 unified diff | Download patch
OLDNEW
(Empty)
1 Exercising the Beacon API
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS Object.getPrototypeOf(navigator).hasOwnProperty('sendBeacon') is true
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..
9 PASS navigator.sendBeacon('http:') threw exception SyntaxError: Failed to execut e 'sendBeacon' on 'Navigator': The URL argument is ill-formed or unsupported..
10 PASS navigator.sendBeacon('javascript:alert(1);') threw exception SyntaxError: F ailed to execute 'sendBeacon' on 'Navigator': Beacons are only supported over HT TP(S)..
11 PASS successfullyParsed is true
12
13 TEST COMPLETE
14
OLDNEW
« no previous file with comments | « LayoutTests/fast/beacon/beacon-basic.html ('k') | LayoutTests/fast/dom/navigator-detached-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698