diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/workers/experimental/task_worklet_global_scope.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/core/workers/experimental/task_worklet_global_scope.idl | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/core/workers/experimental/task_worklet_global_scope.idl b/chromium/third_party/blink/renderer/core/workers/experimental/task_worklet_global_scope.idl new file mode 100644 index 00000000000..4e7caced021 --- /dev/null +++ b/chromium/third_party/blink/renderer/core/workers/experimental/task_worklet_global_scope.idl @@ -0,0 +1,10 @@ +// 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. + +[ + RuntimeEnabled=WorkerTaskQueue, + Global=(Worklet,TaskWorklet) +] interface TaskWorkletGlobalScope : WorkletGlobalScope { + [RaisesException] void registerTask(DOMString name, CallbackFunctionTreatedAsScriptValue taskConstructor); +}; |