OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // https://fetch.spec.whatwg.org/#requestcredentials | |
6 // Copied from modules/fetch/Request.idl because it's not accessible from core/ | |
7 // directory. | |
8 // TODO(nhiroki): Consider how to reuse the existing enum. | |
nhiroki
2017/05/12 09:24:46
yhirano@, any thoughts? Is it more preferable to m
yhirano
2017/05/12 10:56:34
lgtm
| |
9 enum RequestCredentials { "omit", "same-origin", "include" }; | |
10 | |
11 // https://drafts.css-houdini.org/worklets/#dictdef-workletoptions | |
12 dictionary WorkletOptions { | |
13 RequestCredentials credentials = "omit"; | |
14 }; | |
OLD | NEW |