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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/navigation/beacon-cross-origin.https.html

Issue 2702113003: Move tests for sendBeacon to a separate dedicated directory for clearer ownership (Closed)
Patch Set: a Created 3 years, 10 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 <html>
3 <head>
4 <script src="/js-test-resources/js-test.js"></script>
5 <script>
6 description("Verify navigator.sendBeacon() mixed content checking.");
7
8 window.jsTestIsAsync = true;
9
10 function test() {
11 if (window.testRunner) {
12 testRunner.dumpAsText();
13 testRunner.waitUntilDone();
14 }
15
16 shouldBeFalse('navigator.sendBeacon("http://example.test:8000/navigation/res ources/save-beacon.php?name=cross-origin", "CrossOrigin");');
17 finishJSTest();
18 }
19 </script>
20 </head>
21 <body onload="test();">
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698