| Michael[tm] Smith | 29e4781 | 2015-07-03 13:39:01 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <meta charset="utf-8"> |
| 3 | <title>Notification.permission (basic)</title> |
| 4 | <link rel="author" title="Intel" href="http://www.intel.com/"> |
| 5 | <link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com"> |
| 6 | <script src="/resources/testharness.js"></script> |
| 7 | <script src="/resources/testharnessreport.js"></script> |
| 8 | <script> |
| 9 | test(function() { |
| 10 | assert_in_array(Notification.permission, |
| 11 | ["default", "denied", "granted"], |
| 12 | "Notification.permission") |
| 13 | }, "Checked the Notification.permission property.") |
| 14 | </script> |