WebKit icon indicating copy to clipboard operation
WebKit copied to clipboard

[WPE] Create the WebPageProxy after initializing activity state flags

Open carlosgcampos opened this issue 1 year ago โ€ข 1 comments

5c3ee221f66c8d514ff779a93def19cb4186603d

[WPE] Create the WebPageProxy after initializing activity state flags
https://bugs.webkit.org/show_bug.cgi?id=276062

Reviewed by NOBODY (OOPS!).

WebPageProxy queries the page client in the constructor to initialize
the activity flags. If we initialize the WKWPE::View flags before
creating the page we save an IPC message.

* Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp:
(WKWPE::View::View):
(WKWPE::View::createWebPage):
* Source/WebKit/UIProcess/API/wpe/WPEWebView.h:
* Source/WebKit/UIProcess/API/wpe/WPEWebViewLegacy.cpp:
(WKWPE::ViewLegacy::ViewLegacy):
* Source/WebKit/UIProcess/API/wpe/WPEWebViewPlatform.cpp:
(WKWPE::ViewPlatform::ViewPlatform):
* Source/WebKit/UIProcess/wpe/WebPreferencesWPE.cpp:
(WebKit::WebPreferences::platformInitializeStore):

https://github.com/WebKit/WebKit/commit/5c3ee221f66c8d514ff779a93def19cb4186603d

Misc iOS, visionOS, tvOS & watchOS macOS Linux Windows
โœ… ๐Ÿงช style โœ… ๐Ÿ›  ios โœ… ๐Ÿ›  mac โœ… ๐Ÿ›  wpe โœ… ๐Ÿ›  wincairo
โœ… ๐Ÿ›  ios-sim โœ… ๐Ÿ›  mac-AS-debug โœ… ๐Ÿงช wpe-wk2 โœ… ๐Ÿงช wincairo-tests
โœ… ๐Ÿงช webkitperl โœ… ๐Ÿงช ios-wk2 โœ… ๐Ÿงช api-mac โœ… ๐Ÿงช api-wpe
โœ… ๐Ÿงช ios-wk2-wpt โœ… ๐Ÿ›  wpe-cairo
โœ… ๐Ÿงช api-ios โœ… ๐Ÿงช mac-wk2 โœ… ๐Ÿ›  gtk
โœ… ๐Ÿ›  vision โœ… ๐Ÿงช mac-AS-debug-wk2 โœ… ๐Ÿงช gtk-wk2
โœ… ๐Ÿ›  vision-sim โœ… ๐Ÿงช mac-wk2-stress โœ… ๐Ÿงช api-gtk
โœ… ๐Ÿงช vision-wk2
โœ… ๐Ÿ›  tv
โœ… ๐Ÿ›  tv-sim
โœ… ๐Ÿ›  watch
โœ… ๐Ÿ›  watch-sim

carlosgcampos avatar Jul 01 '24 09:07 carlosgcampos

Committed 280567@main (6461ef8e6cca): https://commits.webkit.org/280567@main

Reviewed commits have been landed. Closing PR #30332 and removing active labels.

webkit-commit-queue avatar Jul 02 '24 07:07 webkit-commit-queue