summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2022-08-15 18:53:35 +0200
committerFlorian Bruhin <me@the-compiler.org>2022-08-15 18:53:35 +0200
commit65aa61f33fbada24e07a30fe78b69232573aa069 (patch)
tree8fb75d183752cecc13ba1527e726cc931bd9141a
parent0573d3b11c805029bf48062a7e6a4e3e4adf5f2c (diff)
downloadqutebrowser-65aa61f33fbada24e07a30fe78b69232573aa069.tar.gz
qutebrowser-65aa61f33fbada24e07a30fe78b69232573aa069.zip
Fixup content.javascript.log_messages.excludes issues
-rw-r--r--qutebrowser/config/configdata.yml4
-rw-r--r--tests/end2end/features/misc.feature1
2 files changed, 3 insertions, 2 deletions
diff --git a/qutebrowser/config/configdata.yml b/qutebrowser/config/configdata.yml
index 0bf02eb70..c46cc5e29 100644
--- a/qutebrowser/config/configdata.yml
+++ b/qutebrowser/config/configdata.yml
@@ -946,7 +946,7 @@ content.javascript.log_message:
content.javascript.log_message.levels:
type:
name: Dict
- none_ok: True
+ none_ok: true
keytype: String
valtype:
name: FlagList
@@ -971,7 +971,7 @@ content.javascript.log_message.excludes:
type:
name: Dict
keytype: String
- none_ok: True
+ none_ok: true
valtype:
name: List
valtype: String
diff --git a/tests/end2end/features/misc.feature b/tests/end2end/features/misc.feature
index 4124a0177..367042c16 100644
--- a/tests/end2end/features/misc.feature
+++ b/tests/end2end/features/misc.feature
@@ -143,6 +143,7 @@ Feature: Various utility commands.
Then the error "[Errno 2] *: '/nonexistentfile'" should be shown
And "No output or error" should not be logged
+ @qtwebkit_skip
Scenario: CSP errors in qutebrowser stylesheet script
When I open restrictive-csp
Then the javascript message "Refused to apply inline style because it violates the following Content Security Policy directive: *" should be logged