Changeset 61950 in webkit for trunk/JavaScriptCore/Configurations


Ignore:
Timestamp:
Jun 26, 2010, 12:49:30 AM (15 years ago)
Author:
[email protected]
Message:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add an --enable-web-timing flag which guards Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

This flag is disabled by default.
See: http://dev.w3.org/2006/webapi/WebTiming/

  • configure.ac:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • Configurations/FeatureDefines.xcconfig:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add a guarded window.performance.timing binding which is disabled by default.
https://bugs.webkit.org/show_bug.cgi?id=38924

This is where Web Timing support will be implemented. Web Timing is a
draft spec for exposing load times to web pages. It will be enabled
once the spec and implementaiton are solidified. See:
http://dev.w3.org/2006/webapi/WebTiming/

No new tests because guarded behind a #DEFINE. Will add tests as
functionality is landed.

  • Android.mk:
  • CMakeLists.txt:
  • Configurations/FeatureDefines.xcconfig:
  • DerivedSources.cpp:
  • DerivedSources.make:
  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pri:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • page/DOMWindow.cpp: (WebCore::DOMWindow::clear): (WebCore::DOMWindow::performance):
  • page/DOMWindow.h: (WebCore::DOMWindow::optionalPerformance):
  • page/DOMWindow.idl:
  • page/NavigationTiming.cpp: Added. (WebCore::NavigationTiming::NavigationTiming): (WebCore::NavigationTiming::frame): (WebCore::NavigationTiming::disconnectFrame): (WebCore::NavigationTiming::navigationStart):
  • page/NavigationTiming.h: Added. (WebCore::NavigationTiming::create):
  • page/NavigationTiming.idl: Added.
  • page/Performance.cpp: Added. (WebCore::Performance::Performance): (WebCore::Performance::frame): (WebCore::Performance::disconnectFrame): (WebCore::Performance::timing):
  • page/Performance.h: Added. (WebCore::Performance::create):
  • page/Performance.idl: Added.

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Disable Web Timing support by default for chromium port.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • features.gypi:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • Configurations/FeatureDefines.xcconfig:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add an ENABLE_WEB_TIMING option for enabling Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • Configurations/FeatureDefines.xcconfig:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add a VS macro for enabling Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • win/tools/vsprops/FeatureDefines.vsprops:

2010-06-26 Tony Gentilcore <[email protected]>

Reviewed by Dimitri Glazkov.

Add a build-webkit option for enabling Web Timing support.
https://bugs.webkit.org/show_bug.cgi?id=38924

  • Scripts/build-webkit:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/Configurations/FeatureDefines.xcconfig

    r61545 r61950  
    7777ENABLE_VIDEO = ENABLE_VIDEO;
    7878ENABLE_WEB_SOCKETS = ENABLE_WEB_SOCKETS;
     79ENABLE_WEB_TIMING = ;
    7980ENABLE_WML = ;
    8081ENABLE_WORKERS = ENABLE_WORKERS;
     
    8384ENABLE_XSLT = ENABLE_XSLT;
    8485
    85 FEATURE_DEFINES = $(ENABLE_3D_CANVAS) $(ENABLE_3D_RENDERING) $(ENABLE_BLOB_SLICE) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_DATABASE) $(ENABLE_DATAGRID) $(ENABLE_DATALIST) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM_STORAGE) $(ENABLE_EVENTSOURCE) $(ENABLE_FILTERS) $(ENABLE_FILE_READER) $(ENABLE_FILE_WRITER) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_IMAGE_RESIZER) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_SPEECH) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_MATHML) $(ENABLE_METER_TAG) $(ENABLE_NOTIFICATIONS) $(ENABLE_OFFLINE_WEB_APPLICATIONS) $(ENABLE_PROGRESS_TAG) $(ENABLE_RUBY) $(ENABLE_SANDBOX) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_ANIMATION) $(ENABLE_SVG_AS_IMAGE) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_FOREIGN_OBJECT) $(ENABLE_SVG_USE) $(ENABLE_VIDEO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WML) $(ENABLE_WORKERS) $(ENABLE_XHTMLMP) $(ENABLE_XPATH) $(ENABLE_XSLT);
     86FEATURE_DEFINES = $(ENABLE_3D_CANVAS) $(ENABLE_3D_RENDERING) $(ENABLE_BLOB_SLICE) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CLIENT_BASED_GEOLOCATION) $(ENABLE_DATABASE) $(ENABLE_DATAGRID) $(ENABLE_DATALIST) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DOM_STORAGE) $(ENABLE_EVENTSOURCE) $(ENABLE_FILTERS) $(ENABLE_FILE_READER) $(ENABLE_FILE_WRITER) $(ENABLE_GEOLOCATION) $(ENABLE_ICONDATABASE) $(ENABLE_IMAGE_RESIZER) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INPUT_SPEECH) $(ENABLE_JAVASCRIPT_DEBUGGER) $(ENABLE_MATHML) $(ENABLE_METER_TAG) $(ENABLE_NOTIFICATIONS) $(ENABLE_OFFLINE_WEB_APPLICATIONS) $(ENABLE_PROGRESS_TAG) $(ENABLE_RUBY) $(ENABLE_SANDBOX) $(ENABLE_SHARED_WORKERS) $(ENABLE_SVG) $(ENABLE_SVG_ANIMATION) $(ENABLE_SVG_AS_IMAGE) $(ENABLE_SVG_DOM_OBJC_BINDINGS) $(ENABLE_SVG_FONTS) $(ENABLE_SVG_FOREIGN_OBJECT) $(ENABLE_SVG_USE) $(ENABLE_VIDEO) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WML) $(ENABLE_WORKERS) $(ENABLE_XHTMLMP) $(ENABLE_XPATH) $(ENABLE_XSLT);
     87
Note: See TracChangeset for help on using the changeset viewer.