Commit 121f74c
perf_hooks: convert maxSize to IDL value in setResourceTimingBufferSize
ECMAScript values of WebIDL interface parameters should be converted to
IDL representatives before the actual implementation, as defined in step
11.5 of the WebIDL Overload resolution algorithm.
Backport-PR-URL: #45829
Refs: https://webidl.spec.whatwg.org/#dfn-create-operation-function
Refs: https://webidl.spec.whatwg.org/#es-overloads
PR-URL: #44902
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 5260f53 commit 121f74cCopy full SHA for 121f74c
File tree
Expand file treeCollapse file tree
3 files changed
+72
-0
lines changedOpen diff view settings
Filter options
- lib/internal/perf
- test/parallel
Expand file treeCollapse file tree
3 files changed
+72
-0
lines changedOpen diff view settings
Collapse file
lib/internal/perf/observe.js
Copy file name to clipboardExpand all lines: lib/internal/perf/observe.js+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
66 | 66 | |
67 | 67 | |
68 | 68 | |
| 69 | + |
69 | 70 | |
70 | 71 | |
71 | 72 | |
| ||
430 | 431 | |
431 | 432 | |
432 | 433 | |
| 434 | + |
| 435 | + |
433 | 436 | |
434 | 437 | |
435 | 438 | |
|
Collapse file
test/parallel/test-internal-webidl-converttoint.js
Copy file name to clipboard+58Lines changed: 58 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
| 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 | + |
Collapse file
test/parallel/test-performance-resourcetimingbuffersize.js
Copy file name to clipboardExpand all lines: test/parallel/test-performance-resourcetimingbuffersize.js+11Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
30 | 30 | |
31 | 31 | |
32 | 32 | |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
33 | 44 | |
34 | 45 | |
35 | 46 | |
|
0 commit comments