| Index: third_party/WebKit/LayoutTests/resources/testharness.js
|
| diff --git a/third_party/WebKit/LayoutTests/resources/testharness.js b/third_party/WebKit/LayoutTests/resources/testharness.js
|
| index 2ee9a146a83a80259a81533f5426637b948228b9..e7be6c4e6c8d657fd08d7ba4ca722631ac1601c6 100644
|
| --- a/third_party/WebKit/LayoutTests/resources/testharness.js
|
| +++ b/third_party/WebKit/LayoutTests/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,
|
|
|