Skip to content

Commit

Permalink
Merge pull request #6655 from Brandr0id/sendBeaconTests
Browse files Browse the repository at this point in the history
Initial Commit of sendBeacon Tests
  • Loading branch information
igrigorik committed Aug 15, 2017
2 parents 9512fb0 + 95ed664 commit 23967fc
Show file tree
Hide file tree
Showing 15 changed files with 779 additions and 0 deletions.
18 changes: 18 additions & 0 deletions beacon/beacon-basic-blob.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic Blob Test</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(blobTests);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-blobMax.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic Blob Test - MaxSize</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(blobMaxTest);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-buffersource.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic BufferSource Test</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(bufferSourceTests);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-buffersourceMax.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic BufferSource Test - MaxSize</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(bufferSourceMaxTest);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-formdata.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic FormData Test</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(formDataTests);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-formdataMax.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic FormData Test</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(formDataMaxTest);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-string.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic String Test</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(stringTests);
</script>
</body>
</html>
18 changes: 18 additions & 0 deletions beacon/beacon-basic-stringMax.html
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<title>W3C Beacon Basic String Test - MaxSize</title>
<meta name="timeout" content="long">
<meta name="author" title="Microsoft Edge" href="https://www.microsoft.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script src="/common/utils.js"></script>
<script src="beacon-common.sub.js"></script>
<script>
"use strict";
runTests(stringMaxTest);
</script>
</body>
</html>

0 comments on commit 23967fc

Please sign in to comment.