| 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 21 matching lines...) Expand all Loading... |
| 32 ExtendsDOMGlobalObject, | 32 ExtendsDOMGlobalObject, |
| 33 IsWorkerContext, | 33 IsWorkerContext, |
| 34 JSLegacyParent=JSWorkerContextBase, | 34 JSLegacyParent=JSWorkerContextBase, |
| 35 JSNoStaticTables, | 35 JSNoStaticTables, |
| 36 OmitConstructor, | 36 OmitConstructor, |
| 37 V8CustomToJSObject | 37 V8CustomToJSObject |
| 38 ] interface WorkerContext { | 38 ] interface WorkerContext { |
| 39 | 39 |
| 40 // WorkerGlobalScope | 40 // WorkerGlobalScope |
| 41 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT | 41 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
| 42 attribute [Replaceable] WorkerContext self; | 42 [Replaceable] readonly attribute WorkerContext self; |
| 43 #endif | 43 #endif |
| 44 attribute [Replaceable] WorkerLocation location; | 44 [Replaceable] readonly attribute WorkerLocation location; |
| 45 void close(); | 45 void close(); |
| 46 attribute EventListener onerror; | 46 attribute EventListener onerror; |
| 47 | 47 |
| 48 // WorkerUtils | 48 // WorkerUtils |
| 49 [Custom] void importScripts(/*[Variadic] in DOMString urls */); | 49 [Custom] void importScripts(/*[Variadic] in DOMString urls */); |
| 50 [Replaceable] attribute WorkerNavigator navigator; | 50 [Replaceable] readonly attribute WorkerNavigator navigator; |
| 51 | 51 |
| 52 // Timers | 52 // Timers |
| 53 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); | 53 [Custom] long setTimeout(in TimeoutHandler handler, in long timeout); |
| 54 // [Custom] long setTimeout(in DOMString code, in long timeout); | 54 // [Custom] long setTimeout(in DOMString code, in long timeout); |
| 55 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); | 55 void clearTimeout(in [Optional=DefaultIsUndefined] long handle); |
| 56 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); | 56 [Custom] long setInterval(in TimeoutHandler handler, in long timeout); |
| 57 // [Custom] long setInterval(in DOMString code, in long timeout); | 57 // [Custom] long setInterval(in DOMString code, in long timeout); |
| 58 void clearInterval(in [Optional=DefaultIsUndefined] long handle); | 58 void clearInterval(in [Optional=DefaultIsUndefined] long handle); |
| 59 | 59 |
| 60 | 60 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 attribute Uint8ArrayConstructor Uint8ClampedArray; // Usable with new operat
or | 95 attribute Uint8ArrayConstructor Uint8ClampedArray; // Usable with new operat
or |
| 96 attribute Int16ArrayConstructor Int16Array; // Usable with new operator | 96 attribute Int16ArrayConstructor Int16Array; // Usable with new operator |
| 97 attribute Uint16ArrayConstructor Uint16Array; // Usable with new operator | 97 attribute Uint16ArrayConstructor Uint16Array; // Usable with new operator |
| 98 attribute Int32ArrayConstructor Int32Array; // Usable with new operator | 98 attribute Int32ArrayConstructor Int32Array; // Usable with new operator |
| 99 attribute Uint32ArrayConstructor Uint32Array; // Usable with new operator | 99 attribute Uint32ArrayConstructor Uint32Array; // Usable with new operator |
| 100 attribute Float32ArrayConstructor Float32Array; // Usable with new operator | 100 attribute Float32ArrayConstructor Float32Array; // Usable with new operator |
| 101 attribute Float64ArrayConstructor Float64Array; // Usable with new operator | 101 attribute Float64ArrayConstructor Float64Array; // Usable with new operator |
| 102 attribute DataViewConstructor DataView; // Usable with new operator | 102 attribute DataViewConstructor DataView; // Usable with new operator |
| 103 }; | 103 }; |
| 104 | 104 |
| OLD | NEW |