OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 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 [ | |
6 Exposed=Worker&Window&ServiceWorker | |
Jens Widell
2014/07/29 18:24:29
We typically prefer to not add additional files he
Inactive
2014/07/29 18:54:47
Note that the new spec says this should be:
Expose
Peter Beverloo
2014/07/30 14:48:15
I don't mind updating the syntax, but not as part
Peter Beverloo
2014/07/30 14:48:15
Ack. I'll split it up later, as I'd like to keep a
| |
7 ] interface TestExposedInterface { | |
8 void alwaysExposedMethod(); | |
9 [Exposed=Worker] void workerExposedMethod(); | |
10 [Exposed=Window] void windowExposedMethod(); | |
11 | |
12 static void alwaysExposedStaticMethod(); | |
13 [Exposed=Worker] static void workerExposedStaticMethod(); | |
14 [Exposed=Window] static void windowExposedStaticMethod(); | |
15 | |
16 attribute long alwaysExposedAttribute; | |
17 [Exposed=Worker] attribute long workerExposedAttribute; | |
18 [Exposed=Window] attribute long windowExposedAttribute; | |
19 | |
20 [Exposed=Window&ServiceWorker] void windowAndServiceWorkerExposedMethod(); | |
Peter Beverloo
2014/07/29 17:40:26
Note: We need some way to recognize that "ServiceW
| |
21 }; | |
OLD | NEW |