-
Notifications
You must be signed in to change notification settings - Fork 4
/
192.txt
115 lines (87 loc) · 5 KB
/
192.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
* 仕様書
[REFS[
- [14] [CITE@en[High Resolution Time Level 2]] ([TIME[2016-02-26 04:49:50 +09:00]]) <https://w3c.github.io/hr-time/#h-the-performance-interface>
- [22] [CITE@en[High Resolution Time Level 2]] ([TIME[2016-02-26 04:49:50 +09:00]]) <https://w3c.github.io/hr-time/#h-the-performance-attribute>
- [8] [CITE@en[Performance Timeline]] ([TIME[2015-04-30 06:08:59 +09:00]] 版) <http://w3c.github.io/performance-timeline/>
- [7] [CITE@en[Navigation Timing 2]] ([TIME[2015-04-23 03:49:10 +09:00]] 版) <https://w3c.github.io/navigation-timing/>
- [10] [CITE@en[Resource Timing]] ([TIME[2015-04-30 06:03:58 +09:00]] 版) <https://w3c.github.io/resource-timing/>
- [9] [CITE@en[Frame Timing]] ([TIME[2015-04-24 22:26:35 +09:00]] 版) <https://w3c.github.io/frame-timing/>
]REFS]
* 文脈
[15] [CODE(DOMi)@en[Performance]] [[インターフェイス]]は、
[[文書環境]]と[[ワーカー環境]]に[[晒され]]ています [SRC[>>14]]。
* 状態
[26] [CODE(DOMi)@en[Performance]] [[インターフェイス]]は、次の状態を持ちます。
[FIG(list members)[
: [F[大域オブジェクト]] : 関連付けられた[[大域オブジェクト]]です。
]FIG]
* メンバー
[16] [CODE(DOMi)@en[Performance]] [[インターフェイス]]は、
[CODE(DOMi)@en[EventTarget]] [[インターフェイス]]を[[継承]]しています [SRC[>>14]]。
[17] 他に次の[[メンバー]]があります。
[FIG(list short)[
- [CODE(DOMm)@en[now][Performance.now]]
- [CODE(DOMm)@en[translateTime]]
]FIG]
* [CODE(DOMi)@en[WindowOrWorkerGlobalScope]] インターフェイス [CODE(DOMa)@en[performance]] 属性
[23] [CODE(DOMi)@en[WindowOrWorkerGlobalScope]] [[インターフェイス]]の
[DFN[[CODE(DOMa)@en[performance]]]] [[IDL属性]] [SRC[>>22]] の[[取得器]]は、
次のようにしなければ[MUST[なりません]]。
[FIG(steps)[
= [24] [[文脈オブジェクト]]の [F[[CODE(DOMi)@en[Performance]]]] を返します。
]FIG]
[25] [CODE(DOMi)@en[WindowOrWorkerGlobalScope]] [[オブジェクト]]は、
[DFN[[F[[CODE(DOMi)@en[Performance]]]]]] を持ちます。
これは初期化時に新たな [CODE(DOMi)@en[Performance]] に設定され、
以後変更されません。その[F[大域オブジェクト]]は、
[CODE(DOMi)@en[WindowOrWorkerGlobalScope]] [[オブジェクト]]に設定されています。
[HISTORY[
[27] [[仕様書]]ではこれは [DFN[[CODE(DOMi)@en[GlobalPerformance]]]]
[[インターフェイス]]と呼ばれています。
]HISTORY]
* 歴史
[1] [CITE@en[Navigation Timing]]
( ([TIME[2012-12-13 06:51:35 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-navigation-timing-20121217/#sec-window.performance-attribute>
[2] [CITE@en[User Timing]]
( ([TIME[2013-12-16 22:17:37 +09:00]] 版))
<https://dvcs.w3.org/hg/webperf/raw-file/default/specs/UserTiming/Overview.html#extensions-performance-interface>
[3] [CITE@en[Performance Timeline]]
( ([TIME[2013-12-16 22:27:38 +09:00]] 版))
<https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/PerformanceTimeline/Overview.html#sec-window.performance-attribute>
[4] [CITE@en[Frame Timing]]
( ([TIME[2015-01-21 00:48:47 +09:00]] 版))
<http://www.w3.org/TR/2015/WD-frame-timing-20150120/>
[5] [CITE@en[Navigation Timing 2]]
( ([TIME[2015-01-20 23:22:52 +09:00]] 版))
<http://www.w3.org/TR/2015/WD-navigation-timing-2-20150120/>
[6] [CITE@en[Resource Timing]]
([TIME[2015-04-23 06:01:55 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-resource-timing-20150422/>
[11] [CITE@en[Re: Firefox and User Timing API in workers]]
([[Ilya Grigorik]] 著, [TIME[2015-05-23 05:54:35 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-web-perf/2015May/0014.html>
[12] [CITE@en[''''''[''''''navigation-timing'''''']'''''' domLoading is deprecated]]
([[Philippe Le Hegaret]] 著, [TIME[2015-05-28 07:34:19 +09:00]] 版)
<https://lists.w3.org/Archives/Public/public-web-perf/2015May/0030.html>
[13] [CITE@en[Navigation Timing 2]]
([TIME[2015-05-28 07:48:26 +09:00]] 版)
<http://www.w3.org/TR/2015/WD-navigation-timing-2-20150527/>
[18] [CITE@en[Performance Timeline]]
( ([TIME[2011-09-01 00:58:23 +09:00]] 版))
<http://www.w3.org/TR/2011/WD-performance-timeline-20110901/>
[19] [CITE@en[Error Logging]]
( ([TIME[2013-05-07 00:02:25 +09:00]] 版))
<https://dvcs.w3.org/hg/webperf/raw-file/tip/specs/ErrorLogging/Overview.html>
[20] [CITE@en[High Resolution Time Level 2]]
( ([TIME[2013-11-27 03:50:20 +09:00]] 版))
<http://www.w3.org/TR/2013/WD-hr-time-2-20131203/>
[21] [CITE@en[Navigation Timing]]
( ([TIME[2012-12-13 06:51:35 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-navigation-timing-20121217/#sec-window.performance-attribute>
[28] [CITE@en[define toJSON serializer]]
([[igrigorik]]著, [TIME[2017-07-22 03:13:35 +09:00]])
<https://github.com/w3c/hr-time/commit/7d8d194259e2c321f945b7ac7dfd3393c5c20b41>
[29] [CITE@en[WebIDL serializer has been deprecated in favor of toJSON operation · Issue #49 · w3c/hr-time]]
([TIME[2017-08-19 18:09:59 +09:00]])
<https://github.com/w3c/hr-time/issues/49>