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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js

Issue 2891463002: Update testharness.js and idlharness.js. (Closed)
Patch Set: Update expectations Created 3 years, 7 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
Index: third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js b/third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js
index 2ee9a146a83a80259a81533f5426637b948228b9..e7be6c4e6c8d657fd08d7ba4ca722631ac1601c6 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/resources/testharness.js
@@ -1178,7 +1178,7 @@ policies and contribution forms [3].
throw e;
}
if (code === null) {
- return;
+ throw new AssertionError('Test bug: need to pass exception to assert_throws()');
}
if (typeof code === "object") {
assert(typeof e == "object" && "name" in e && e.name == code.name,

Powered by Google App Engine
This is Rietveld 408576698