| Index: LayoutTests/fast/notifications/resources/notifications-cancel-request-permission.html
|
| diff --git a/LayoutTests/fast/notifications/resources/notifications-cancel-request-permission.html b/LayoutTests/fast/notifications/resources/notifications-cancel-request-permission.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..43897c9ab946c3a26c51230d6c5e2b550ec01943
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/notifications/resources/notifications-cancel-request-permission.html
|
| @@ -0,0 +1,28 @@
|
| +<html>
|
| +<head>
|
| + <script type="text/javascript">
|
| + function log(message)
|
| + {
|
| + parent.document.getElementById("result").innerHTML += message + "<br>";
|
| + }
|
| +
|
| + function runTests()
|
| + {
|
| + if (window.testRunner) {
|
| + testRunner.dumpAsText();
|
| + }
|
| +
|
| + if (window.testRunner) {
|
| + testRunner.ignoreLegacyWebNotificationPermissionRequests();
|
| + }
|
| +
|
| + window.webkitNotifications.requestPermission(
|
| + function() { log("FAIL: Permission callback invoked."); }
|
| + );
|
| +
|
| + }
|
| + </script>
|
| +</head>
|
| +<body onload="runTests();">
|
| +</body>
|
| +</html>
|
|
|