Revision 3b85872e40d628f4704727db1c976c54f6d9e1dc authored by Ms2ger on 19 April 2016, 11:58:26 UTC, committed by jgraham on 19 April 2016, 11:58:26 UTC
Use a worker test for eventsource-eventtarget.
1 parent 46edd9e
Raw File
permission.html
<!DOCTYPE html>
<meta charset="utf-8">
<title>Notification.permission (basic)</title>
<link rel="author" title="Intel" href="http://www.intel.com/">
<link rel="author" title="Xin Liu" href="mailto:xinx.liu@intel.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
    assert_in_array(Notification.permission,
        ["default", "denied", "granted"],
        "Notification.permission")
}, "Checked the Notification.permission property.")
</script>
back to top