1 // Copyright 2015 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.
7 Constructor
(DOMString scriptUrl
),
8 ConstructorCallWith
=ExecutionContext
,
10 RaisesException
=Constructor
,
11 RuntimeEnabled
=CompositorWorker
,
12 ] interface CompositorWorker
: EventTarget
{
13 attribute EventHandler onmessage
;
14 [PostMessage
, RaisesException
] void postMessage
(SerializedScriptValue
message, optional sequence
<Transferable
> transfer
);
18 CompositorWorker implements AbstractWorker
;