Ignore:
Timestamp:
Feb 18, 2008, 4:25:26 PM (17 years ago)
Author:
[email protected]
Message:

JavaScriptCore:

Reviewed by Geoff Garen.

Fix for http://bugs.webkit.org/show_bug.cgi?id=17419
Remove CompatMode from JavaScriptCore as it is never set to anything other than NativeMode

  • kjs/JSGlobalObject.cpp: (KJS::JSGlobalObject::init):
  • kjs/JSGlobalObject.h: (KJS::JSGlobalObject::setDebugger):
  • kjs/date_object.cpp: (KJS::dateProtoFuncGetYear):

WebCore:

Reviewed by Geoff Garen.

Fix for http://bugs.webkit.org/show_bug.cgi?id=17419
Remove CompatMode from JavaScriptCore as it is never set to anything other than NativeMode

  • bindings/js/kjs_proxy.cpp: (WebCore::KJSProxy::initScript):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/date_object.cpp

    r29817 r30387  
    16071607    msToGregorianDateTime(milli, utc, t);
    16081608
    1609     // IE returns the full year even in getYear.
    1610     if (exec->dynamicGlobalObject()->compatMode() == IECompat)
    1611         return jsNumber(1900 + t.year);
     1609    // NOTE: IE returns the full year even in getYear.
    16121610    return jsNumber(t.year);
    16131611}
Note: See TracChangeset for help on using the changeset viewer.