lib/grover/options_fixer.rb in grover-1.1.10 vs lib/grover/options_fixer.rb in grover-1.1.11
- old
+ new
@@ -32,10 +32,11 @@
end
def fix_boolean_options!
fix_options!(
'display_header_footer', 'full_page', 'landscape', 'omit_background', 'prefer_css_page_size',
- 'print_background', 'viewport.has_touch', 'viewport.is_landscape', 'viewport.is_mobile', 'bypass_csp'
+ 'print_background', 'viewport.has_touch', 'viewport.is_landscape', 'viewport.is_mobile', 'bypass_csp',
+ 'raise_on_request_failure', 'raise_on_js_error'
) { |value| !FALSE_VALUES.include?(value) }
end
def fix_integer_options!
fix_options!(