2.1.8 [HTML5:2014] Section 3.1.2 Resource metadata management
V0016: A cookie-averse Document object does not raise a SecurityError when origin is not a correct tuple
The specification states:
-
3.1.2 Resource metadata management ... On getting, if the document is a cookie-averse Document object, then the user agent must return the empty string. Otherwise, if the Document's origin is not a scheme/host/port tuple, the user agent must throw a SecurityError exception.
All document modes (All versions)
A cookie-averse Document
object does not throw a SecurityError
when origin
is not a scheme/host/port tuple and no exception is thrown.