File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed 
addons/worker-buffer-callback Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ const { MessageChannel } = require('worker_threads');
55const  {  buffer }  =  require ( `./build/${ common . buildType }  ) ; 
66
77// Test that buffers allocated with a free callback through our APIs are not 
8- // transfered . 
8+ // transferred . 
99
1010const  {  port1 }  =  new  MessageChannel ( ) ; 
1111const  origByteLength  =  buffer . byteLength ; 
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ const length = a.length;
1515const  {  port1 }  =  new  MessageChannel ( ) ; 
1616port1 . postMessage ( a ,  [  a . buffer  ] ) ; 
1717
18- // Verify that the pool ArrayBuffer has not actually been transfered : 
18+ // Verify that the pool ArrayBuffer has not actually been transferred : 
1919assert . strictEqual ( a . buffer ,  b . buffer ) ; 
2020assert . strictEqual ( a . length ,  length ) ; 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments