From 639554ab2ac1a52202e2a6a7d9c37a0065915cc4 Mon Sep 17 00:00:00 2001 From: Raphael Kubo da Costa Date: Thu, 24 Mar 2022 17:32:40 +0100 Subject: [PATCH] Stop referring to the "responsible document" concept. This has been removed from HTML. Instead, retrieve the document's relevant settings object (which is an environment as specified in HTML) and run the "is a secure context" check that is defined in HTML on it. Fixes #432. --- index.bs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.bs b/index.bs index c8c37b9..785f7d3 100644 --- a/index.bs +++ b/index.bs @@ -756,7 +756,7 @@ The user agent must verify that all [=mandatory conditions=] are satisfied to en [=sensor type|type=] that belong to a certain [=active document=]. The mandatory conditions are the following: - - The given document is a [=responsible document=] of a [=secure context=]. + - The given document's [=relevant settings object=] is a [=secure context=]. - For each [=powerful feature/name=] from the [=sensor type=]'s associated [=sensor permission names=] [=ordered set|set=], the corresponding permission's [=permission state|state=] is "granted".