From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- .../web/api/performance/timeorigin/index.html | 85 ++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 files/zh-cn/web/api/performance/timeorigin/index.html (limited to 'files/zh-cn/web/api/performance/timeorigin') diff --git a/files/zh-cn/web/api/performance/timeorigin/index.html b/files/zh-cn/web/api/performance/timeorigin/index.html new file mode 100644 index 0000000000..d7d38f6781 --- /dev/null +++ b/files/zh-cn/web/api/performance/timeorigin/index.html @@ -0,0 +1,85 @@ +--- +title: Performance.timeOrigin +slug: Web/API/Performance/timeOrigin +translation_of: Web/API/Performance/timeOrigin +--- +

{{SeeCompatTable}}{{APIRef("High Resolution Time")}}

+ +

接口 {{domxref("Performance")}} 的只读属性  timeOrigin 返回一个表示 the performance measurement 开始时间的高精度 timestamp

+ +

语法

+ +
var timeOrigin = performance.timeOrigin
+ +

+ +

高精度 timestamp,例如 1518354643295.86

+ +

Specifications

+ + + + + + + + + + + + + + +
SpecificationStatusComment
{{SpecName('Highres Time Level 3','#dom-performance-timeorigin','timeOrigin')}}{{Spec2('Highres Time Level 3')}}Initial definition.
+ +

Browser Compatibility

+ +
{{CompatibilityTable}}
+ +
+ + + + + + + + + + + + + + + + + + + +
FeatureChromeFirefox (Gecko)Internet ExplorerOperaSafari (WebKit)
Basic support{{CompatChrome(62)}}{{CompatGeckoDesktop(59)}}{{CompatUnknown}}{{CompatOpera(49)}}{{CompatUnknown}}
+
+ +
+ + + + + + + + + + + + + + + + + + + + + +
FeatureAndroid WebviewChrome for AndroidFirefox Mobile (Gecko)IE MobileOpera MobileSafari Mobile
Basic support{{CompatChrome(62)}}{{CompatChrome(62)}}{{CompatGeckoMobile(59)}}{{CompatUnknown}}{{CompatOperaMobile(49)}}{{CompatUnknown}}只读属性  timeOrigin timestampperformance.timeOrigin
+
-- cgit v1.2.3-54-g00ecf