Commit 2e766a6
console: add Symbol.toStringTag property
Add Symbol.toStringTag property to console object to follow WPT changes
Update WPT status of console and the repl test case
Refs: web-platform-tests/wpt#24717
PR-URL: #35399
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daijiro Wachi <daijiro.wachi@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Zeyu Yang <himself65@outlook.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent ae14923 commit 2e766a6Copy full SHA for 2e766a6
File tree
Expand file treeCollapse file tree
2 files changed
+8
-1
lines changedOpen diff view settings
Filter options
- lib/internal/console
- test/parallel
Expand file treeCollapse file tree
2 files changed
+8
-1
lines changedOpen diff view settings
Collapse file
lib/internal/console/constructor.js
Copy file name to clipboardExpand all lines: lib/internal/console/constructor.js+7Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
| 20 | + |
20 | 21 | |
21 | 22 | |
22 | 23 | |
| ||
228 | 229 | |
229 | 230 | |
230 | 231 | |
| 232 | + |
| 233 | + |
| 234 | + |
| 235 | + |
| 236 | + |
| 237 | + |
231 | 238 | |
232 | 239 | |
233 | 240 | |
|
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
757 | 757 | |
758 | 758 | |
759 | 759 | |
760 | | - |
| 760 | + |
761 | 761 | |
762 | 762 | |
763 | 763 | |
|
0 commit comments