OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. | 2 * Copyright (C) 2008 Apple Inc. All Rights Reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 16 matching lines...) Expand all Loading... |
27 [ | 27 [ |
28 GlobalContext=WorkerGlobalScope, | 28 GlobalContext=WorkerGlobalScope, |
29 CustomToV8, | 29 CustomToV8, |
30 DoNotGenerateWrap | 30 DoNotGenerateWrap |
31 ] interface WorkerGlobalScope : EventTarget { | 31 ] interface WorkerGlobalScope : EventTarget { |
32 | 32 |
33 // WorkerGlobalScope | 33 // WorkerGlobalScope |
34 [Replaceable] readonly attribute WorkerGlobalScope self; | 34 [Replaceable] readonly attribute WorkerGlobalScope self; |
35 [Replaceable] readonly attribute WorkerLocation location; | 35 [Replaceable] readonly attribute WorkerLocation location; |
36 void close(); | 36 void close(); |
37 attribute EventListener onerror; | 37 attribute EventHandler onerror; |
38 | 38 |
39 // WorkerUtils | 39 // WorkerUtils |
40 [Custom] void importScripts(/*[Variadic] in DOMString urls */); | 40 [Custom] void importScripts(/*[Variadic] in DOMString urls */); |
41 [Replaceable] readonly attribute WorkerNavigator navigator; | 41 [Replaceable] readonly attribute WorkerNavigator navigator; |
42 | 42 |
43 // Additional constructors | 43 // Additional constructors |
44 attribute URLConstructor webkitURL; // FIXME: deprecate this. | 44 attribute URLConstructor webkitURL; // FIXME: deprecate this. |
45 }; | 45 }; |
46 | 46 |
47 WorkerGlobalScope implements WindowBase64; | 47 WorkerGlobalScope implements WindowBase64; |
48 WorkerGlobalScope implements WindowTimers; | 48 WorkerGlobalScope implements WindowTimers; |
OLD | NEW |