blob: ab6fda8d491103765572f157b503a305d1986056 [file] [log] [blame]
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(iclelland): add spec for JS exposure in the spec for Feature Policy.
// Please refer to this doc for more details for now:
] interface Policy {
boolean allowsFeature(DOMString feature, optional DOMString url);
sequence<DOMString> allowedFeatures();
sequence<DOMString> getAllowlistForFeature(DOMString feature);