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.

Slicing buffers fails in latest Microsoft Edge

See original GitHub issue

slicing buffers fails in Edge 25.10586.0.0 it boils down to this:

var buf = new Buffer(100);
var arr = new Uint8Array(100);
buf instanceof Uint8Array; // true
Uint8Array.prototype.subarray.call(arr, 0, 0).length; // 0
Uint8Array.prototype.subarray.call(buf, 0, 0).length; // 100 ! 

Would you say this is an issue with Edge or with this lib?

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
Sjorscommented, Mar 12, 2016

I see, good to know EdgeHTML has different versioning from the browser.

The issue went away for me as soon as I upgraded browserify*, so indeed I’m not reporting a new bug.

  • = make sure grunt-browserify, if you use that, is also up to date and using browserify >=13
0reactions
ferosscommented, Mar 12, 2016

@Sjors EdgeHTML13 is actually pretty new. See: https://en.wikipedia.org/wiki/Microsoft_Edge#Release_history And there’s no way to get a newer version with Sauce Labs right now.

To be clear, you’re not reporting a new issue. Just saying that you got this bug using an old version of browserify/buffer?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What to do if Microsoft Edge isn't working
Here are some solutions to common problems with the new Microsoft Edge . If Microsoft Edge keeps crashing. If you can't open Microsoft...
Read more >
Troubleshoot print issues in Microsoft Edge
A print issue can occur due to a variety of reasons. It may show up as an error message when you try to...
Read more >
Release notes for Microsoft Edge Security Updates
Microsoft has released the latest Microsoft Edge Stable Channel (Version 108.0.1462.54), which incorporates the latest Security Updates of ...
Read more >
Internet Explorer (IE) mode troubleshooting and FAQ
Troubleshooting guide and FAQ for Microsoft Edge Internet Explorer mode. ... If the workflow still fails after adding a new neutral site, ...
Read more >
Diagnose and fix Microsoft Edge sync issues
The error is Last Token Error, EDGE_AUTH_ERROR: 3, 54, 3ea, which is found in edge://sync-internals under Credentials.
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