Ignore:
Timestamp:
Jul 29, 2006, 5:04:22 PM (19 years ago)
Author:
darin
Message:

JavaScriptCore:

  • Removed tabs from these source files that still had them. We don't use them; that way source files look fine in editors that have tabs set to 8 spaces or to 4 spaces.
  • Removed allow-tabs Subversion property from the files too.
  • bindings/NP_jsobject.cpp:
  • bindings/c/c_utility.cpp:
  • bindings/jni/jni_runtime.cpp:
  • bindings/jni/jni_utility.cpp:
  • bindings/objc/objc_utility.mm:
  • bindings/runtime.cpp:
  • bindings/runtime_method.cpp:
  • bindings/testbindings.cpp:
  • bindings/testbindings.mm:
  • kjs/date_object.cpp:
  • kjs/function.cpp:
  • kjs/list.cpp:
  • kjs/nodes.cpp:
  • kjs/nodes.h:
  • kjs/string_object.cpp:
  • kjs/ustring.cpp:

WebCore:

  • Removed tabs from these source files that still had them. We don't use them; that way source files look fine in editors that have tabs set to 8 spaces or to 4 spaces.
  • Removed allow-tabs Subversion property from the files too.
  • bindings/objc/WebScriptObject.h:
  • bindings/objc/WebScriptObject.mm:
  • platform/FontData.cpp:

WebKit:

  • Removed tabs from these source files that still had them. We don't use them; that way source files look fine in editors that have tabs set to 8 spaces or to 4 spaces.
  • Removed allow-tabs Subversion property from the files too.
  • DefaultDelegates/WebDefaultPolicyDelegate.m:
  • History/WebHistory.m:
  • Misc/WebDownload.m:
  • Misc/WebIconDatabase.m:
  • Misc/WebKitErrors.m:
  • Misc/WebKitLogging.m:
  • Misc/WebNSDataExtras.m:
  • Misc/WebNSFileManagerExtras.m:
  • Panels/WebPanelAuthenticationHandler.m:
  • Plugins/WebBaseNetscapePluginView.m:
  • Plugins/npfunctions.h:
  • WebCoreSupport/WebSubresourceLoader.m:
  • WebView/WebMainResourceLoader.m:
  • WebView/WebView.h:
  • WebView/WebView.m:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/bindings/NP_jsobject.cpp

    • Property allow-tabs deleted
    r14834 r15698  
    7373{
    7474    if (obj->originExecutionContext) {
    75         Interpreter* originInterpreter = obj->originExecutionContext->interpreter();
    76         if (originInterpreter)
    77             return originInterpreter->isSafeScript(obj->executionContext->interpreter());
     75        Interpreter* originInterpreter = obj->originExecutionContext->interpreter();
     76        if (originInterpreter)
     77            return originInterpreter->isSafeScript(obj->executionContext->interpreter());
    7878    }
    7979    return true;
     
    113113    if (o->_class == NPScriptObjectClass) {
    114114        JavaScriptObject* obj = (JavaScriptObject*)o;
    115         if (!_isSafeScript(obj))
    116             return false;
     115        if (!_isSafeScript(obj))
     116            return false;
    117117
    118118        PrivateIdentifier* i = (PrivateIdentifier*)methodName;
     
    120120            return false;
    121121
    122         // Special case the "eval" method.
    123         if (methodName == _NPN_GetStringIdentifier("eval")) {
    124             if (argCount != 1)
    125                 return false;
    126             if (args[0].type != NPVariantType_String)
    127                 return false;
    128             return _NPN_Evaluate(npp, o, (NPString *)&args[0].value.stringValue, result);
    129         }
     122        // Special case the "eval" method.
     123        if (methodName == _NPN_GetStringIdentifier("eval")) {
     124            if (argCount != 1)
     125                return false;
     126            if (args[0].type != NPVariantType_String)
     127                return false;
     128            return _NPN_Evaluate(npp, o, (NPString *)&args[0].value.stringValue, result);
     129        }
    130130
    131131        // Lookup the function object.
     
    164164        JavaScriptObject* obj = (JavaScriptObject*)o;
    165165
    166         if (!_isSafeScript(obj))
    167             return false;
     166        if (!_isSafeScript(obj))
     167            return false;
    168168
    169169        ExecState* exec = obj->executionContext->interpreter()->globalExec();
     
    199199    if (o->_class == NPScriptObjectClass) {
    200200        JavaScriptObject* obj = (JavaScriptObject*)o;
    201         if (!_isSafeScript(obj))
    202             return false;
     201        if (!_isSafeScript(obj))
     202            return false;
    203203
    204204        ExecState* exec = obj->executionContext->interpreter()->globalExec();
     
    238238    if (o->_class == NPScriptObjectClass) {
    239239        JavaScriptObject* obj = (JavaScriptObject*)o;
    240         if (!_isSafeScript(obj))
    241             return false;
     240        if (!_isSafeScript(obj))
     241            return false;
    242242
    243243        ExecState* exec = obj->executionContext->interpreter()->globalExec();
     
    261261    if (o->_class == NPScriptObjectClass) {
    262262        JavaScriptObject* obj = (JavaScriptObject*)o;
    263         if (!_isSafeScript(obj))
    264             return false;
     263        if (!_isSafeScript(obj))
     264            return false;
    265265
    266266        ExecState* exec = obj->executionContext->interpreter()->globalExec();
     
    289289    if (o->_class == NPScriptObjectClass) {
    290290        JavaScriptObject* obj = (JavaScriptObject*)o;
    291         if (!_isSafeScript(obj))
    292             return false;
     291        if (!_isSafeScript(obj))
     292            return false;
    293293
    294294        ExecState* exec = obj->executionContext->interpreter()->globalExec();
     
    310310    if (o->_class == NPScriptObjectClass) {
    311311        JavaScriptObject* obj = (JavaScriptObject*)o;
    312         if (!_isSafeScript(obj))
    313             return false;
     312        if (!_isSafeScript(obj))
     313            return false;
    314314
    315315        PrivateIdentifier* i = (PrivateIdentifier*)methodName;
Note: See TracChangeset for help on using the changeset viewer.