Unified build failure
Categories
(Core :: DOM: Service Workers, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox108 | --- | fixed |
People
(Reporter: fabrice, Assigned: saschanaz)
Details
Attachments
(1 file)
On some build machines I see unified build failures due to a missing include:
08:09:07 0:23.57 In file included from UnifiedBindings21.cpp:2:
08:09:07 0:23.57 /home/kaios-ci/Docker/kai/master/objdir-gecko/dom/bindings/PushSubscriptionOptionsBinding.cpp:214:10: error: use of undeclared identifier 'ServiceWorkerVisible'
08:09:07 0:23.57 return ServiceWorkerVisible(aCx, aObj);
Happy to test a fix if someone knows where to include ServiceWorker.h
Comment 1•2 years ago
|
||
I think this comes from
https://bugzilla.mozilla.org/show_bug.cgi?id=1776109
Assignee | ||
Comment 2•2 years ago
|
||
Oh, this is a bit tricky as PushSubscriptionOptions does not directly include ServiceWorker and thus does not include ServiceWorker.h
.
Can you try including bool ServiceWorkerVisible(JSContext* aCx, JSObject* aGlobal);
to PushSubscriptionOptions.h
and see if it works?
Reporter | ||
Comment 3•2 years ago
|
||
(In reply to Kagami :saschanaz from comment #2)
Oh, this is a bit tricky as PushSubscriptionOptions does not directly include ServiceWorker and thus does not include
ServiceWorker.h
.Can you try including
bool ServiceWorkerVisible(JSContext* aCx, JSObject* aGlobal);
toPushSubscriptionOptions.h
and see if it works?
Hi, yes I can confirm that this fix works.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
Updated•2 years ago
|
Pushed by krosylight@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c45d68ec4862 Fix unified build failure from PushSubscriptionOptions r=fabrice
Comment 6•2 years ago
|
||
bugherder |
Description
•