|
56 | 56 |
|
57 | 57 | promise_test(async t => {
|
58 | 58 | const result = await promises.get("child");
|
59 |
| - assert_equals(result.permission, "granted", `should grant the permission`); |
60 |
| - assert_true(result.shown, `notification should be shown`); |
| 59 | + assert_equals(result.permission, "denied", `should deny the permission`); |
| 60 | + assert_false(result.shown, `notification should not be shown`); |
61 | 61 |
|
62 | 62 | const childRequestResult = await promises.get("childRequest");
|
63 |
| - assert_equals(childRequestResult.permission, "granted", "should accept the permission request"); |
| 63 | + assert_equals(childRequestResult.permission, "denied", "should deny the permission request"); |
64 | 64 | }, "nested first party iframe");
|
65 | 65 |
|
66 | 66 | promise_test(async t => {
|
|
71 | 71 |
|
72 | 72 | promise_test(async t => {
|
73 | 73 | const result = await promises.get("childWorker");
|
74 |
| - assert_equals(result.permission, "granted", `should grant the permission`); |
75 |
| - assert_true(result.shown, `notification should be shown`); |
| 74 | + assert_equals(result.permission, "denied", `should deny the permission`); |
| 75 | + assert_false(result.shown, `notification should not be shown`); |
76 | 76 | }, "nested first party worker");
|
77 | 77 | </script>
|
0 commit comments