Bug 189183

Summary: slotchange-event-bubbling.html fails in Chrome & Firefox
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Tools / TestsAssignee: Ryosuke Niwa <rniwa>
Status: RESOLVED FIXED    
Severity: Normal CC: cdumez, ggaren, koivisto, lforschler, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 189144    
Attachments:
Description Flags
Fixes the test cdumez: review+

Description Ryosuke Niwa 2018-08-30 21:38:37 PDT
There is a bug in slotchange-event-bubbling.html such that it fails in Chrome & Firefox.
We would start failing this test as well once the bug 189144 is fixed.
Comment 1 Ryosuke Niwa 2018-08-30 21:43:03 PDT
Created attachment 348600 [details]
Fixes the test
Comment 2 Chris Dumez 2018-08-31 13:32:56 PDT
Comment on attachment 348600 [details]
Fixes the test

View in context: https://bugs.webkit.org/attachment.cgi?id=348600&action=review

> LayoutTests/ChangeLog:8
> +        slotchange event is supposed to fire when a slot element is inserted and there are assinged nodes.

Typo: assinged

> LayoutTests/ChangeLog:10
> +        Firefox and Chrome implements this behavior and fails this test since the test doesn't let microstask

Typo: implements -> implement / fails -> fail

> LayoutTests/ChangeLog:13
> +        Fixed the test by manually waiting for the current microtask queue is emptied after constructing

is emptied -> to be emptied?
Comment 3 Ryosuke Niwa 2018-08-31 13:39:25 PDT
(In reply to Chris Dumez from comment #2)
> Comment on attachment 348600 [details]
> Fixes the test
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=348600&action=review
> 
> > LayoutTests/ChangeLog:8
> > +        slotchange event is supposed to fire when a slot element is inserted and there are assinged nodes.
> 
> Typo: assinged

Fixed.

> > LayoutTests/ChangeLog:10
> > +        Firefox and Chrome implements this behavior and fails this test since the test doesn't let microstask
> 
> Typo: implements -> implement / fails -> fail

Fixed.

> > LayoutTests/ChangeLog:13
> > +        Fixed the test by manually waiting for the current microtask queue is emptied after constructing
> 
> is emptied -> to be emptied?

Fixed.
Comment 4 Ryosuke Niwa 2018-08-31 13:41:59 PDT
Committed r235568: <https://trac.webkit.org/changeset/235568>
Comment 5 Radar WebKit Bug Importer 2018-08-31 13:42:17 PDT
<rdar://problem/43953435>