| // 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://fetch.spec.whatwg.org/#requestcredentials |
| // Copied from modules/fetch/Request.idl because it's not accessible from core/ |
| // directory. |
| // TODO(nhiroki): Consider how to reuse the existing enum. |
| enum RequestCredentials { "omit", "same-origin", "include" }; |
| |
| // https://drafts.css-houdini.org/worklets/#dictdef-workletoptions |
| dictionary WorkletOptions { |
| RequestCredentials credentials = "omit"; |
| }; |