| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2011 Google Inc. All rights reserved. | 3 * Copyright (C) 2011 Google Inc. All rights reserved. |
| 4 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 [Custom] Window open(DOMString url, | 62 [Custom] Window open(DOMString url, |
| 63 DOMString name, | 63 DOMString name, |
| 64 optional DOMString options); | 64 optional DOMString options); |
| 65 | 65 |
| 66 [RuntimeEnabled=ShowModalDialog, Custom] any showModalDialog(DOMString url, | 66 [RuntimeEnabled=ShowModalDialog, Custom] any showModalDialog(DOMString url, |
| 67 optional any dialogArgs, | 67 optional any dialogArgs, |
| 68 optional DOMString featureArgs); | 68 optional DOMString featureArgs); |
| 69 | 69 |
| 70 void alert(); | 70 void alert(); |
| 71 void alert(DOMString message); | 71 void alert(DOMString message); |
| 72 boolean confirm([Default=NullString] optional DOMString message); | 72 boolean confirm(optional DOMString message = null); |
| 73 [TreatReturnedNullStringAs=Null] DOMString prompt([Default=NullString] optio
nal DOMString message, | 73 [TreatReturnedNullStringAs=Null] DOMString prompt(optional DOMString message
= null, |
| 74 [Default=NullString] optio
nal DOMString defaultValue); | 74 optional DOMString default
Value = null); |
| 75 | 75 |
| 76 boolean find([Default=Undefined] optional DOMString string, | 76 boolean find([Default=Undefined] optional DOMString string, |
| 77 [Default=Undefined] optional boolean caseSensitive, | 77 [Default=Undefined] optional boolean caseSensitive, |
| 78 [Default=Undefined] optional boolean backwards, | 78 [Default=Undefined] optional boolean backwards, |
| 79 [Default=Undefined] optional boolean wrap, | 79 [Default=Undefined] optional boolean wrap, |
| 80 [Default=Undefined] optional boolean wholeWord, | 80 [Default=Undefined] optional boolean wholeWord, |
| 81 [Default=Undefined] optional boolean searchInFrames, | 81 [Default=Undefined] optional boolean searchInFrames, |
| 82 [Default=Undefined] optional boolean showDialog); | 82 [Default=Undefined] optional boolean showDialog); |
| 83 | 83 |
| 84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean
offscreenBuffering; | 84 [Replaceable, MeasureAs=WindowOffscreenBuffering] readonly attribute boolean
offscreenBuffering; |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); | 208 [DoNotCheckSignature, DoNotCheckSecurity, Custom, NotEnumerable] DOMString t
oString(); |
| 209 | 209 |
| 210 [NotEnumerable] getter Window (unsigned long index); | 210 [NotEnumerable] getter Window (unsigned long index); |
| 211 [Custom, NotEnumerable] getter Window (DOMString name); | 211 [Custom, NotEnumerable] getter Window (DOMString name); |
| 212 }; | 212 }; |
| 213 | 213 |
| 214 Window implements GlobalEventHandlers; | 214 Window implements GlobalEventHandlers; |
| 215 Window implements WindowBase64; | 215 Window implements WindowBase64; |
| 216 Window implements WindowEventHandlers; | 216 Window implements WindowEventHandlers; |
| 217 Window implements WindowTimers; | 217 Window implements WindowTimers; |
| OLD | NEW |