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

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

Issue 2655403003: Adjust wasm_serialization_tests.html the layout test to expect null on failure. (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 | « third_party/WebKit/LayoutTests/TestExpectations ('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/wasm_serialization_tests.js
diff --git a/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_serialization_tests.js b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_serialization_tests.js
index ab4e4d383e18ef64c1cb1814c20017d128716a47..940063187472217b7fd8e69c2f84e8aa32707cec 100644
--- a/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_serialization_tests.js
+++ b/third_party/WebKit/LayoutTests/http/tests/wasm/wasm_serialization_tests.js
@@ -57,12 +57,7 @@ function TestIncompatibleDowngrade() {
assert_true(invalidated,
"the serialized blob should contain some non-null bytes.");
- var deserialized = undefined;
- try {
- deserialized = window.internals.deserializeBuffer(byteView.buffer);
- assert_unreached();
- } catch (e) {
- assert_equals(deserialized, undefined);
- }
+ var deserialized = window.internals.deserializeBuffer(byteView.buffer);
+ assert_equals(deserialized, null);
});
}
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698