Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js

Issue 2271823002: Minor spelling fix in fast/canvas/webgl layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add the glsl file again Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 window.jsTestIsAsync = true; 1 window.jsTestIsAsync = true;
2 2
3 description('Test transfer of control semantics for ArrayBuffers.'); 3 description('Test transfer of control semantics for ArrayBuffers.');
4 window.testsComplete = 0; 4 window.testsComplete = 0;
5 5
6 var arraySize = 40; 6 var arraySize = 40;
7 var arrayOffset = 8; 7 var arrayOffset = 8;
8 var arrayEffectiveSize = arraySize - arrayOffset; 8 var arrayEffectiveSize = arraySize - arrayOffset;
9 9
10 var basicBufferTypes = 10 var basicBufferTypes =
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 if (currentTest.alreadyHit) { 447 if (currentTest.alreadyHit) {
448 testFailed(currentTest.name + ": windowHandleMessage hit more than once. "); 448 testFailed(currentTest.name + ": windowHandleMessage hit more than once. ");
449 return false; 449 return false;
450 } 450 }
451 currentTest.alreadyHit = true; 451 currentTest.alreadyHit = true;
452 try { 452 try {
453 if (currentTest.test(currentTest.name, event)) { 453 if (currentTest.test(currentTest.name, event)) {
454 testPassed(currentTest.name); 454 testPassed(currentTest.name);
455 } 455 }
456 } catch(e) { 456 } catch(e) {
457 testFailed(currentTest.name + ": on recieve: " + e + ". event.data = " + event.data); 457 testFailed(currentTest.name + ": on receive: " + e + ". event.data = " + event.data);
458 } 458 }
459 doneTest(); 459 doneTest();
460 } 460 }
461 461
462 window.addEventListener('message', windowHandleMessage); 462 window.addEventListener('message', windowHandleMessage);
463 window.testsComplete = -1; 463 window.testsComplete = -1;
464 doneTest(); 464 doneTest();
465 465
466 successfullyParsed = true; 466 successfullyParsed = true;
467 467
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698