Commit 364c0e1
committed
perf_hooks: fix webperf idlharness
1. Enforce receiver checks on IDL interfaces.
2. Avoid prototype manipulation on constructing IDL interfaces with
`ReflectConstruct`.
3. `defineReplaceableAttribute` should create IDL getter/setter.
4. Corrected `PerformanceResourceTiming` to inherit the public interface
`PerformanceEntry` instead of the internal interface
`InternalPerformanceResourceTiming`.
5. `detail` is not a specified attribute on `PerfomanceEntry`. Node.js
specific extensions are moved to a subclass of `PerformanceEntry` as
`PerformanceNodeEntry`.
PR-URL: #44483
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Minwoo Jung <nodecorelab@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent f529f73 commit 364c0e1Copy full SHA for 364c0e1
File tree
Expand file treeCollapse file tree
218 files changed
+8089
-529
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal
- bootstrap
- perf
- process
- test
- common
- fixtures/wpt
- interfaces
- resource-timing
- initiator-type
- resources
- resources
- parallel
- sequential
- wpt
- status
- tools/doc
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Expand file treeCollapse file tree
218 files changed
+8089
-529
lines changedOpen diff view settings
Collapse file
+271-45Lines changed: 271 additions & 45 deletions
- Display the source diff
- Display the rich diff
Large diffs are not rendered by default.
Collapse file
lib/internal/bootstrap/browser.js
Copy file name to clipboardExpand all lines: lib/internal/bootstrap/browser.js+25-6Lines changed: 25 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
79 | | - |
| 78 | + |
| 79 | + |
80 | 80 | |
81 | 81 | |
82 | 82 | |
| ||
114 | 114 | |
115 | 115 | |
116 | 116 | |
117 | | - |
118 | | - |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
| 121 | + |
| 122 | + |
| 123 | + |
| 124 | + |
| 125 | + |
| 126 | + |
| 127 | + |
| 128 | + |
| 129 | + |
| 130 | + |
| 131 | + |
| 132 | + |
| 133 | + |
| 134 | + |
| 135 | + |
| 136 | + |
| 137 | + |
119 | 138 | |
120 | 139 | |
121 | | - |
122 | 140 | |
123 | 141 | |
124 | | - |
| 142 | + |
| 143 | + |
125 | 144 | |
126 | 145 | |
127 | 146 | |
|
Collapse file
lib/internal/perf/observe.js
Copy file name to clipboardExpand all lines: lib/internal/perf/observe.js+59-16Lines changed: 59 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
| 19 | + |
19 | 20 | |
20 | 21 | |
21 | 22 | |
| 23 | + |
22 | 24 | |
23 | 25 | |
24 | 26 | |
| ||
36 | 38 | |
37 | 39 | |
38 | 40 | |
39 | | - |
40 | 41 | |
| 42 | + |
41 | 43 | |
42 | 44 | |
43 | 45 | |
44 | 46 | |
| 47 | + |
45 | 48 | |
46 | 49 | |
47 | 50 | |
| ||
51 | 54 | |
52 | 55 | |
53 | 56 | |
| 57 | + |
54 | 58 | |
55 | 59 | |
56 | 60 | |
57 | 61 | |
58 | 62 | |
59 | 63 | |
60 | 64 | |
| 65 | + |
61 | 66 | |
62 | 67 | |
63 | 68 | |
| ||
68 | 73 | |
69 | 74 | |
70 | 75 | |
| 76 | + |
71 | 77 | |
72 | 78 | |
73 | 79 | |
| ||
167 | 173 | |
168 | 174 | |
169 | 175 | |
170 | | - |
171 | | - |
172 | | - |
173 | | - |
174 | | - |
175 | | - |
| 176 | + |
| 177 | + |
176 | 178 | |
177 | 179 | |
178 | 180 | |
179 | | - |
| 181 | + |
| 182 | + |
180 | 183 | |
181 | 184 | |
182 | 185 | |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | + |
183 | 190 | |
184 | 191 | |
185 | | - |
| 192 | + |
186 | 193 | |
187 | 194 | |
188 | 195 | |
189 | | - |
| 196 | + |
| 197 | + |
| 198 | + |
| 199 | + |
| 200 | + |
190 | 201 | |
191 | 202 | |
192 | 203 | |
193 | | - |
| 204 | + |
194 | 205 | |
195 | 206 | |
196 | 207 | |
197 | | - |
| 208 | + |
198 | 209 | |
199 | 210 | |
200 | 211 | |
| ||
206 | 217 | |
207 | 218 | |
208 | 219 | |
209 | | - |
| 220 | + |
210 | 221 | |
211 | 222 | |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
| 231 | + |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | + |
| 240 | + |
| 241 | + |
| 242 | + |
212 | 243 | |
213 | 244 | |
214 | 245 | |
| ||
319 | 350 | |
320 | 351 | |
321 | 352 | |
322 | | - |
| 353 | + |
323 | 354 | |
324 | 355 | |
325 | 356 | |
| ||
339 | 370 | |
340 | 371 | |
341 | 372 | |
| 373 | + |
| 374 | + |
| 375 | + |
| 376 | + |
| 377 | + |
| 378 | + |
| 379 | + |
| 380 | + |
| 381 | + |
| 382 | + |
| 383 | + |
| 384 | + |
342 | 385 | |
343 | 386 | |
344 | 387 | |
| ||
485 | 528 | |
486 | 529 | |
487 | 530 | |
488 | | - |
| 531 | + |
489 | 532 | |
490 | 533 | |
491 | 534 | |
| ||
542 | 585 | |
543 | 586 | |
544 | 587 | |
545 | | - |
| 588 | + |
546 | 589 | |
547 | 590 | |
548 | 591 | |
|
0 commit comments