| 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 a61859e8d0aafdae8b5080dd67b8a1538fbed351..3f15bb749b434bf32334a713c85691d3db4c132b 100644
|
| --- a/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| +++ b/third_party/WebKit/LayoutTests/custom-elements/spec/define-element.html
|
| @@ -91,13 +91,13 @@ test_with_window((w) => {
|
| promise_test((t) => {
|
| return Promise.all([create_window_in_test(t), create_window_in_test(t)])
|
| .then(([w1, w2]) => {
|
| - class X extends w2.HTMLElement { };
|
| + class X extends w1.HTMLElement { };
|
| w1.customElements.define('first-name', X);
|
| w2.customElements.define('second-name', X);
|
| assert_equals(
|
| - new X().localName, 'second-name',
|
| + new X().localName, 'first-name',
|
| 'the current global object should determine which definition is ' +
|
| - 'operative; because X extends w2.HTMLElement, w2 is operative');
|
| + 'operative; because X extends w1.HTMLElement, w1 is operative');
|
| });
|
| }, 'HTMLElement constructor looks up definitions in the current global-' +
|
| 'reused constructor');
|
|
|