WebAPI/LogAPI: Difference between revisions

Line 21: Line 21:


<pre>
<pre>
[NoInterfaceObject]
interface NavigatorLog {
    readonly attribute LogManager mozLog;
};
Navigator implements NavigatorLog;
[NoInterfaceObject]
[NoInterfaceObject]
interface LogManager : EventTarget  {
interface LogManager : EventTarget  {
Line 29: Line 37:
     DOMRequest find(optional LogFindOptions options,optional IteratorOptions iopts);
     DOMRequest find(optional LogFindOptions options,optional IteratorOptions iopts);
          
          
   attribute Function? onentryadded;
   attribute Function? onentryadded; // To listen for log changes
  };
  };


172

edits