Changeset 96023 in webkit


Ignore:
Timestamp:
Sep 26, 2011 4:02:17 PM (13 years ago)
Author:
cmarrin@apple.com
Message:

Enable requestAnimationFrame on Windows
https://bugs.webkit.org/show_bug.cgi?id=68397

Reviewed by Simon Fraser.

Source/JavaScriptCore:

Enabled REQUEST_ANIMATION_FRAME_TIMER for Windows

  • wtf/Platform.h:

WebKitLibraries:

Enable REQUEST_ANIMATION_FRAME for Windows

  • win/tools/vsprops/FeatureDefines.vsprops:

LayoutTests:

Unskip requestAnimationFrame tests for Windows. request-animation-frame-during-modal.html
is still skipped because it uses showModalDialog which is not supported in DRT on Windows

  • platform/win/Skipped:
Location:
trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r96016 r96023  
     12011-09-26  Chris Marrin  <cmarrin@apple.com>
     2
     3        Enable requestAnimationFrame on Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=68397
     5
     6        Reviewed by Simon Fraser.
     7
     8        Unskip requestAnimationFrame tests for Windows. request-animation-frame-during-modal.html
     9        is still skipped because it uses showModalDialog which is not supported in DRT on Windows
     10
     11        * platform/win/Skipped:
     12
    1132011-09-26  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/LayoutTests/platform/win/Skipped

    r95602 r96023  
    12451245http/tests/loading/cross-origin-XHR-willLoadRequest.html
    12461246
    1247 # Request ENABLE(REQUEST_ANIMATION_FRAME) support
    1248 fast/animation
    1249 inspector/timeline/timeline-animation-frame.html
     1247# Uses showModalDialog (https://bugs.webkit.org/show_bug.cgi?id=53675)
     1248fast/animation/request-animation-frame-during-modal.html
    12501249
    12511250# This port doesn't support v8 i18n extension.
  • trunk/Source/JavaScriptCore/ChangeLog

    r96001 r96023  
     12011-09-26  Chris Marrin  <cmarrin@apple.com>
     2
     3        Enable requestAnimationFrame on Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=68397
     5
     6        Reviewed by Simon Fraser.
     7
     8        Enabled REQUEST_ANIMATION_FRAME_TIMER for Windows
     9
     10        * wtf/Platform.h:
     11
    1122011-09-26  Noel Gordon  <noel.gordon@gmail.com>
    213
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r95922 r96023  
    11001100#endif
    11011101
    1102 #if PLATFORM(MAC) || PLATFORM(GTK)
     1102#if PLATFORM(MAC) || PLATFORM(GTK) || (PLATFORM(WIN) && !OS(WINCE) && !PLATFORM(WIN_CAIRO))
    11031103#define WTF_USE_REQUEST_ANIMATION_FRAME_TIMER 1
     1104#define WTF_USE_REQUEST_ANIMATION_FRAME_TIMER 1
    11041105#endif
    11051106
  • trunk/Source/WebCore/DerivedSources.cpp

    r94614 r96023  
    274274#include "JSRangeException.cpp"
    275275#include "JSRect.cpp"
     276#include "JSRequestAnimationFrameCallback.cpp"
    276277#include "JSRGBColor.cpp"
    277278#include "JSScreen.cpp"
  • trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj

    r95942 r96023  
    1317513175                        </File>
    1317613176                        <File
     13177                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSRequestAnimationFrameCallback.cpp"
     13178                                >
     13179                                <FileConfiguration
     13180                                        Name="Debug|Win32"
     13181                                        ExcludedFromBuild="true"
     13182                                        >
     13183                                        <Tool
     13184                                                Name="VCCLCompilerTool"
     13185                                        />
     13186                                </FileConfiguration>
     13187                                <FileConfiguration
     13188                                        Name="Release|Win32"
     13189                                        ExcludedFromBuild="true"
     13190                                        >
     13191                                        <Tool
     13192                                                Name="VCCLCompilerTool"
     13193                                        />
     13194                                </FileConfiguration>
     13195                                <FileConfiguration
     13196                                        Name="Debug_Cairo_CFLite|Win32"
     13197                                        ExcludedFromBuild="true"
     13198                                        >
     13199                                        <Tool
     13200                                                Name="VCCLCompilerTool"
     13201                                        />
     13202                                </FileConfiguration>
     13203                                <FileConfiguration
     13204                                        Name="Release_Cairo_CFLite|Win32"
     13205                                        ExcludedFromBuild="true"
     13206                                        >
     13207                                        <Tool
     13208                                                Name="VCCLCompilerTool"
     13209                                        />
     13210                                </FileConfiguration>
     13211                                <FileConfiguration
     13212                                        Name="Debug_All|Win32"
     13213                                        ExcludedFromBuild="true"
     13214                                        >
     13215                                        <Tool
     13216                                                Name="VCCLCompilerTool"
     13217                                        />
     13218                                </FileConfiguration>
     13219                                <FileConfiguration
     13220                                        Name="Production|Win32"
     13221                                        ExcludedFromBuild="true"
     13222                                        >
     13223                                        <Tool
     13224                                                Name="VCCLCompilerTool"
     13225                                        />
     13226                                </FileConfiguration>
     13227                        </File>
     13228                        <File
     13229                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSRequestAnimationFrameCallback.h"
     13230                                >
     13231                        </File>
     13232                        <File
    1317713233                                RelativePath="$(ConfigurationBuildDir)\obj\$(ProjectName)\DerivedSources\JSRGBColor.cpp"
    1317813234                                >
     
    4816348219                        </File>
    4816448220                        <File
     48221                                RelativePath="..\dom\ScriptedAnimationController.cpp"
     48222                                >
     48223                        </File>
     48224                        <File
     48225                                RelativePath="..\dom\ScriptedAnimationController.h"
     48226                                >
     48227                        </File>
     48228                        <File
    4816548229                                RelativePath="..\dom\ScriptElement.cpp"
    4816648230                                >
     
    6369063754                                        <FileConfiguration
    6369163755                                                Name="Production|Win32"
     63756                                                ExcludedFromBuild="true"
     63757                                                >
     63758                                                <Tool
     63759                                                        Name="VCCLCompilerTool"
     63760                                                />
     63761                                        </FileConfiguration>
     63762                                </File>
     63763                                <File
     63764                                        RelativePath="..\bindings\js\JSRequestAnimationFrameCallbackCustom.cpp"
     63765                                        >
     63766                                        <FileConfiguration
     63767                                                Name="Debug|Win32"
    6369263768                                                ExcludedFromBuild="true"
    6369363769                                                >
     
    6906669142                                </File>
    6906769143                                <File
     69144                                        RelativePath="..\inspector\front-end\JavaScriptFormatter.js"
     69145                                        >
     69146                                </File>
     69147                                <File
    6906869148                                        RelativePath="..\inspector\front-end\UglifyJS\JavaScriptFormatter.js"
    69069                                         >
    69070                                 </File>
    69071                                 <File
    69072                                         RelativePath="..\inspector\front-end\JavaScriptFormatter.js"
    6907369149                                        >
    6907469150                                </File>
  • trunk/Source/WebCore/bindings/js/JSBindingsAllInOne.cpp

    r95486 r96023  
    128128#include "JSPluginElementFunctions.cpp"
    129129#include "JSProcessingInstructionCustom.cpp"
     130#include "JSRequestAnimationFrameCallbackCustom.cpp"
    130131#include "JSSQLResultSetRowListCustom.cpp"
    131132#include "JSSQLTransactionCustom.cpp"
  • trunk/WebKitLibraries/ChangeLog

    r95919 r96023  
     12011-09-26  Chris Marrin  <cmarrin@apple.com>
     2
     3        Enable requestAnimationFrame on Windows
     4        https://bugs.webkit.org/show_bug.cgi?id=68397
     5
     6        Reviewed by Simon Fraser.
     7
     8        Enable REQUEST_ANIMATION_FRAME for Windows
     9
     10        * win/tools/vsprops/FeatureDefines.vsprops:
     11
    1122011-09-24  Adam Barth  <abarth@webkit.org>
    213
  • trunk/WebKitLibraries/win/tools/vsprops/FeatureDefines.vsprops

    r95919 r96023  
    1010  <Tool
    1111                Name="VCCLCompilerTool"
    12                 PreprocessorDefinitions="$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_DOM_STORAGE);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XHTMLMP);$(ENABLE_XPATH);$(ENABLE_XSLT)"
    13         />
    14   <UserMacro
     12                PreprocessorDefinitions="$(ENABLE_REQUEST_ANIMATION_FRAME);$(ENABLE_3D_CANVAS);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_BLOB);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CLIENT_BASED_GEOLOCATION);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_DOM_STORAGE);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_CSS3_FLEXBOX);$(ENABLE_FULLSCREEN_API);$(ENABLE_GEOLOCATION);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_JAVASCRIPT_DEBUGGER);$(ENABLE_LINK_PREFETCH);$(ENABLE_MATHML);$(ENABLE_METER_TAG);$(ENABLE_MUTATION_OBSERVERS);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_TAG);$(ENABLE_QUOTA);$(ENABLE_REGISTER_PROTOCOL_HANDLER);$(ENABLE_SHARED_WORKERS);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_VIDEO);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_WORKERS);$(ENABLE_XHTMLMP);$(ENABLE_XPATH);$(ENABLE_XSLT)"
     13        />
     14  <UserMacro
     15                Name="ENABLE_REQUEST_ANIMATION_FRAME"
     16                Value="ENABLE_REQUEST_ANIMATION_FRAME"
     17                PerformEnvironmentSet="true"
     18        />
     19    <UserMacro
    1520                Name="ENABLE_3D_CANVAS"
    1621                Value=""
Note: See TracChangeset for help on using the changeset viewer.