// permission. Defaults to false.<br>
// Call <code>setAlwaysOnTop()</code> on the window to change this property
// after creation.<br>
- // Currently only available on Dev channel.
boolean? alwaysOnTop;
// If true, the window will be focused when created. Defaults to true.
// TODO(stevenjb): Investigate implementing this on Windows and OSX.
[nodoc] static void setIcon(DOMString iconUrl);
+ // Set a badge icon for the window.
+ // TODO(benwells): Document this properly before going to stable.
+ [nodoc] static void setBadgeIcon(DOMString iconUrl);
+
+ // Clear the current for the window.
+ // TODO(benwells): Document this properly before going to stable.
+ [nodoc] static void clearBadge();
+
// Is the window always on top?
static boolean isAlwaysOnTop();
// Set whether the window should stay above most other windows. Requires the
// <code>"alwaysOnTopWindows"</code> permission.
- // Currently only available on Dev channel.
static void setAlwaysOnTop(boolean alwaysOnTop);
// The JavaScript 'window' object for the created child.