Chromium Code Reviews| Index: third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
| diff --git a/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl b/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..a1ee432b97887c66a1b4cf80bcfe7dc21c06b8c8 |
| --- /dev/null |
| +++ b/third_party/WebKit/Source/core/frame/NavigatorClipboard.idl |
| @@ -0,0 +1,11 @@ |
| +// 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://w3c.github.io/clipboard-apis/#navigator-interface |
| + |
| +[RuntimeEnabled=AsyncClipboard] |
| +partial interface Navigator { |
| + [CallWith=ScriptState, SecureContext, SameObject] |
|
foolip
2017/05/15 15:33:27
Given that you have SecureContext here, it should
garykac
2017/05/17 23:51:15
Interesting. I was running the tests from the w3c/
|
| + readonly attribute Clipboard clipboard; |
| +}; |