diff options
Diffstat (limited to 'components/script/dom/document.rs')
-rw-r--r-- | components/script/dom/document.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/document.rs b/components/script/dom/document.rs index 08c04bf2b3e..23c50075068 100644 --- a/components/script/dom/document.rs +++ b/components/script/dom/document.rs @@ -1562,7 +1562,7 @@ impl Document { } /// https://html.spec.whatwg.org/multipage/#cookie-averse-document-object - fn is_cookie_averse(&self) -> bool { + pub fn is_cookie_averse(&self) -> bool { self.browsing_context.is_none() || !url_has_network_scheme(&self.url) } |