question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add new ArrayBuffer, Array methods to whitelist?

See original GitHub issue

In MDN, Array.prototype.findLastIndex seems to be standard. I don’t know why we’re removing it.

I haven’t researched the others. These are new as of a recent XS update.

Removing intrinsics.%ArrayBufferPrototype%.maxByteLength
Removing intrinsics.%ArrayBufferPrototype%.resizable
Removing intrinsics.%ArrayBufferPrototype%.resize
Removing intrinsics.%ArrayBufferPrototype%.transfer
Removing intrinsics.%ArrayPrototype%.findLast
Removing intrinsics.%ArrayPrototype%.findLastIndex
Removing intrinsics.%TypedArrayPrototype%.findLast
Removing intrinsics.%TypedArrayPrototype%.findLastIndex

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
dckccommented, Nov 12, 2021

… We probably should have a policy regarding inclusion of proposals, but the most sensible is likely to ignore anything not stage 4.

@erights said stage 3 in an Aug 2 comment.

0reactions
erightscommented, Mar 3, 2022

@Jack-Works , thanks for reporting.

Reopening until these two are added to the whitelist. Perhaps we should also have a consistency check between methods of Array.prototype and members of @@unscopables

Read more comments on GitHub >

github_iconTop Results From Across the Web

ArrayBuffer - JavaScript - MDN Web Docs
Chrome Edge ArrayBuffer Full support. Chrome7. Toggle history Full support. Edge12. Tog... @@species Full support. Chrome51. Toggle history Full support. Edge13. Tog... ArrayBuffer() constructor Full support....
Read more >
Modify this whitelist function, so that it returns an object with ...
I have an array I define ahead of time, here it is called acceptableLine1. This utility method should be able to compare the...
Read more >
Request - Atlassian Developer
Name Type Default url String type String GET cache Boolean
Read more >
The module factory of `jest.mock()` is not allowed to ... - GitHub
How do you make this work with ES6 modules, which cannot be put inside ... variable access: console Whitelisted objects: Array, ArrayBuffer, ...
Read more >
java to node js converter
Java To Node Js Converterstringify(jo) Read more: How to get the metadata of an ... First, create a buffer object using the alloc...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found