| 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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 [Custom] Window? open(DOMString url, DOMString target, optional DOMString fe
atures); | 65 [Custom] Window? open(DOMString url, DOMString target, optional DOMString fe
atures); |
| 66 // FIXME: These getters should not have [NotEnumerable]. | 66 // FIXME: These getters should not have [NotEnumerable]. |
| 67 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index); | 67 [NotEnumerable, DoNotCheckSecurity] getter Window (unsigned long index); |
| 68 [Custom, NotEnumerable, DoNotCheckSecurity] getter object (DOMString name); | 68 [Custom, NotEnumerable, DoNotCheckSecurity] getter object (DOMString name); |
| 69 | 69 |
| 70 // the user agent | 70 // the user agent |
| 71 [LogActivity=GetterOnly] readonly attribute Navigator navigator; | 71 [LogActivity=GetterOnly] readonly attribute Navigator navigator; |
| 72 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; | 72 [RuntimeEnabled=ApplicationCache, LogActivity=GetterOnly] readonly attribute
ApplicationCache applicationCache; |
| 73 | 73 |
| 74 // user prompts | 74 // user prompts |
| 75 [Measure] void alert(); | 75 [Measure, NotDuringMicrotasks] void alert(); |
| 76 [Measure] void alert(DOMString message); | 76 [Measure, NotDuringMicrotasks] void alert(DOMString message); |
| 77 [Measure] boolean confirm(optional DOMString message = ""); | 77 [Measure, NotDuringMicrotasks] boolean confirm(optional DOMString message =
""); |
| 78 [Measure] DOMString? prompt(optional DOMString message = "", optional DOMStr
ing defaultValue = ""); | 78 [Measure, NotDuringMicrotasks] DOMString? prompt(optional DOMString message
= "", optional DOMString defaultValue = ""); |
| 79 [Measure] void print(); | 79 [Measure, NotDuringMicrotasks] void print(); |
| 80 | 80 |
| 81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame
RequestCallback callback); | 81 [MeasureAs=UnprefixedRequestAnimationFrame] long requestAnimationFrame(Frame
RequestCallback callback); |
| 82 void cancelAnimationFrame(long handle); | 82 void cancelAnimationFrame(long handle); |
| 83 | 83 |
| 84 [Measure, RuntimeEnabled=RequestIdleCallback] long requestIdleCallback(IdleR
equestCallback callback, optional IdleRequestOptions options); | 84 [Measure, RuntimeEnabled=RequestIdleCallback] long requestIdleCallback(IdleR
equestCallback callback, optional IdleRequestOptions options); |
| 85 [RuntimeEnabled=RequestIdleCallback] void cancelIdleCallback(long handle); | 85 [RuntimeEnabled=RequestIdleCallback] void cancelIdleCallback(long handle); |
| 86 | 86 |
| 87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message,
DOMString targetOrigin, optional sequence<Transferable> transfer); | 87 [DoNotCheckSecurity, Custom, RaisesException] void postMessage(any message,
DOMString targetOrigin, optional sequence<Transferable> transfer); |
| 88 | 88 |
| 89 // Custom elements | 89 // Custom elements |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 | 203 // FIXME: make this typedef accurate once enough of http://crbug.com/240176 |
| 204 // is in place. | 204 // is in place. |
| 205 // FIXME: consider putting this typedef in an .idl file containing spec-wide | 205 // FIXME: consider putting this typedef in an .idl file containing spec-wide |
| 206 // utility type definitions. | 206 // utility type definitions. |
| 207 typedef MessagePort Transferable; | 207 typedef MessagePort Transferable; |
| 208 | 208 |
| 209 Window implements GlobalEventHandlers; | 209 Window implements GlobalEventHandlers; |
| 210 Window implements WindowBase64; | 210 Window implements WindowBase64; |
| 211 Window implements WindowEventHandlers; | 211 Window implements WindowEventHandlers; |
| 212 Window implements WindowTimers; | 212 Window implements WindowTimers; |
| OLD | NEW |