Invalid nonce requests automatically shows wrapper now

This commit is contained in:
shortcutme 2017-10-04 12:48:16 +02:00
parent 4042de460e
commit a2182e8a8d
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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()