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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js

Issue 2808743005: [wasm] Compile closer to how customers will. (Closed)
Patch Set: [wasm] Compile closer to how customers will. Created 3 years, 8 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 | « third_party/WebKit/LayoutTests/fast/wasm/wasm-limits-tests.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js b/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
index a0a0e5a8be4c1f8287b0ce835641de1b2ef13d98..eca4b8d3c50543df6292c091ea4a42e96dfab0d9 100644
--- a/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
+++ b/third_party/WebKit/LayoutTests/http/tests/wasm/resources/load_wasm.js
@@ -14,8 +14,5 @@ function createWasmModule() {
if (!response.ok) throw new Error(response.statusText);
return response.arrayBuffer();
})
- .then(data => {
- var mod = new WebAssembly.Module(data);
- return mod;
- });
+ .then(WebAssembly.compile);
}
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/wasm/wasm-limits-tests.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698