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

Side by Side Diff: LayoutTests/fast/beacon/beacon-basic.html

Issue 232053005: Implement navigator.sendBeacon() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Adjust unrelated test expectation Created 6 years, 8 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 <!DOCTYPE HTML>
2 <script src="../../resources/js-test.js"></script>
3 <script>
4 description("Exercising the Beacon API");
5
6 shouldBeTrue("Object.getPrototypeOf(navigator).hasOwnProperty('sendBeacon')");
7 shouldBeEqualToString("typeof navigator.sendBeacon", "function");
8 shouldThrow("navigator.sendBeacon()");
9 shouldThrow("navigator.sendBeacon('http:')");
10 shouldThrow("navigator.sendBeacon('javascript:alert(1);')");
11 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/beacon/beacon-basic-expected.txt » ('j') | Source/modules/beacon/NavigatorBeacon.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698