Feature Policy is a mechanism that allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser. 这句话中,in the browser是作为主句中的地点状语,还是从句中的地点状语?如何区分?
Feature Policy(主语)
is(谓语/be)
a mechanism(表语)
(定语从句,that替代先行词是a mechanism在从句中作主语) that allows web developers to selectively enable, disable, and modify the behavior of certain APIs and web features in the browser.
in the browser显然是在从句中,从句意来判断比较明显。另外如果是主句的状语,不会放这么远由从句来隔开。
从句翻译:
这机制使得网页开发人员可以有选择地启用、禁用和修改浏览器中某些API和网页功能的行为。