summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/trustedtypes/trusted_script_url.idl
blob: b5b9cc1e33a5b791c3fa23f6e7a7b0ec3194e1d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// 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.

// https://github.com/wicg/trusted-types

typedef [StringContext=TrustedScriptURL] USVString ScriptURLString;

[
    Exposed=Window,
    RuntimeEnabled=TrustedDOMTypes
] interface TrustedScriptURL {
    stringifier;
    USVString toJSON();
};