Bug 284710
| Summary: | REGRESSION(287517@main): [GTK] Missing WebExtension symbols in UIProcess | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bugs-noreply, jmurphy |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=284215 | ||
Philippe Normand
WebKitBuild/GTK/Release/bin/MiniBrowser: symbol lookup error: /var/home/phil/WebKit/WebKitBuild/GTK/Release/lib/libwebkit2gtk-4.1.so.0: undefined symbol: _ZN6WebKit19WebExtensionContext18actionGetBadgeTextESt8optionalIN3WTF23ObjectIdentifierGenericINS_32WebExtensionWindowIdentifierTypeENS2_38ObjectIdentifierMainThreadAccessTraitsImEmEEES1_INS3_INS_29WebExtensionTabIdentifierTypeES6_mEEEONS2_17CompletionHandlerIFvONSt12experimental15fundamentals_v38expectedINS2_6StringESG_EEEEE
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philippe Normand
btw i noticed this on a build enabling ASan. I'm not sure if the issue is exposed otherwise...
Jamie Murphy
The only thing I can think of that would cause this issue would be the serializers, as that function (actionGetBadgeText) is only ever used in Cocoa functions, outside of a serializer.in file in Shared/Extensions. If that's the problem, it should be able to get removed on non-Cocoa builds for now.
Philippe Normand
iiuc that's the issue, those methods are not ifdeffed in the header and are implemented only for the Cocoa platforms. There might be more, actionGetBadgeText is the first undefined symbol.
now why is that showing up only for ASan builds is out of my understanding.