| Index: third_party/WebKit/LayoutTests/custom-elements/spec/adopt-node.html
|
| diff --git a/third_party/WebKit/LayoutTests/custom-elements/spec/adopt-node.html b/third_party/WebKit/LayoutTests/custom-elements/spec/adopt-node.html
|
| index 023fb83dad6daf52b8bc55d9b3a380f82f3015a7..039c6b742c77e06fd93afc1192ae9486369d24d6 100644
|
| --- a/third_party/WebKit/LayoutTests/custom-elements/spec/adopt-node.html
|
| +++ b/third_party/WebKit/LayoutTests/custom-elements/spec/adopt-node.html
|
| @@ -18,12 +18,12 @@ promise_test((t) => {
|
| .then(([w1, w2]) => {
|
| let invocations = [];
|
| class X extends w1.HTMLElement {
|
| - adoptedCallback() { invocations.push(['adopted', this, []]); }
|
| + adoptedCallback() { invocations.push(['adopted', this, arguments]); }
|
| }
|
| w1.customElements.define('a-a', X);
|
| let a = w1.document.createElement('a-a');
|
| w2.document.adoptNode(a);
|
| - assert_array_equals_callback_invocations(invocations, [ ['adopted', a, []] ]);
|
| + assert_array_equals_callback_invocations(invocations, [ ['adopted', a, [w1.document, w2.document]] ]);
|
| });
|
| }, 'adopting a custom element to the different document should enqueue an adoptedCallback reaction');
|
|
|
|
|