[browser][bindings] Fix error with SharedArrayBuffer when used as a backing view. (#46625)
* Add code to check for a backing ArrayBuffer as well as a backing SharedBuffer.
- Resolves the error `"Object '...' is not a typed array"`
* Add other Slice methods per documentation of JavaScript docs
- https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer/slice
* Add tests for SharedArrayBuffer.
* Address review comment about unused usings
* Address review comments.
* Address review comments for unnecessary mod in commit
* Add back whitespace
* Modify comment description as per review comment
* Address support for SharedArrayBuffer which fails under Firefox.
* Revert "Address support for SharedArrayBuffer which fails under Firefox."
This reverts commit
f817638f897b2c558c49a80ac47f044683c58911.
* Address support for SharedArrayBuffer which fails under Firefox. Without all the whitespace changes.