blob: fc0390f325d82d1ff7f7d5b4fe0371568aa209cb [file] [log] [blame]
// Copyright 2018 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.
// https://github.com/wicg/trusted-types
typedef [StringContext=TrustedScript] DOMString ScriptString;
[
IsCodeLike,
Exposed=Window,
RuntimeEnabled=TrustedDOMTypes
] interface TrustedScript {
stringifier;
DOMString toJSON();
};