| Index: third_party/WebKit/LayoutTests/fast/domurl/resources/testharness-extras.js
|
| diff --git a/third_party/WebKit/LayoutTests/fast/domurl/resources/testharness-extras.js b/third_party/WebKit/LayoutTests/fast/domurl/resources/testharness-extras.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c812ca64d19bed926a032684e2ed95f43fc9847f
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/domurl/resources/testharness-extras.js
|
| @@ -0,0 +1,11 @@
|
| +/*
|
| +Extending the W3C testharness.js with locally useful functionality.
|
| +*/
|
| +
|
| +function assert_type_error(f, msg) {
|
| + assert_throws(TypeError(), f, msg);
|
| +}
|
| +
|
| +function assert_syntax_error(f, msg) {
|
| + assert_throws(SyntaxError(), f, msg);
|
| +}
|
|
|