Commit da8bc6a
deps: cherry-pick 76cab5f from upstream V8
Original commit message:
Fix Object.entries/.values with non-enumerable properties
Iterate over all descriptors instead of bailing out early and missing
enumerable properties later.
Bug: chromium:836145
Change-Id: I104f7ea89480383b6b4b9204942a166bdf8e0597
Reviewed-on: https://chromium-review.googlesource.com/1027832
Reviewed-by: Jakob Gruber <jgruber@chromium.org>
Commit-Queue: Camillo Bruni <cbruni@chromium.org>
Cr-Commit-Position: refs/heads/master@{#52786}
Refs: v8/v8@76cab5f
Fixes: #20278
PR-URL: #20350
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>1 parent 42bbaa3 commit da8bc6aCopy full SHA for da8bc6a
File tree
Expand file treeCollapse file tree
3 files changed
+29
-10
lines changedOpen diff view settings
Filter options
- deps/v8
- src/builtins
- test/mjsunit/es8
Expand file treeCollapse file tree
3 files changed
+29
-10
lines changedOpen diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
| 30 | + |
31 | 31 | |
32 | 32 | |
33 | 33 | |
|
Collapse file
deps/v8/src/builtins/builtins-object-gen.cc
Copy file name to clipboardExpand all lines: deps/v8/src/builtins/builtins-object-gen.cc+10-9Lines changed: 10 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
268 | 268 | |
269 | 269 | |
270 | 270 | |
271 | | - |
| 271 | + |
272 | 272 | |
273 | 273 | |
274 | 274 | |
| ||
285 | 285 | |
286 | 286 | |
287 | 287 | |
288 | | - |
| 288 | + |
289 | 289 | |
290 | 290 | |
291 | 291 | |
| ||
299 | 299 | |
300 | 300 | |
301 | 301 | |
302 | | - |
| 302 | + |
303 | 303 | |
304 | 304 | |
305 | 305 | |
| ||
316 | 316 | |
317 | 317 | |
318 | 318 | |
319 | | - |
| 319 | + |
320 | 320 | |
321 | 321 | |
322 | 322 | |
| ||
326 | 326 | |
327 | 327 | |
328 | 328 | |
329 | | - |
330 | | - |
| 329 | + |
| 330 | + |
| 331 | + |
331 | 332 | |
332 | 333 | |
333 | 334 | |
| ||
357 | 358 | |
358 | 359 | |
359 | 360 | |
360 | | - |
| 361 | + |
361 | 362 | |
362 | | - |
| 363 | + |
363 | 364 | |
364 | 365 | |
365 | | - |
| 366 | + |
366 | 367 | |
367 | 368 | |
368 | 369 | |
|
Collapse file
deps/v8/test/mjsunit/es8/object-entries.js
Copy file name to clipboardExpand all lines: deps/v8/test/mjsunit/es8/object-entries.js+18Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
210 | 210 | |
211 | 211 | |
212 | 212 | |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | + |
| 222 | + |
| 223 | + |
| 224 | + |
| 225 | + |
| 226 | + |
| 227 | + |
| 228 | + |
| 229 | + |
| 230 | + |
213 | 231 | |
214 | 232 | |
215 | 233 | |
|
0 commit comments