| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5fc0f5e commit 736b575
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads'); | |||
| 5 | 5 | const { buffer } = require(`./build/${common.buildType}/binding`); | |
| 6 | 6 | ||
| 7 | 7 | // Test that buffers allocated with a free callback through our APIs are not | |
| 8 | - // transfered. | ||
| 8 | + // transferred. | ||
| 9 | 9 | ||
| 10 | 10 | const { port1 } = new MessageChannel(); | |
| 11 | 11 | const origByteLength = buffer.byteLength; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -15,6 +15,6 @@ const length = a.length; | |||
| 15 | 15 | const { port1 } = new MessageChannel(); | |
| 16 | 16 | port1.postMessage(a, [ a.buffer ]); | |
| 17 | 17 | ||
| 18 | - // Verify that the pool ArrayBuffer has not actually been transfered: | ||
| 18 | + // Verify that the pool ArrayBuffer has not actually been transferred: | ||
| 19 | 19 | assert.strictEqual(a.buffer, b.buffer); | |
| 20 | 20 | assert.strictEqual(a.length, length); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments