| Index: third_party/WebKit/LayoutTests/shadow-dom/v0/event-composed-path.html
|
| diff --git a/third_party/WebKit/LayoutTests/shadow-dom/v0/event-composed-path.html b/third_party/WebKit/LayoutTests/shadow-dom/v0/event-composed-path.html
|
| index 328e5d58a5ead5688045b23170af4baed532a6d5..c2c619bf816f79ba0e8b299f37b340ef6a3ccd1b 100644
|
| --- a/third_party/WebKit/LayoutTests/shadow-dom/v0/event-composed-path.html
|
| +++ b/third_party/WebKit/LayoutTests/shadow-dom/v0/event-composed-path.html
|
| @@ -20,9 +20,16 @@ test(() => {
|
| let n = createTestTree(test1);
|
| removeWhiteSpaceOnlyTextNodes(n.test1);
|
| let log = dispatchEventWithLog(n, n.input, new Event('my-event', { bubbles: true, compsoed: true }));
|
| + let path = ['input', 'slot', 'slot-parent', 'content', 'shadowroot-v0', 'host',
|
| + 'shadowroot-v1', 'test1'];
|
| assert_event_path_equals(log,
|
| - makeExpectedEventPathLog(
|
| - ['input', 'slot', 'slot-parent', 'content', 'shadowroot-v0', 'host',
|
| - 'shadowroot-v1', 'test1']));
|
| + [['input', 'input', null, path],
|
| + ['slot', 'input', null, path],
|
| + ['slot-parent', 'input', null, path],
|
| + ['content', 'input', null, path],
|
| + ['shadowroot-v0', 'input', null, path],
|
| + ['host', 'input', null, path],
|
| + ['shadowroot-v1', 'input', null, path],
|
| + ['test1', 'input', null, path]]);
|
| }, 'EventPath works fine with v0 insertion points & v1 slots.');
|
| </script>
|
|
|