| Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/resources/testharness.js
|
| diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/resources/testharness.js b/third_party/WebKit/LayoutTests/imported/web-platform-tests/resources/testharness.js
|
| index b2198b0f1b2cb8170bd51ef3f82789520114a5c9..52b65ddf19c8aabe4115304bcf80f70e2cf942c1 100644
|
| --- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/resources/testharness.js
|
| +++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/resources/testharness.js
|
| @@ -540,9 +540,9 @@ policies and contribution forms [3].
|
| });
|
| }
|
|
|
| - function promise_rejects(test, expected, promise) {
|
| - return promise.then(test.unreached_func("Should have rejected.")).catch(function(e) {
|
| - assert_throws(expected, function() { throw e });
|
| + function promise_rejects(test, expected, promise, description) {
|
| + return promise.then(test.unreached_func("Should have rejected: " + description)).catch(function(e) {
|
| + assert_throws(expected, function() { throw e }, description);
|
| });
|
| }
|
|
|
|
|