[webkit-reviews] review requested: [Bug 238319] Implement ServiceWorkerWindowClient.focus : [Attachment 455747] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 25 06:50:25 PDT 2022


youenn fablet <youennf at gmail.com> has asked  for review:
Bug 238319: Implement ServiceWorkerWindowClient.focus
https://bugs.webkit.org/show_bug.cgi?id=238319

Attachment 455747: Patch

https://bugs.webkit.org/attachment.cgi?id=455747&action=review




--- Comment #6 from youenn fablet <youennf at gmail.com> ---
Comment on attachment 455747
  --> https://bugs.webkit.org/attachment.cgi?id=455747
Patch

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

> Source/WebKit/UIProcess/Cocoa/UIDelegate.mm:840
> +    // FIXME: We probably need to call a delegate instead of doing this
directly here.

This is the part where I am not exactly sure what we should do.
My guess is that we should let know the application we want to switch to that
tab using a particular delegate (maybe with a default implementation if the
delegate is not implemented).
This default implementation works for me on MacOS.


More information about the webkit-reviews mailing list