Bug 253443
| Summary: | composedPath returns empty array for blur/focus/pagehide/pageshow events on window | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | DOM | Assignee: | Ryosuke Niwa <rniwa> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | cdumez, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://jsfiddle.net/kfL4jr3w/ | ||
Ahmad Saleem
Hi Team,
While going through StackOverflow, I came across following failing JSFiddle where Safari Technology Preview 164 is returning empty array.
Link - https://jsfiddle.net/kfL4jr3w/
StackOverflow - https://stackoverflow.com/questions/75449870/blur-event-for-composedpath-returns-empty-array-on-window-for-safari
Other browsers - Chrome Canary 113 and Firefox Nightly 112 works fine and return array while Safari returns empty array.
I tried to search for "composedPath" on bugs.webkit.org before raising this to confirm if we have any duplicate but it seems, we don't.
Just raising it so we can fix it.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
<rdar://problem/106116803>
Ryosuke Niwa
Pull request: https://github.com/WebKit/WebKit/pull/11281
EWS
Committed 261463@main (80b26f0e3d9a): <https://commits.webkit.org/261463@main>
Reviewed commits have been landed. Closing PR #11281 and removing active labels.