-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=107925. Patch by Pan Deng <pan.deng@intel.com> on 2013-01-25 Reviewed by Tony Gentilcore. In current implementation, class type of user timing entries are PerformanceEntry, according to W3C spec, they should be PerformanceMark and PerformanceMeasure. Test: http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_entry_type.html * bindings/v8/custom/V8PerformanceEntryCustom.cpp: (WebCore::wrap): * page/PerformanceEntry.h: (WebCore::PerformanceEntry::isMark): (WebCore::PerformanceEntry::isMeasure): * page/PerformanceMark.h: (WebCore::PerformanceMark::isMark): (PerformanceMark): * page/PerformanceMeasure.h: (WebCore::PerformanceMeasure::isMeasure): (PerformanceMeasure): LayoutTests: [User Timing] Class name of user timing entries should be PerformanceMark/PerformanceMeasure. https://bugs.webkit.org/show_bug.cgi?id=107925. Patch by Pan Deng <pan.deng@intel.com> on 2013-01-25 Reviewed by Tony Gentilcore. * http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_entry_type-expected.txt: Added. * http/tests/w3c/webperf/submission/Intel/user-timing/test_user_timing_entry_type.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140882 268f45cc-cd09-0410-ab3c-d52691b4dbfc
05275d97