blob: fc39c78378531b7a8fe202aaf1cf3932fbc44a45 [file] [log] [blame]
// Copyright 2016 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.
[
ImplementedAs=OriginTrialsTestPartial,
RuntimeEnabled=OriginTrialsSampleAPI
] partial interface OriginTrialsTest {
const unsigned short CONSTANT_PARTIAL = 2;
readonly attribute boolean normalAttributePartial;
static readonly attribute boolean staticAttributePartial;
boolean normalMethodPartial();
static boolean staticMethodPartial();
// These are only available in a secure context.
[SecureContext] readonly attribute boolean secureAttributePartial;
[SecureContext] static readonly attribute boolean secureStaticAttributePartial;
[SecureContext] boolean secureMethodPartial();
[SecureContext] static boolean secureStaticMethodPartial();
};