Skip to content

window.Notification.permission for frame-remote gets 'denied' when setting is 'ask' rule #6668

Open
@Christywl

Description

@Christywl

======== TEMPLATE BUG FORM ========

NWJS Version : nwjs-sdk-v0.31.0
Operating System : Linux

Expected behavior

window.Notification.permission for frame-remote gets 'granted' when setting is 'ask' rule

Actual behavior

window.Notification.permission for frame-remote gets 'denied' when setting is 'ask' rule

perm-frame-remote : denied
Traceback (most recent call last):
  File "test.py", line 103, in <module>
    test_perm(driver, 'show-perm-frame-remote', 'perm-frame-remote', expected='default')
  File "test.py", line 16, in test_perm
    assert(expected in result)
AssertionError

How to reproduce

  1. Download the tests: a791ce4
  2. export CHROMDRIVER
  3. python test.py

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions