Invalid nonce requests automatically shows wrapper now
This commit is contained in:
parent
4042de460e
commit
a2182e8a8d
1 changed files with 1 additions and 1 deletions
|
@ -89,5 +89,5 @@ class TestWeb:
|
|||
with WaitForPageLoad(browser):
|
||||
browser.execute_script("window.top.location = window.location")
|
||||
assert "wrapper_nonce" in browser.current_url # We try to use nonce-ed html without iframe
|
||||
assert "Forbidden" in browser.page_source # Only allow to use nonce once-time
|
||||
assert "<iframe" in browser.page_source # Only allow to use nonce once-time
|
||||
browser.switch_to.default_content()
|
||||
|
|
Loading…
Reference in a new issue