| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 50 | 50 | 
| 51     // EventTarget interface | 51     // EventTarget interface | 
| 52     void addEventListener(DOMString type, | 52     void addEventListener(DOMString type, | 
| 53                           EventListener listener, | 53                           EventListener listener, | 
| 54                           optional boolean useCapture); | 54                           optional boolean useCapture); | 
| 55     void removeEventListener(DOMString type, | 55     void removeEventListener(DOMString type, | 
| 56                              EventListener listener, | 56                              EventListener listener, | 
| 57                              optional boolean useCapture); | 57                              optional boolean useCapture); | 
| 58     [RaisesException] boolean dispatchEvent(Event evt); | 58     [RaisesException] boolean dispatchEvent(Event evt); | 
| 59 | 59 | 
| 60     // Constructors | 60     // Additional constructors | 
| 61     attribute MessageEventConstructor MessageEvent; |  | 
| 62     attribute WorkerLocationConstructor WorkerLocation; |  | 
| 63 |  | 
| 64     attribute MessageChannelConstructor MessageChannel; |  | 
| 65     attribute EventSourceConstructor EventSource; |  | 
| 66     attribute XMLHttpRequestConstructor XMLHttpRequest; |  | 
| 67 |  | 
| 68     attribute BlobConstructor Blob; |  | 
| 69     attribute FileReaderConstructor FileReader; |  | 
| 70     attribute FileReaderSyncConstructor FileReaderSync; |  | 
| 71 |  | 
| 72     attribute URLConstructor URL; |  | 
| 73     attribute URLConstructor webkitURL; // FIXME: deprecate this. | 61     attribute URLConstructor webkitURL; // FIXME: deprecate this. | 
| 74 |  | 
| 75     attribute ArrayBufferConstructor ArrayBuffer; // Usable with new operator |  | 
| 76     attribute Int8ArrayConstructor Int8Array; // Usable with new operator |  | 
| 77     attribute Uint8ArrayConstructor Uint8Array; // Usable with new operator |  | 
| 78     attribute Uint8ClampedArrayConstructor Uint8ClampedArray; // Usable with new
     operator |  | 
| 79     attribute Int16ArrayConstructor Int16Array; // Usable with new operator |  | 
| 80     attribute Uint16ArrayConstructor Uint16Array; // Usable with new operator |  | 
| 81     attribute Int32ArrayConstructor Int32Array; // Usable with new operator |  | 
| 82     attribute Uint32ArrayConstructor Uint32Array; // Usable with new operator |  | 
| 83     attribute Float32ArrayConstructor Float32Array; // Usable with new operator |  | 
| 84     attribute Float64ArrayConstructor Float64Array; // Usable with new operator |  | 
| 85     attribute DataViewConstructor DataView; // Usable with new operator |  | 
| 86 }; | 62 }; | 
| 87 | 63 | 
| OLD | NEW | 
|---|