Changeset 645

Show
Ignore:
Timestamp:
01/21/08 14:00:41 (11 months ago)
Author:
boo..@youngpup.net
Message:

Removing GM_apiLeakCheck from GM_log, GM_registerMenuCommand, and GM_openInTab
to be like 0.7.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/chrome/chromeFiles/content/miscapis.js

    r628 r645  
    8181 
    8282GM_ScriptLogger.prototype.log = function(message) { 
    83   if (!GM_apiLeakCheck("GM_log")) { 
    84     return; 
    85   } 
    86  
    8783  GM_log(this.prefix + message, true); 
    8884}; 
  • trunk/src/components/greasemonkey.js

    r631 r645  
    342342  registerMenuCommand: function(unsafeContentWin, commandName, commandFunc, 
    343343                                accelKey, accelModifiers, accessKey) { 
    344     if (!GM_apiLeakCheck("GM_registerMenuCommand")) { 
    345       return; 
    346     } 
    347  
    348344    var command = {name: commandName, 
    349345                   accelKey: accelKey, 
     
    359355 
    360356  openInTab: function(unsafeContentWin, url) { 
    361     if (!GM_apiLeakCheck("GM_openInTab")) { 
    362       return; 
    363     } 
    364  
    365357    var unsafeTop = new XPCNativeWrapper(unsafeContentWin, "top").top; 
    366358