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

Unified Diff: third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html

Issue 2624863003: [wasm][asm.js] Fix bad asm.js in layout tests. (Closed)
Patch Set: Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html
diff --git a/third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html b/third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html
index 0c96fae5a4b732d80ebb727bdb11b76b47dcf583..dfa966ec137d59225e30cce1613be0153b875cb9 100644
--- a/third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html
+++ b/third_party/WebKit/LayoutTests/fast/workers/worker-shared-asm-buffer.html
@@ -16,7 +16,7 @@ function runTest()
" function Module(stdlib, foreign, heap) {",
" 'use asm';",
" var MEM32 = new stdlib.Int32Array(heap);",
- " function load() { var res = MEM32[255]; MEM32[255] = 123457; return res; }",
+ " function load() { var res = 0; res = MEM32[255]|0; MEM32[255] = 123457; return res|0; }",
" return { load: load };",
" }",
" var buffer = e.data;",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698