Commit da9ebaf
lib: predeclare Event.isTrusted prop descriptor
It improves Event creation performance.
PR-URL: #46527
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>1 parent 35570e9 commit da9ebafCopy full SHA for da9ebaf
File tree
Expand file treeCollapse file tree
1 file changed
+8
-6
lines changedOpen diff view settings
Filter options
- lib/internal
Expand file treeCollapse file tree
1 file changed
+8
-6
lines changedOpen diff view settings
Collapse file
lib/internal/event_target.js
Copy file name to clipboardExpand all lines: lib/internal/event_target.js+8-6Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
78 | 78 | |
79 | 79 | |
80 | 80 | |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
81 | 88 | |
82 | 89 | |
83 | 90 | |
| ||
113 | 120 | |
114 | 121 | |
115 | 122 | |
116 | | - |
117 | | - |
118 | | - |
119 | | - |
120 | | - |
121 | | - |
| 123 | + |
122 | 124 | |
123 | 125 | |
124 | 126 | |
|
0 commit comments