OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 ActiveScriptWrappable, | |
haraken
2016/08/16 11:38:02
How was CompositorWorker working without having [A
Yuki
2016/08/16 12:04:39
I have no idea. Probably we were just lucky, or i
| |
6 DependentLifetime, | 7 DependentLifetime, |
7 Constructor(DOMString scriptUrl), | 8 Constructor(DOMString scriptUrl), |
8 ConstructorCallWith=ExecutionContext, | 9 ConstructorCallWith=ExecutionContext, |
9 RaisesException=Constructor, | 10 RaisesException=Constructor, |
10 RuntimeEnabled=CompositorWorker, | 11 RuntimeEnabled=CompositorWorker, |
11 ] interface CompositorWorker : EventTarget { | 12 ] interface CompositorWorker : EventTarget { |
12 attribute EventHandler onmessage; | 13 attribute EventHandler onmessage; |
13 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag e, optional sequence<Transferable> transfer); | 14 [PostMessage, RaisesException] void postMessage(SerializedScriptValue messag e, optional sequence<Transferable> transfer); |
14 void terminate(); | 15 void terminate(); |
15 }; | 16 }; |
16 | 17 |
17 CompositorWorker implements AbstractWorker; | 18 CompositorWorker implements AbstractWorker; |
OLD | NEW |