Diff for /books/www/corrections.html between versions 1.61 and 1.62

version 1.61, 2002/12/16 15:25:55 version 1.62, 2002/12/17 13:09:08
Line 97  id="printBtn" label="Print" oncommand="d Line 97  id="printBtn" label="Print" oncommand="d
         netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");           netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); 
         var sample = Components.classes["@mozilla.org/sound;1"].createInstance();           var sample = Components.classes["@mozilla.org/sound;1"].createInstance(); 
         sample = sample.QueryInterface(Components.interfaces.nsISound);           sample = sample.QueryInterface(Components.interfaces.nsISound); 
        sample.playSystemSound('resource:/res/samples/test.wav');         const SND_NETWORK_STD_CID = "@mozilla.org/network/standard-url;1";
         const SND_I_URL           = "nsIURL";
         const SND_URL             = new  C.Constructor(SND_NETWORK_STD_CID, SND_I_URL);
         var url                   = new SND_URL();
         url.spec                  = 'http://jslib.mozdev.org/test.wav';
         sample.play(url);
       }         } 
     </script>        </script>  
   </head>      </head>  

Removed from v.1.61  
changed lines
  Added in v.1.62


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>