| Index: third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| diff --git a/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html b/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| index 8021adb753769bf59684aaaa38a7c938d7fa6192..3dd01c67c9c69339b7b90b0527f8a275c5f4d46a 100644
|
| --- a/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| +++ b/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| @@ -12,19 +12,6 @@
|
|
|
| 'use strict';
|
|
|
| -function assert_throws_dom_exception(global_context, code, func, description) {
|
| - let exception;
|
| - assert_throws(code, () => {
|
| - try {
|
| - func.call(this);
|
| - } catch(e) {
|
| - exception = e;
|
| - throw e;
|
| - }
|
| - }, description);
|
| - assert_true(exception instanceof global_context.DOMException, 'DOMException on the appropriate window');
|
| -}
|
| -
|
| test_with_window((w) => {
|
| assert_throws(TypeError.prototype, () => {
|
| w.customElements.define('a-a', 42);
|
|
|